Interface GPURenderPipelineDescriptor
interface GPURenderPipelineDescriptor {
depthStencil?: GPUDepthStencilState;
fragment?: GPUFragmentState;
label?: string;
layout: "auto" | GPUPipelineLayout;
multisample?: GPUMultisampleState;
primitive?: GPUPrimitiveState;
vertex: GPUVertexState;
}
depthStencil?: GPUDepthStencilState;
fragment?: GPUFragmentState;
label?: string;
layout: "auto" | GPUPipelineLayout;
multisample?: GPUMultisampleState;
primitive?: GPUPrimitiveState;
vertex: GPUVertexState;
}
Hierarchy
- GPUPipelineDescriptorBase
- GPURenderPipelineDescriptor (view full)
Index
Properties
Properties
Optional
depthStencil
Optional
fragment
Describes the fragment shader entry point of the pipeline and its output colors. If not map/exist|provided, the [[#no-color-output]] mode is enabled.
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.
Optional
multisample
Describes the multi-sampling properties of the pipeline.
Optional
primitive
Describes the primitive-related properties of the pipeline.
vertex
Describes the vertex shader entry point of the pipeline and its input buffer layouts.
Describes the optional depth-stencil properties, including the testing, operations, and bias.