Interface RenderPassDescriptor

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.

colors?: null | ColorAttachment[]

List of color attachments. If null or empty, defaults to render to screen.

depthStencil?: null | TextureView

The depth/stencil attachment. Defaults to null.

Generated using TypeDoc