Interface ColorAttachment

Descriptor of a color attachment in a render pass.

See

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

Hierarchy

  • ColorAttachment

Properties

Properties

clear?: null | Color

The color load operation for this attachment. Defaults to null, which does not clear the buffers. If a color is specified, it represents the clear color.

The color attachment.

Generated using TypeDoc