Fix enums bindings
Add missed bindings for enums Move some enums to class to have correct output of api.json
This commit is contained in:
parent
69017974be
commit
0fffa45158
62 changed files with 412 additions and 210 deletions
|
|
@ -2762,6 +2762,15 @@ void Viewport::_bind_methods() {
|
|||
BIND_ENUM_CONSTANT(MSAA_4X);
|
||||
BIND_ENUM_CONSTANT(MSAA_8X);
|
||||
BIND_ENUM_CONSTANT(MSAA_16X);
|
||||
|
||||
BIND_ENUM_CONSTANT(USAGE_2D);
|
||||
BIND_ENUM_CONSTANT(USAGE_2D_NO_SAMPLING);
|
||||
BIND_ENUM_CONSTANT(USAGE_3D);
|
||||
BIND_ENUM_CONSTANT(USAGE_3D_NO_EFFECTS);
|
||||
|
||||
BIND_ENUM_CONSTANT(CLEAR_MODE_ALWAYS);
|
||||
BIND_ENUM_CONSTANT(CLEAR_MODE_NEVER);
|
||||
BIND_ENUM_CONSTANT(CLEAR_MODE_ONLY_NEXT_FRAME);
|
||||
}
|
||||
|
||||
Viewport::Viewport() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue