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.

RDPipelineColorBlendState

Inherits: RefCounted < Object

Pipeline color blend state (used by RenderingDevice).

描述

This object is used by RenderingDevice.

属性

RDPipelineColorBlendStateAttachment[]

attachments

[]

Color

blend_constant

Color(0, 0, 0, 1)

bool

enable_logic_op

false

LogicOperation

logic_op

0


Property Descriptions

RDPipelineColorBlendStateAttachment[] attachments = []

The attachments that are blended together.


Color blend_constant = Color(0, 0, 0, 1)

  • void set_blend_constant ( Color value )

  • 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 ( bool value )

  • 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.