GPURenderPipelineDescriptor¶
interface GPURenderPipelineDescriptor : GPUPipelineDescriptorBase
Properties¶
depthStencil¶
abstract val depthStencil: GPUDepthStencilState?
Describes the optional depth-stencil properties, including the testing, operations, and bias.
fragment¶
abstract val fragment: GPUFragmentState?
Describes the fragment shader entry point of the pipeline and its output colors. If not provided, the § 23.2.8 No Color Output mode is enabled.
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.
multisample¶
abstract val multisample: GPUMultisampleState
Describes the multi-sampling properties of the pipeline.
primitive¶
abstract val primitive: GPUPrimitiveState
Describes the primitive-related properties of the pipeline.
vertex¶
abstract val vertex: GPUVertexState
Describes the vertex shader entry point of the pipeline and its input buffer layouts.