summaryrefslogtreecommitdiff
path: root/doc/classes/RDPipelineColorBlendState.xml
blob: 0f0e3ec75c615d8cff012fd05fbc60622b18fcbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8" ?>
<class name="RDPipelineColorBlendState" inherits="RefCounted" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
	<brief_description>
		Pipeline color blend state (used by [RenderingDevice]).
	</brief_description>
	<description>
		This object is used by [RenderingDevice].
	</description>
	<tutorials>
	</tutorials>
	<members>
		<member name="attachments" type="RDPipelineColorBlendStateAttachment[]" setter="set_attachments" getter="get_attachments" default="[]">
			The attachments that are blended together.
		</member>
		<member name="blend_constant" type="Color" setter="set_blend_constant" getter="get_blend_constant" default="Color(0, 0, 0, 1)">
			The constant color to blend with. See also [method RenderingDevice.draw_list_set_blend_constants].
		</member>
		<member name="enable_logic_op" type="bool" setter="set_enable_logic_op" getter="get_enable_logic_op" default="false">
			If [code]true[/code], performs the logic operation defined in [member logic_op].
		</member>
		<member name="logic_op" type="int" setter="set_logic_op" getter="get_logic_op" enum="RenderingDevice.LogicOperation" default="0">
			The logic operation to perform for blending. Only effective if [member enable_logic_op] is [code]true[/code].
		</member>
	</members>
</class>