Public API Reference |
#include <texture.h>
Inheritance diagram for aeTexture:
Public Member Functions | |
aeTexture (char *, unsigned char *, unsigned int width, unsigned int height, unsigned int bpp) | |
Create a texture. | |
unsigned char * | getData () const |
Get the texture's data. | |
char * | getName () const |
Get the texture's name. | |
unsigned int | getWidth () const |
Get the texture's width. | |
unsigned int | getHeight () const |
Get the texture's height. | |
int | getBitsPerPixel () const |
Get the BPP for the texture. | |
aeTexMode | getTexMode () const |
Get the texture mode for this texture. | |
void | setTexMode (aeTexMode) |
Set the texture mode for this texture. | |
Public Attributes | |
GLuint | t_id |
This is the texture's id. | |
Private Attributes | |
unsigned char * | t_buffer |
unsigned int | t_width |
unsigned int | t_height |
unsigned int | t_bpp |
char * | t_string |
aeTexMode | t_texmode |
Definition at line 38 of file texture.h.
|
Create a texture. Normally you don't never do this yourself, since the texture loader will do it. |
|
Get the BPP for the texture.
|
|
Get the texture's data.
|
|
Get the texture's height.
|
|
Get the texture's name.
|
|
Get the texture mode for this texture.
|
|
Get the texture's width.
|
|
Set the texture mode for this texture. Available texture modes are:
|