RDPipelineColorBlendState¶
继承: RefCounted < Object
管道颜色混合状态(由RenderingDevice使用)。
描述¶
此对象由RenderingDevice使用。
属性¶
|
||
|
||
|
||
|
属性说明¶
Array[RDPipelineColorBlendStateAttachment] attachments = [] 🔗
void set_attachments(value: Array[RDPipelineColorBlendStateAttachment])
Array[RDPipelineColorBlendStateAttachment] get_attachments()
混合在一起的附件。
Color blend_constant = Color(0, 0, 0, 1) 🔗
要混合的恒定颜色。另请参见RenderingDevice.draw_list_set_blend_constants()。
bool enable_logic_op = false 🔗
如果true,则执行logic_op中定义的逻辑运算。
LogicOperation logic_op = 0 🔗
void set_logic_op(value: LogicOperation)
LogicOperation get_logic_op()
为混合执行的逻辑操作。仅当enable_logic_op为true时有效。