parent
248fea2a79
commit
532abf228c
|
@ -76,7 +76,7 @@ void Texture::_bind_methods() {
|
||||||
ClassDB::bind_method(D_METHOD("draw_rect_region", "canvas_item", "rect", "src_rect", "modulate", "transpose", "normal_map", "clip_uv"), &Texture::draw_rect_region, DEFVAL(Color(1, 1, 1)), DEFVAL(false), DEFVAL(Variant()), DEFVAL(true));
|
ClassDB::bind_method(D_METHOD("draw_rect_region", "canvas_item", "rect", "src_rect", "modulate", "transpose", "normal_map", "clip_uv"), &Texture::draw_rect_region, DEFVAL(Color(1, 1, 1)), DEFVAL(false), DEFVAL(Variant()), DEFVAL(true));
|
||||||
ClassDB::bind_method(D_METHOD("get_data"), &Texture::get_data);
|
ClassDB::bind_method(D_METHOD("get_data"), &Texture::get_data);
|
||||||
|
|
||||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "flags", PROPERTY_HINT_FLAGS, "Mipmaps,Repeat,Filter,Ansiotropic Linear,Convert to Linear,Mirrored Repeat,Video Surface"), "set_flags", "get_flags");
|
ADD_PROPERTY(PropertyInfo(Variant::INT, "flags", PROPERTY_HINT_FLAGS, "Mipmaps,Repeat,Filter,Anisotropic Linear,Convert to Linear,Mirrored Repeat,Video Surface"), "set_flags", "get_flags");
|
||||||
|
|
||||||
BIND_ENUM_CONSTANT(FLAGS_DEFAULT);
|
BIND_ENUM_CONSTANT(FLAGS_DEFAULT);
|
||||||
BIND_ENUM_CONSTANT(FLAG_MIPMAPS);
|
BIND_ENUM_CONSTANT(FLAG_MIPMAPS);
|
||||||
|
|
Loading…
Reference in New Issue