Skip to content

GPURenderBundleEncoderDescriptor

Options used to create a GPURenderBundleEncoder. See [GPURenderBundleEncoderDescriptor in the WebGPU specification](https://www.w3.org/TR/webgpu/#dictdef-gpurenderbundleencoderdescriptor).

Properties

colorFormats

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

depthReadOnly

abstract val depthReadOnly: Boolean
If true, indicates that the render bundle does not modify the depth component of the GPURenderPassDepthStencilAttachment of any render pass the render bundle is executed in. See read-only depth-stencil.

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.

stencilReadOnly

abstract val stencilReadOnly: Boolean
If true, indicates that the render bundle does not modify the stencil component of the GPURenderPassDepthStencilAttachment of any render pass the render bundle is executed in. See read-only depth-stencil.