Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
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
时有效。