summaryrefslogtreecommitdiff
path: root/doc/classes/VisualShaderNodeExpression.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-01-28 10:40:35 +0100
committerGitHub <noreply@github.com>2020-01-28 10:40:35 +0100
commitbb48a48d4bd71aeca40f40668493cb36ce84f98e (patch)
tree9b6299df663a79cba7c85f8fb02ba704271fe26b /doc/classes/VisualShaderNodeExpression.xml
parentcab55bbb9d2e77e9b83a7749a21aa75e9d31dbcc (diff)
parent766d1ef276044cb1a277e2283c14b7e0fa6bbc43 (diff)
Merge pull request #35654 from Chaosus/vs_docs2
Docs for some nodes in visual shader(part 2)
Diffstat (limited to 'doc/classes/VisualShaderNodeExpression.xml')
-rw-r--r--doc/classes/VisualShaderNodeExpression.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/VisualShaderNodeExpression.xml b/doc/classes/VisualShaderNodeExpression.xml
index 9ed590eb2f..e1ba1f0b20 100644
--- a/doc/classes/VisualShaderNodeExpression.xml
+++ b/doc/classes/VisualShaderNodeExpression.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualShaderNodeExpression" inherits="VisualShaderNodeGroupBase" version="3.2">
<brief_description>
+ A custom visual shader graph expression written in Godot Shading Language.
</brief_description>
<description>
+ Custom Godot Shading Language expression, with a custom amount of input and output ports.
+ The provided code is directly injected into the graph's matching shader function ([code]vertex[/code], [code]fragment[/code], or [code]light[/code]), so it cannot be used to to declare functions, varyings, uniforms, or global constants. See [VisualShaderNodeGlobalExpression] for such global definitions.
</description>
<tutorials>
</tutorials>
@@ -10,6 +13,7 @@
</methods>
<members>
<member name="expression" type="String" setter="set_expression" getter="get_expression" default="&quot;&quot;">
+ An expression in Godot Shading Language, which will be injected at the start of the graph's matching shader function ([code]vertex[/code], [code]fragment[/code], or [code]light[/code]), and thus cannot be used to declare functions, varyings, uniforms, or global constants.
</member>
</members>
<constants>