summaryrefslogtreecommitdiff
path: root/doc/classes/VisualShaderNodeVarying.xml
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-12-07 15:59:34 +0100
committerkobewi <kobewi4e@gmail.com>2023-01-10 22:33:58 +0100
commitf12abece27d84af721940fb4fa6512c38b9cb51e (patch)
tree54af569322bff1b942c3feae91296cb977fa6bda /doc/classes/VisualShaderNodeVarying.xml
parent91713ced81792b10fdc9367b7f355738e5d52777 (diff)
Document all VisualShader nodes
Diffstat (limited to 'doc/classes/VisualShaderNodeVarying.xml')
-rw-r--r--doc/classes/VisualShaderNodeVarying.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/VisualShaderNodeVarying.xml b/doc/classes/VisualShaderNodeVarying.xml
index 0dbbd61f3a..0a5c5a70af 100644
--- a/doc/classes/VisualShaderNodeVarying.xml
+++ b/doc/classes/VisualShaderNodeVarying.xml
@@ -1,15 +1,19 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualShaderNodeVarying" inherits="VisualShaderNode" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
+ A visual shader node that represents a "varying" shader value.
</brief_description>
<description>
+ Varying values are shader variables that can be passed between shader functions, e.g. from Vertex shader to Fragment shader.
</description>
<tutorials>
</tutorials>
<members>
<member name="varying_name" type="String" setter="set_varying_name" getter="get_varying_name" default="&quot;[None]&quot;">
+ Name of the variable. Must be unique.
</member>
<member name="varying_type" type="int" setter="set_varying_type" getter="get_varying_type" enum="VisualShader.VaryingType" default="0">
+ Type of the variable. Determines where the variable can be accessed.
</member>
</members>
</class>