summaryrefslogtreecommitdiff
path: root/doc/classes/VisualShaderNodeVarying.xml
blob: 0a5c5a70afe26ef4739b8f84fd3042f606411240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>