Aller au contenu

GPURenderPipelineDescriptor

Describes the layout and programmable stages and fixed-function state of a GPURenderPipeline.

Properties

depthStencil

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

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.

multisample

Describes the multi-sampling properties of the pipeline.

primitive

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.