Function createComputePipelineDescriptor

  • This function create a compute pipeline descriptor that will be used to create a compute pipeline.

    Returns

    the compute pipeline descriptor.

    Parameters

    • device: GPUDevice

      GPU Device

    • csShader: string

      the WGSL compute shader

    • entry: string = 'cs_main'

      the entry point for teh compute shader

    Returns GPUComputePipelineDescriptor

Generated using TypeDoc