summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2020-01-16 10:58:45 -0800
committerclayjohn <claynjohn@gmail.com>2020-01-16 13:31:17 -0800
commit041fa57a88549dcf5d8530ab8c8990930b9508d1 (patch)
treec52da94a0b7f06683c17ab79057de9a2d68aeaf3 /servers
parentf2aa99a8e2d33e534fa3adbff2981a9c902bbf32 (diff)
Add multimesh format max for proper error checking
Diffstat (limited to 'servers')
-rw-r--r--servers/visual_server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/visual_server.h b/servers/visual_server.h
index 33a9e8d72b..6f0659357c 100644
--- a/servers/visual_server.h
+++ b/servers/visual_server.h
@@ -335,12 +335,14 @@ public:
MULTIMESH_COLOR_NONE,
MULTIMESH_COLOR_8BIT,
MULTIMESH_COLOR_FLOAT,
+ MULTIMESH_COLOR_MAX,
};
enum MultimeshCustomDataFormat {
MULTIMESH_CUSTOM_DATA_NONE,
MULTIMESH_CUSTOM_DATA_8BIT,
MULTIMESH_CUSTOM_DATA_FLOAT,
+ MULTIMESH_CUSTOM_DATA_MAX,
};
virtual void multimesh_allocate(RID p_multimesh, int p_instances, MultimeshTransformFormat p_transform_format, MultimeshColorFormat p_color_format, MultimeshCustomDataFormat p_data_format = MULTIMESH_CUSTOM_DATA_NONE) = 0;