csTextureMMGlide
In file libs/cs3d/glide2/gl_txtmgr.h:
csTextureMMGlide represents a texture and all its mipmapped
variants
Inheritance:
Public Methods
-
csTextureMMGlide(IImageFile* image)
-
-
virtual void remap_palette_24bit(csTextureManager* new_palette)
-
This function does not really remap but it converts
the format to an ULong format suitable for 24-bit
internal texture format
-
virtual ~csTextureMMGlide()
-
Private Methods
-
virtual void convert_to_internal(csTextureManager* tex, IImageFile* imfile, unsigned char* bm)
- Convert ImageFile to internal format.
Public Methods
HighColorCache_Data* get_hicolorcache()
bool is_in_videomemory()
void set_hicolorcache(HighColorCache_Data *d)
void set_in_videomemory(bool vm)
Protected Fields
HighColorCache_Data* hicolorcache
bool in_memory
Public Fields
static bool fIgnoreLoadingErrors
Public Methods
void alloc_2dtexture(csTextureManager* tex)
void alloc_mipmaps(csTextureManager* tex)
void blend_mipmap0(csTextureManager* tex)
void compute_color_usage()
void create_mipmaps(csTextureManager* tex)
bool for_2d()
bool for_3d()
void free_image()
void free_usage_table()
const csColor& get_mean_color()
int get_mean_color_idx()
int get_num_colors()
csTexture* get_texture(int lev)
bool get_transparent()
void get_transparent(int &red, int &green, int &blue)
const RGBPalEntry& get_usage(int idx)
bool loaded_correctly()
virtual void remap_texture(csTextureManager* new_palette)
virtual void remap_texture_16(csTextureManager* new_palette)
virtual void remap_texture_32(csTextureManager* new_palette)
void set_3d2d(bool f3d, bool f2d)
void set_transparent(int red, int green, int blue)
Protected Fields
bool for2d
bool for3d
IImageFile* ifile
bool istransp
csColor mean_color
int mean_idx
int rs24
csTexture* t1
csTexture* t2
csTexture* t2d
csTexture* t3
csTexture* t4
RGBPixel transp_color
ImageColorInfo* usage
Protected Methods
void create_blended_mipmap(csTextureManager* tex, unsigned char* bm)
void create_mipmap_bitmap(csTextureManager* tex, int steps, unsigned char* bm)
Documentation
csTextureMMGlide represents a texture and all its mipmapped
variants
virtual void convert_to_internal(csTextureManager* tex, IImageFile* imfile, unsigned char* bm)
- Convert ImageFile to internal format.
csTextureMMGlide(IImageFile* image)
virtual ~csTextureMMGlide()
virtual void remap_palette_24bit(csTextureManager* new_palette)
-
This function does not really remap but it converts
the format to an ULong format suitable for 24-bit
internal texture format
- This class has no child classes.
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de