GPUComputePipelineDescriptor¶
Describes the layout and compute shader stage used to create a GPUComputePipeline.
Properties¶
compute¶
abstract val compute: GPUProgrammableStage
Describes the compute shader entry point of the pipeline.
label¶
The initial value of GPUObjectBase.label.
See [GPUObjectDescriptorBase.label in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpuobjectdescriptorbase-label).
layout¶
abstract val layout: GPUPipelineLayout?
The GPUPipelineLayout for this pipeline, or "auto" to generate the pipeline layout automatically. Note: If "auto" is used the pipeline cannot share GPUBindGroups with any other pipelines.