Add uint type support to visual shaders

This commit is contained in:
Yuri Rubinsky
2022-12-27 20:49:11 +03:00
parent b14f7aa9f9
commit f101add78b
15 changed files with 898 additions and 50 deletions

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualShaderNodeUIntConstant" inherits="VisualShaderNodeConstant" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
An unsigned scalar integer constant to be used within the visual shader graph.
</brief_description>
<description>
Translated to [code]uint[/code] in the shader language.
</description>
<tutorials>
</tutorials>
<members>
<member name="constant" type="int" setter="set_constant" getter="get_constant" default="0">
An unsigned integer constant which represents a state of this node.
</member>
</members>
</class>