diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-01-16 23:06:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-16 23:06:20 +0100 |
commit | 669cd46495389916ebcb50bc00537b0402a0960c (patch) | |
tree | 2f80973e31eab22c0441190c4f7e267ddfac9e12 /servers | |
parent | 6fd4afa96b4d4a2af5d2caee97625a16ed18a658 (diff) | |
parent | 041fa57a88549dcf5d8530ab8c8990930b9508d1 (diff) |
Merge pull request #35215 from clayjohn/multimesh-error
Add multimesh format max for proper error checking
Diffstat (limited to 'servers')
-rw-r--r-- | servers/visual_server.h | 2 |
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; |