ES3D::TextureManager Class Reference

#include <TextureManager.h>

List of all members.

Static Public Member Functions

static ES3Denum getTextureName (const char *const filename, GLuint &textureName)
static ES3Denum getTextureName (const Texture &texture, GLuint &textureName)
static GLvoid deleteTexture (GLuint textureName)
static GLvoid deleteAllTextures (GLvoid)

Static Public Attributes

static GLuint width = 0
static GLuint height = 0
static GLenum format = 0


Detailed Description

Texture manager. Creates textures from a given filename.


Member Function Documentation

GLvoid ES3D::TextureManager::deleteAllTextures ( GLvoid   )  [static]

Deletes all textures.

GLvoid ES3D::TextureManager::deleteTexture ( GLuint  textureName  )  [static]

Deletes the given texture.

Parameters:
textureName the texture to delete

ES3Denum ES3D::TextureManager::getTextureName ( const Texture texture,
GLuint &  textureName 
) [static]

Retrieves the texture name of a given texture.

Parameters:
texture the
textureName variable where to store the texture name
Returns:
error code

ES3Denum ES3D::TextureManager::getTextureName ( const char *const   filename,
GLuint &  textureName 
) [static]

Retrieves the texture name of a given filename.

Parameters:
filename the filename of the texture
textureName variable where to store the texture name
Returns:
error code


Member Data Documentation

GLenum ES3D::TextureManager::format = 0 [static]

Format of the last pixel data.

GLuint ES3D::TextureManager::height = 0 [static]

Height of the last image.

GLuint ES3D::TextureManager::width = 0 [static]

Width of the last image.


The documentation for this class was generated from the following files:
Generated on Sat May 10 16:30:56 2008 for ES 3D Game SDK Documentation by  doxygen 1.4.7