diff options
author | Chaosus <chaosus89@gmail.com> | 2019-10-01 11:51:50 +0300 |
---|---|---|
committer | Chaosus <chaosus89@gmail.com> | 2019-10-01 13:20:08 +0300 |
commit | f14bcd8cc5b05a1a31dcab6cb080252ff5adda2f (patch) | |
tree | 00ffdd8c626de51decf5e01218cf965ab013def1 /doc/classes | |
parent | a6eeb1a38e1c3e7990f5f236d045f7ff39d72be8 (diff) |
Added sampler port type for visual shaders
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/VisualShaderNode.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/classes/VisualShaderNode.xml b/doc/classes/VisualShaderNode.xml index 3e80349b13..9b0c6b2604 100644 --- a/doc/classes/VisualShaderNode.xml +++ b/doc/classes/VisualShaderNode.xml @@ -51,8 +51,11 @@ <constant name="PORT_TYPE_TRANSFORM" value="3" enum="PortType"> Transform type. Translated to [code]mat4[/code] type in shader code. </constant> - <constant name="PORT_TYPE_ICON_COLOR" value="4" enum="PortType"> - Color type. Can be used for return icon type in members dialog (see [method VisualShaderNodeCustom._get_return_icon_type]) - do not use it in other cases! + <constant name="PORT_TYPE_SAMPLER" value="4" enum="PortType"> + Sampler type. Translated to reference of sampler uniform in shader code. Can only be used for input ports in non-uniform nodes. + </constant> + <constant name="PORT_TYPE_MAX" value="5" enum="PortType"> + Represents the size of the [enum PortType] enum. </constant> </constants> </class> |