#include <TextureManager.h>
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 |
GLvoid ES3D::TextureManager::deleteAllTextures | ( | GLvoid | ) | [static] |
Deletes all textures.
GLvoid ES3D::TextureManager::deleteTexture | ( | GLuint | textureName | ) | [static] |
Deletes the given texture.
textureName | the texture to delete |
ES3Denum ES3D::TextureManager::getTextureName | ( | const Texture & | texture, | |
GLuint & | textureName | |||
) | [static] |
Retrieves the texture name of a given texture.
texture | the | |
textureName | variable where to store the texture name |
ES3Denum ES3D::TextureManager::getTextureName | ( | const char *const | filename, | |
GLuint & | textureName | |||
) | [static] |
Retrieves the texture name of a given filename.
filename | the filename of the texture | |
textureName | variable where to store the texture name |
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.