#include "compressed_texture.h"
#include "scene/resources/bit_map.h"
Error CompressedTexture2D::_load_data(const String &p_path, int &r_width, int &r_height, Ref<Image> &image, bool &r_request_3d, bool &r_request_normal, bool &r_request_roughness, int &mipmap_limit, int p_size_limit) { … }
void CompressedTexture2D::set_path(const String &p_path, bool p_take_over) { … }
void CompressedTexture2D::_requested_3d(void *p_ud) { … }
void CompressedTexture2D::_requested_roughness(void *p_ud, const String &p_normal_path, RS::TextureDetectRoughnessChannel p_roughness_channel) { … }
void CompressedTexture2D::_requested_normal(void *p_ud) { … }
CompressedTexture2D::TextureFormatRequestCallback CompressedTexture2D::request_3d_callback = …;
CompressedTexture2D::TextureFormatRoughnessRequestCallback CompressedTexture2D::request_roughness_callback = …;
CompressedTexture2D::TextureFormatRequestCallback CompressedTexture2D::request_normal_callback = …;
Image::Format CompressedTexture2D::get_format() const { … }
Error CompressedTexture2D::load(const String &p_path) { … }
String CompressedTexture2D::get_load_path() const { … }
int CompressedTexture2D::get_width() const { … }
int CompressedTexture2D::get_height() const { … }
RID CompressedTexture2D::get_rid() const { … }
void CompressedTexture2D::draw(RID p_canvas_item, const Point2 &p_pos, const Color &p_modulate, bool p_transpose) const { … }
void CompressedTexture2D::draw_rect(RID p_canvas_item, const Rect2 &p_rect, bool p_tile, const Color &p_modulate, bool p_transpose) const { … }
void CompressedTexture2D::draw_rect_region(RID p_canvas_item, const Rect2 &p_rect, const Rect2 &p_src_rect, const Color &p_modulate, bool p_transpose, bool p_clip_uv) const { … }
bool CompressedTexture2D::has_alpha() const { … }
Ref<Image> CompressedTexture2D::get_image() const { … }
bool CompressedTexture2D::is_pixel_opaque(int p_x, int p_y) const { … }
void CompressedTexture2D::reload_from_file() { … }
void CompressedTexture2D::_validate_property(PropertyInfo &p_property) const { … }
Ref<Image> CompressedTexture2D::load_image_from_file(Ref<FileAccess> f, int p_size_limit) { … }
void CompressedTexture2D::_bind_methods() { … }
CompressedTexture2D::CompressedTexture2D() { … }
CompressedTexture2D::~CompressedTexture2D() { … }
Ref<Resource> ResourceFormatLoaderCompressedTexture2D::load(const String &p_path, const String &p_original_path, Error *r_error, bool p_use_sub_threads, float *r_progress, CacheMode p_cache_mode) { … }
void ResourceFormatLoaderCompressedTexture2D::get_recognized_extensions(List<String> *p_extensions) const { … }
bool ResourceFormatLoaderCompressedTexture2D::handles_type(const String &p_type) const { … }
String ResourceFormatLoaderCompressedTexture2D::get_resource_type(const String &p_path) const { … }
void CompressedTexture3D::set_path(const String &p_path, bool p_take_over) { … }
Image::Format CompressedTexture3D::get_format() const { … }
Error CompressedTexture3D::_load_data(const String &p_path, Vector<Ref<Image>> &r_data, Image::Format &r_format, int &r_width, int &r_height, int &r_depth, bool &r_mipmaps) { … }
Error CompressedTexture3D::load(const String &p_path) { … }
String CompressedTexture3D::get_load_path() const { … }
int CompressedTexture3D::get_width() const { … }
int CompressedTexture3D::get_height() const { … }
int CompressedTexture3D::get_depth() const { … }
bool CompressedTexture3D::has_mipmaps() const { … }
RID CompressedTexture3D::get_rid() const { … }
Vector<Ref<Image>> CompressedTexture3D::get_data() const { … }
void CompressedTexture3D::reload_from_file() { … }
void CompressedTexture3D::_validate_property(PropertyInfo &p_property) const { … }
void CompressedTexture3D::_bind_methods() { … }
CompressedTexture3D::CompressedTexture3D() { … }
CompressedTexture3D::~CompressedTexture3D() { … }
Ref<Resource> ResourceFormatLoaderCompressedTexture3D::load(const String &p_path, const String &p_original_path, Error *r_error, bool p_use_sub_threads, float *r_progress, CacheMode p_cache_mode) { … }
void ResourceFormatLoaderCompressedTexture3D::get_recognized_extensions(List<String> *p_extensions) const { … }
bool ResourceFormatLoaderCompressedTexture3D::handles_type(const String &p_type) const { … }
String ResourceFormatLoaderCompressedTexture3D::get_resource_type(const String &p_path) const { … }
void CompressedTextureLayered::set_path(const String &p_path, bool p_take_over) { … }
Image::Format CompressedTextureLayered::get_format() const { … }
Error CompressedTextureLayered::_load_data(const String &p_path, Vector<Ref<Image>> &images, int &mipmap_limit, int p_size_limit) { … }
Error CompressedTextureLayered::load(const String &p_path) { … }
String CompressedTextureLayered::get_load_path() const { … }
int CompressedTextureLayered::get_width() const { … }
int CompressedTextureLayered::get_height() const { … }
int CompressedTextureLayered::get_layers() const { … }
bool CompressedTextureLayered::has_mipmaps() const { … }
TextureLayered::LayeredType CompressedTextureLayered::get_layered_type() const { … }
RID CompressedTextureLayered::get_rid() const { … }
Ref<Image> CompressedTextureLayered::get_layer_data(int p_layer) const { … }
void CompressedTextureLayered::reload_from_file() { … }
void CompressedTextureLayered::_validate_property(PropertyInfo &p_property) const { … }
void CompressedTextureLayered::_bind_methods() { … }
CompressedTextureLayered::CompressedTextureLayered(LayeredType p_type) { … }
CompressedTextureLayered::~CompressedTextureLayered() { … }
Ref<Resource> ResourceFormatLoaderCompressedTextureLayered::load(const String &p_path, const String &p_original_path, Error *r_error, bool p_use_sub_threads, float *r_progress, CacheMode p_cache_mode) { … }
void ResourceFormatLoaderCompressedTextureLayered::get_recognized_extensions(List<String> *p_extensions) const { … }
bool ResourceFormatLoaderCompressedTextureLayered::handles_type(const String &p_type) const { … }
String ResourceFormatLoaderCompressedTextureLayered::get_resource_type(const String &p_path) const { … }