#ifndef GODOT_CPP_TEXTURELAYERED_HPP #define GODOT_CPP_TEXTURELAYERED_HPP #include #include #include #include #include "Image.hpp" #include "Resource.hpp" namespace godot { class Image; class TextureLayered : public Resource { struct ___method_bindings { godot_method_bind *mb__get_data; godot_method_bind *mb__set_data; godot_method_bind *mb_create; godot_method_bind *mb_get_depth; godot_method_bind *mb_get_flags; godot_method_bind *mb_get_format; godot_method_bind *mb_get_height; godot_method_bind *mb_get_layer_data; godot_method_bind *mb_get_width; godot_method_bind *mb_set_data_partial; godot_method_bind *mb_set_flags; godot_method_bind *mb_set_layer_data; }; static ___method_bindings ___mb; public: static void ___init_method_bindings(); static inline const char *___get_class_name() { return (const char *) "TextureLayered"; } static inline Object *___get_from_variant(Variant a) { godot_object *o = (godot_object*) a; return (o) ? (Object *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, o) : nullptr; } // enums enum Flags { FLAG_MIPMAPS = 1, FLAG_REPEAT = 2, FLAG_FILTER = 4, FLAGS_DEFAULT = 4, }; // constants // methods Dictionary _get_data() const; void _set_data(const Dictionary data); void create(const int64_t width, const int64_t height, const int64_t depth, const int64_t format, const int64_t flags = 4); int64_t get_depth() const; int64_t get_flags() const; Image::Format get_format() const; int64_t get_height() const; Ref get_layer_data(const int64_t layer) const; int64_t get_width() const; void set_data_partial(const Ref image, const int64_t x_offset, const int64_t y_offset, const int64_t layer, const int64_t mipmap = 0); void set_flags(const int64_t flags); void set_layer_data(const Ref image, const int64_t layer); }; } #endif