Optional
clearThe 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.
Optional
clearThe depth load operation. Defaults to NaN, which does not clear the buffer. If a number is specified, it represents the clear value.
Optional
clearThe stencil load operation. Defaults to NaN, which does not clear the buffer. If a number is specified, it represents the clear value.
Optional
colorsList of color attachments. If null or empty, defaults to render to screen.
Optional
depthThe depth/stencil attachment. Defaults to null.
Generated using TypeDoc
Descriptor of a Render Pass.
See
https://www.w3.org/TR/webgpu/#dictdef-gpurenderpassdescriptor