Skip to content

Documentation / @ripl/webgpu / PipelineState

Interface: PipelineState ​

Defined in: webgpu/src/pipeline.ts:94

Holds all GPU pipeline objects and layouts needed for rendering.

Properties ​

PropertyTypeDescriptionDefined in
depthFormatGPUTextureFormatTexture format used for the depth buffer.webgpu/src/pipeline.ts:106
deviceGPUDeviceThe GPU device that owns the pipeline and its resources.webgpu/src/pipeline.ts:96
modelBindGroupLayoutGPUBindGroupLayoutBind group layout for per-model uniforms (group 1).webgpu/src/pipeline.ts:102
pipelineGPURenderPipelineThe compiled render pipeline.webgpu/src/pipeline.ts:98
presentationFormatGPUTextureFormatTexture format of the canvas presentation surface.webgpu/src/pipeline.ts:108
sampleCountnumberMSAA sample count the pipeline was created with.webgpu/src/pipeline.ts:110
sceneBindGroupLayoutGPUBindGroupLayoutBind group layout for scene-level uniforms (group 0).webgpu/src/pipeline.ts:100
textureBindGroupLayoutGPUBindGroupLayoutBind group layout for the material texture and sampler (group 2).webgpu/src/pipeline.ts:104