aboutsummaryrefslogtreecommitdiff
path: root/servers/visual/shader_language.h
diff options
context:
space:
mode:
authorJuan Linietsky2018-05-07 14:30:44 -0300
committerGitHub2018-05-07 14:30:44 -0300
commit0db4c576f1080bdb8819d2f83c9c01ba87d85a12 (patch)
treef12d4f753d7812d0e7343cbab91965b3a4ca6498 /servers/visual/shader_language.h
parent8c30337565326f313e398f6428eda5cb17614f14 (diff)
parent5b50685b38bf527dff5a816ce4505a32ef682a9e (diff)
downloadgodot-0db4c576f1080bdb8819d2f83c9c01ba87d85a12.tar.gz
godot-0db4c576f1080bdb8819d2f83c9c01ba87d85a12.tar.zst
godot-0db4c576f1080bdb8819d2f83c9c01ba87d85a12.zip
Diffstat (limited to 'servers/visual/shader_language.h')
-rw-r--r--servers/visual/shader_language.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual/shader_language.h b/servers/visual/shader_language.h
index 2e3881179..720511e18 100644
--- a/servers/visual/shader_language.h
+++ b/servers/visual/shader_language.h
@@ -533,6 +533,7 @@ public:
static bool convert_constant(ConstantNode *p_constant, DataType p_to_type, ConstantNode::Value *p_value = NULL);
static DataType get_scalar_type(DataType p_type);
+ static int get_cardinality(DataType p_type);
static bool is_scalar_type(DataType p_type);
static bool is_sampler_type(DataType p_type);