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 使用。
屬性
|
||
|
||
|
||
|
屬性說明
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 時有效。