14 #ifndef __diguyGraphicsTexture_H
15 #define __diguyGraphicsTexture_H
20 #define CPLUSPLUS_ONLY
27 class bdiGeometryTextureFile;
161 const char* get_name();
173 const char* get_filename();
214 int get_num_components();
228 int get_contains_alpha_component();
230 #ifdef CPLUSPLUS_ONLY
271 unsigned char* get_texture_map_data();
286 int get_texture_map_data_size();
319 int get_num_included_mipmaps();
334 int get_mipmap_data_size(
int mipmap);
349 int get_mipmap_data_offset(
int mipmap);
392 const char* get_gl_format_as_string();
410 int get_dds_block_size();
462 void free_loader_memory();
477 #ifdef CPLUSPLUS_ONLY
503 virtual void build();
526 virtual void unbuild();
578 static void clear_last_bound_texture();
590 #ifdef CPLUSPLUS_ONLY
592 bdiGeometryTextureFile* get_scripted_object() {
return m_scripted_object;}
613 bdiGeometryTextureFile* m_scripted_object;
615 friend class bdiGeometryTextureFile;
616 friend class bdiGeometryFactory;