Skip to content

GPUComputePipelineDescriptor

Describes the layout and compute shader stage used to create a GPUComputePipeline.

Properties

compute

Describes the compute shader entry point of the pipeline.

label

abstract val label: String
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.