Up to date
This page is up to date for Godot 4.2
.
If you still find outdated information, please open an issue.
RDPipelineColorBlendState¶
继承: RefCounted < Object
管线颜色混合状态(由 RenderingDevice 使用)。
描述¶
这个对象由 RenderingDevice 使用。
属性¶
|
||
|
||
|
||
|
属性说明¶
RDPipelineColorBlendStateAttachment[] attachments = []
void set_attachments ( RDPipelineColorBlendStateAttachment[] value )
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 ( LogicOperation value )
LogicOperation get_logic_op ( )
混合时执行的逻辑运算。仅在 enable_logic_op 为 true
时有效。