2020-04-20 02:19:21 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-07-06 08:08:05 +00:00
|
|
|
<class name="RDPipelineColorBlendState" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2020-04-20 02:19:21 +00:00
|
|
|
<brief_description>
|
2023-03-28 15:32:29 +00:00
|
|
|
Pipeline color blend state (used by [RenderingDevice]).
|
2020-04-20 02:19:21 +00:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2023-03-28 15:32:29 +00:00
|
|
|
This object is used by [RenderingDevice].
|
2020-04-20 02:19:21 +00:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<members>
|
2019-09-24 17:45:03 +00:00
|
|
|
<member name="attachments" type="RDPipelineColorBlendStateAttachment[]" setter="set_attachments" getter="get_attachments" default="[]">
|
2023-03-28 15:32:29 +00:00
|
|
|
The attachments that are blended together.
|
2020-04-24 15:43:10 +00:00
|
|
|
</member>
|
2019-09-24 17:45:03 +00:00
|
|
|
<member name="blend_constant" type="Color" setter="set_blend_constant" getter="get_blend_constant" default="Color(0, 0, 0, 1)">
|
2023-03-28 15:32:29 +00:00
|
|
|
The constant color to blend with. See also [method RenderingDevice.draw_list_set_blend_constants].
|
2020-04-20 02:19:21 +00:00
|
|
|
</member>
|
|
|
|
<member name="enable_logic_op" type="bool" setter="set_enable_logic_op" getter="get_enable_logic_op" default="false">
|
2023-03-28 15:32:29 +00:00
|
|
|
If [code]true[/code], performs the logic operation defined in [member logic_op].
|
2020-04-20 02:19:21 +00:00
|
|
|
</member>
|
|
|
|
<member name="logic_op" type="int" setter="set_logic_op" getter="get_logic_op" enum="RenderingDevice.LogicOperation" default="0">
|
2023-03-28 15:32:29 +00:00
|
|
|
The logic operation to perform for blending. Only effective if [member enable_logic_op] is [code]true[/code].
|
2020-04-20 02:19:21 +00:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
</class>
|