Skip to content

RDPipelineColorBlendState

Inherits: RefCounted < Object

Pipeline color blend state (used by RenderingDevice).

This object is used by RenderingDevice.

Type Name Default
Array[RDPipelineColorBlendStateAttachment] attachments []
Color blend_constant Color(0, 0, 0, 1)
bool enable_logic_op false
RenderingDevice.LogicOperation logic_op 0

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.