diff options
author | Yuri Rubinsky <chaosus89@gmail.com> | 2022-12-27 20:49:11 +0300 |
---|---|---|
committer | Yuri Rubinsky <chaosus89@gmail.com> | 2023-01-06 10:35:25 +0300 |
commit | f101add78beb152b4c5ecd735534e9d462bbadaa (patch) | |
tree | 358f7abefc01c5769f8e59c75cc8fe1fb71ce92f /doc/classes/VisualShaderNodeUIntFunc.xml | |
parent | b14f7aa9f92ff44135c283a9c88dab5ef9136d64 (diff) |
Add `uint` type support to visual shaders
Diffstat (limited to 'doc/classes/VisualShaderNodeUIntFunc.xml')
-rw-r--r-- | doc/classes/VisualShaderNodeUIntFunc.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/classes/VisualShaderNodeUIntFunc.xml b/doc/classes/VisualShaderNodeUIntFunc.xml new file mode 100644 index 0000000000..c0c591304a --- /dev/null +++ b/doc/classes/VisualShaderNodeUIntFunc.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="VisualShaderNodeUIntFunc" inherits="VisualShaderNode" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + An unsigned scalar integer function to be used within the visual shader graph. + </brief_description> + <description> + Accept an unsigned integer scalar ([code]x[/code]) to the input port and transform it according to [member function]. + </description> + <tutorials> + </tutorials> + <members> + <member name="function" type="int" setter="set_function" getter="get_function" enum="VisualShaderNodeUIntFunc.Function" default="0"> + A function to be applied to the scalar. See [enum Function] for options. + </member> + </members> + <constants> + <constant name="FUNC_NEGATE" value="0" enum="Function"> + Negates the [code]x[/code] using [code]-(x)[/code]. + </constant> + <constant name="FUNC_BITWISE_NOT" value="1" enum="Function"> + Returns the result of bitwise [code]NOT[/code] operation on the integer. Translates to [code]~a[/code] in the Godot Shader Language. + </constant> + <constant name="FUNC_MAX" value="2" enum="Function"> + Represents the size of the [enum Function] enum. + </constant> + </constants> +</class> |