Interface ColorTargetState

属性 format 将由渲染通道中附件给出。

Hierarchy

  • ColorTargetState

Properties

Properties

blend?: BlendState

The blending behavior for this color target. If left undefined, disables blending for this color target.

定义如何混合到目标颜色中。

默认 undefined,表示不进行混合。

writeMask?: WriteMask

控制那些颜色分量是否可以被写入到颜色中。

[red: boolean, green: boolean, blue: boolean, alpha: boolean]

默认 [true,true,true,true]

Generated using TypeDoc