summaryrefslogtreecommitdiff
path: root/doc/classes/VisualShaderNodeTexture.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/VisualShaderNodeTexture.xml')
-rw-r--r--doc/classes/VisualShaderNodeTexture.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/classes/VisualShaderNodeTexture.xml b/doc/classes/VisualShaderNodeTexture.xml
index 0c83ffffe4..17c079f385 100644
--- a/doc/classes/VisualShaderNodeTexture.xml
+++ b/doc/classes/VisualShaderNodeTexture.xml
@@ -40,14 +40,20 @@
<constant name="SOURCE_PORT" value="5" enum="Source">
Use the texture provided in the input port for this function.
</constant>
+ <constant name="SOURCE_MAX" value="6" enum="Source">
+ Represents the size of the [enum Source] enum.
+ </constant>
<constant name="TYPE_DATA" value="0" enum="TextureType">
No hints are added to the uniform declaration.
</constant>
<constant name="TYPE_COLOR" value="1" enum="TextureType">
Adds [code]hint_albedo[/code] as hint to the uniform declaration for proper sRGB to linear conversion.
</constant>
- <constant name="TYPE_NORMALMAP" value="2" enum="TextureType">
+ <constant name="TYPE_NORMAL_MAP" value="2" enum="TextureType">
Adds [code]hint_normal[/code] as hint to the uniform declaration, which internally converts the texture for proper usage as normal map.
</constant>
+ <constant name="TYPE_MAX" value="3" enum="TextureType">
+ Represents the size of the [enum TextureType] enum.
+ </constant>
</constants>
</class>