RDPipelineColorBlendState
Inherits: RefCounted < Object
Description
Section titled “Description”Pipeline color blend state (used by RenderingDevice).
This object is used by RenderingDevice.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| Array[RDPipelineColorBlendStateAttachment] | attachments |
[] |
| Color | blend_constant |
Color(0, 0, 0, 1) |
| bool | enable_logic_op |
false |
| RenderingDevice.LogicOperation | logic_op |
0 |
Property descriptions
Section titled “Property descriptions”attachments
Array[RDPipelineColorBlendStateAttachment] attachments = []
The attachments that are blended together.
blend_constant
Color blend_constant = Color(0, 0, 0, 1)
The constant color to blend with. See also RenderingDevice.draw_list_set_blend_constants().
enable_logic_op
bool enable_logic_op = false
If true, performs the logic operation defined in logic_op.
logic_op
RenderingDevice.LogicOperation logic_op = 0
The logic operation to perform for blending. Only effective if enable_logic_op is true.
