Skip to content

GPURenderPassLayout

Describes the attachment formats and sample count used by a render pass or render bundle. #### Inheritors - [`GPURenderBundleEncoderDescriptor`](../-g-p-u-render-bundle-encoder-descriptor/index.md)

Properties

colorFormats

A list of the GPUTextureFormats of the color attachments for this pass or bundle.

depthStencilFormat

The GPUTextureFormat of the depth/stencil attachment for this pass or bundle.

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).

sampleCount

abstract val sampleCount: GPUSize32
Number of samples per pixel in the attachments for this pass or bundle.