Interface DefaultRenderPassDescriptor

Descriptor of a default Render Pass.

See

https://www.w3.org/TR/webgpu/#dictdef-gpurenderpassdescriptor

Hierarchy

Properties

clearColor?: null | Color

The color load operation. Only applicale to a default pass. Defaults to null, which does not clear the buffers. If a color is specified, it represents the clear color.

clearDepth?: number

The depth load operation. Defaults to NaN, which does not clear the buffer. If a number is specified, it represents the clear value.

clearStencil?: number

The stencil load operation. Defaults to NaN, which does not clear the buffer. If a number is specified, it represents the clear value.

Generated using TypeDoc