Up to date

This page is up to date for Godot 4.3. If you still find outdated information, please open an issue.

RDPipelineColorBlendStateยถ

Inherits: RefCounted < Object

Pipeline color blend state (used by RenderingDevice).

Descriptionยถ

This object is used by RenderingDevice.

Propertiesยถ

Array[RDPipelineColorBlendStateAttachment]

attachments

[]

Color

blend_constant

Color(0, 0, 0, 1)

bool

enable_logic_op

false

LogicOperation

logic_op

0


Property Descriptionsยถ

Array[RDPipelineColorBlendStateAttachment] attachments = [] ๐Ÿ”—

The attachments that are blended together.


Color blend_constant = Color(0, 0, 0, 1) ๐Ÿ”—

  • void set_blend_constant(value: Color)

  • Color get_blend_constant()

The constant color to blend with. See also RenderingDevice.draw_list_set_blend_constants.


bool enable_logic_op = false ๐Ÿ”—

  • void set_enable_logic_op(value: bool)

  • bool get_enable_logic_op()

If true, performs the logic operation defined in logic_op.


LogicOperation logic_op = 0 ๐Ÿ”—

The logic operation to perform for blending. Only effective if enable_logic_op is true.