Skip to content

Descriptor

optional attribs: AnyVertexAttribs

packages/typegpu/src/core/pipeline/renderPipeline.ts:223


optional depthStencil: GPUDepthStencilState

Describes the optional depth-stencil properties, including the testing, operations, and bias.

DescriptorBase.depthStencil

packages/typegpu/src/core/pipeline/renderPipeline.ts:205


optional fragment: TgpuFragmentFn<Record<string, never>, Out> | (input) => AutoFragmentOut<undefined | v4f | AnyAutoCustoms>

packages/typegpu/src/core/pipeline/renderPipeline.ts:216


optional multisample: GPUMultisampleState

Describes the multi-sampling properties of the pipeline.

DescriptorBase.multisample

packages/typegpu/src/core/pipeline/renderPipeline.ts:209


optional primitive: TgpuPrimitiveState

Describes the primitive-related properties of the pipeline.

DescriptorBase.primitive

packages/typegpu/src/core/pipeline/renderPipeline.ts:201


optional targets: AnyFragmentTargets

packages/typegpu/src/core/pipeline/renderPipeline.ts:224


vertex: TgpuVertexFn<Record<string, never>, Out> | (input) => AutoVertexOut<AnyAutoCustoms>

packages/typegpu/src/core/pipeline/renderPipeline.ts:213