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

Eredita: RefCounted < Object

Stato di fusione dei colori della pipeline (utilizzato da RenderingDevice).

Descrizione

Questo oggetto è utilizzato dal RenderingDevice.

Proprietà

Array[RDPipelineColorBlendStateAttachment]

attachments

[]

Color

blend_constant

Color(0, 0, 0, 1)

bool

enable_logic_op

false

LogicOperation

logic_op

0


Descrizioni delle proprietà

Array[RDPipelineColorBlendStateAttachment] attachments = [] 🔗

Gli allegati che sono fusi insieme.


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

  • void set_blend_constant(value: Color)

  • Color get_blend_constant()

Il colore costante con cui fondersi. Vedi anche RenderingDevice.draw_list_set_blend_constants().


bool enable_logic_op = false 🔗

  • void set_enable_logic_op(value: bool)

  • bool get_enable_logic_op()

Se true, esegue l'operazione logica definita in logic_op.


LogicOperation logic_op = 0 🔗

L'operazione logica da effettuare per la fusione. Efficace solo se enable_logic_op è true.