GPUColorTargetState¶
interface GPUColorTargetState
Properties¶
blend¶
abstract val blend: GPUBlendState?
The blending behavior for this color target. If left undefined, disables blending for this color target.
format¶
abstract val format: GPUTextureFormat
The GPUTextureFormat of this color target. The pipeline will only be compatible with GPURenderPassEncoders which use a GPUTextureView of this format in the corresponding color attachment.
writeMask¶
abstract val writeMask: GPUColorWrite
Bitmask controlling which channels are are written to when drawing to this color target.