From f14bcd8cc5b05a1a31dcab6cb080252ff5adda2f Mon Sep 17 00:00:00 2001 From: Chaosus Date: Tue, 1 Oct 2019 11:51:50 +0300 Subject: Added sampler port type for visual shaders --- doc/classes/VisualShaderNode.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'doc/classes') 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 @@ Transform type. Translated to [code]mat4[/code] type in shader code. - - 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! + + Sampler type. Translated to reference of sampler uniform in shader code. Can only be used for input ports in non-uniform nodes. + + + Represents the size of the [enum PortType] enum. -- cgit v1.2.3