Interface ColorTargetStates

Descriptor of the color target states.

See

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

Hierarchy

  • ColorTargetStates

Properties

blendAlpha?: BlendComponent

Blend component for RGB color.

blendColor?: BlendComponent

Blend component for RGB color.

targets?: null | ColorTargetState[]

The render targets for offscreen pass. Defaults to null.

writeMask?: ColorWrite

Color-channels to write. Defaults to All

Generated using TypeDoc