Inheritance diagram for Eaagles::MovingMap::TextureObject:


Public Member Functions | |
| TextureObject () | |
| virtual void | setParameters (const TexImage2DParam &aParam, GLint aEnvMode=GL_REPLACE, TexturePalette *aPalette=0) |
| void | redefine (const TexImage2DParam &aParam, GLint aEnvMode=GL_REPLACE, TexturePalette *aPalette=0) |
| void | Bind () |
| bool | hasTexName () |
Static Public Member Functions | |
| static void | preDisplay () |
| static void | postDisplay () |
Private Attributes | |
| TexImage2DParam | param |
| TexturePalette * | palette |
| GLint | envMode |
| GLuint | texName |
Classes | |
| struct | TexImage2DParam |
| Eaagles::MovingMap::TextureObject::TextureObject | ( | ) |
Constructor. Initializes parameters such as texture name, palette and mode.
| void Eaagles::MovingMap::TextureObject::setParameters | ( | const TexImage2DParam & | aParam, | |
| GLint | aEnvMode = GL_REPLACE, |
|||
| TexturePalette * | aPalette = 0 | |||
| ) | [virtual] |
Calls the redefine method.
| void Eaagles::MovingMap::TextureObject::redefine | ( | const TexImage2DParam & | aParam, | |
| GLint | aEnvMode = GL_REPLACE, |
|||
| TexturePalette * | aPalette = 0 | |||
| ) |
Resets the parameters.
| void Eaagles::MovingMap::TextureObject::Bind | ( | ) |
Binds the texture object.
| void Eaagles::MovingMap::TextureObject::preDisplay | ( | ) | [static] |
Enables GL_TEXTURE_2D to draw textured triangles/quads.
| void Eaagles::MovingMap::TextureObject::postDisplay | ( | ) | [static] |
Calls glDisable(GL_TEXTURE_2D).
| bool Eaagles::MovingMap::TextureObject::hasTexName | ( | ) | [inline] |
Returns true if the texture name is not null else returns false.
GLint Eaagles::MovingMap::TextureObject::envMode [private] |
GLuint Eaagles::MovingMap::TextureObject::texName [private] |
1.5.0