Interface GPUComputePipelineDescriptor
interface GPUComputePipelineDescriptor {
compute: GPUProgrammableStage;
label?: string;
layout: "auto" | GPUPipelineLayout;
}
compute: GPUProgrammableStage;
label?: string;
layout: "auto" | GPUPipelineLayout;
}
Hierarchy
- GPUPipelineDescriptorBase
- GPUComputePipelineDescriptor (view full)
Properties
compute
Optional
label
label?: string
The initial value of GPUObjectBase.label.
layout
The GPUPipelineLayout for this pipeline, or GPUAutoLayoutMode#"auto" to generate the pipeline layout automatically. Note: If GPUAutoLayoutMode#"auto" is used the pipeline cannot share GPUBindGroups with any other pipelines.
Describes the compute shader entry point of the pipeline.