34 #ifndef __diguyGraphicsTexture_H
35 #define __diguyGraphicsTexture_H
40 #define CPLUSPLUS_ONLY
47 class bdiGeometryTextureFile;
180 const char* get_name();
196 const char* get_filename();
249 int get_num_components();
267 int get_contains_alpha_component();
269 #ifdef CPLUSPLUS_ONLY
310 unsigned char* get_texture_map_data();
329 int get_texture_map_data_size();
370 int get_num_included_mipmaps();
389 int get_mipmap_data_size(
int mipmap);
408 int get_mipmap_data_offset(
int mipmap);
455 const char* get_gl_format_as_string();
477 int get_dds_block_size();
541 void free_loader_memory();
556 #ifdef CPLUSPLUS_ONLY
582 virtual void build();
605 virtual void unbuild();
657 static void clear_last_bound_texture();
669 #ifdef CPLUSPLUS_ONLY
671 bdiGeometryTextureFile* get_scripted_object() {
return m_scripted_object;}
692 bdiGeometryTextureFile* m_scripted_object;
694 friend class bdiGeometryTextureFile;
695 friend class bdiGeometryFactory;