RDPipelineColorBlendState

继承: RefCounted < Object

管道颜色混合状态(由RenderingDevice使用)。

描述

此对象由RenderingDevice使用。

属性


属性说明

Array[RDPipelineColorBlendStateAttachment] attachments = [] 🔗

混合在一起的附件。


Color blend_constant = Color(0, 0, 0, 1) 🔗

  • void set_blend_constant(value: Color)

  • Color get_blend_constant()

要混合的恒定颜色。另请参见RenderingDevice.draw_list_set_blend_constants()


bool enable_logic_op = false 🔗

  • void set_enable_logic_op(value: bool)

  • bool get_enable_logic_op()

如果true,则执行logic_op中定义的逻辑运算。


LogicOperation logic_op = 0 🔗

为混合执行的逻辑操作。仅当enable_logic_optrue时有效。