You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
ClassDB: Provide the enum name of integer constants
This commit is contained in:
@@ -137,9 +137,9 @@ void Shader::_bind_methods() {
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::STRING, "code", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NOEDITOR), "set_code", "get_code");
|
||||
|
||||
BIND_CONSTANT(MODE_SPATIAL);
|
||||
BIND_CONSTANT(MODE_CANVAS_ITEM);
|
||||
BIND_CONSTANT(MODE_PARTICLES);
|
||||
BIND_ENUM_CONSTANT(MODE_SPATIAL);
|
||||
BIND_ENUM_CONSTANT(MODE_CANVAS_ITEM);
|
||||
BIND_ENUM_CONSTANT(MODE_PARTICLES);
|
||||
}
|
||||
|
||||
Shader::Shader() {
|
||||
|
||||
Reference in New Issue
Block a user