#include <TextureUtils.h>
Static Public Member Functions | |
static bool | addTextureInfo (TextureInfo *textureInfo) |
static TextureInfo * | getTextureInfo (const char *texturePath) |
static TextureInfo * | getTextureInfo (GLuint textureID) |
static void | flushUnusedTextures () |
static void | printTexturesInfo () |
static void | flushAllTextures () |
Static Private Attributes | |
static vector < TextureInfo * > | textureCollection |
Definition at line 111 of file TextureUtils.h.
bool TexturesManager::addTextureInfo | ( | TextureInfo * | textureInfo | ) | [static] |
Definition at line 1021 of file TextureUtils.cpp.
References flushUnusedTextures(), and textureCollection.
Referenced by Texture::finalizeLoading().
TextureInfo * TexturesManager::getTextureInfo | ( | const char * | texturePath | ) | [static] |
Definition at line 1031 of file TextureUtils.cpp.
References flushUnusedTextures(), and textureCollection.
Referenced by Texture::checkForRepeat(), Texture::destroy(), and Texture::setID().
TextureInfo * TexturesManager::getTextureInfo | ( | GLuint | textureID | ) | [static] |
void TexturesManager::flushUnusedTextures | ( | ) | [static] |
Definition at line 1056 of file TextureUtils.cpp.
References deleteObject, textureCollection, and Logger::writeInfoLog().
Referenced by addTextureInfo(), Texture::destroy(), and getTextureInfo().
void TexturesManager::printTexturesInfo | ( | ) | [static] |
void TexturesManager::flushAllTextures | ( | ) | [static] |
Definition at line 1085 of file TextureUtils.cpp.
References deleteObject, textureCollection, and Logger::writeInfoLog().
Referenced by GuiWrapper::~GuiWrapper().
vector< TextureInfo * > TexturesManager::textureCollection [static, private] |
Definition at line 122 of file TextureUtils.h.
Referenced by addTextureInfo(), flushAllTextures(), flushUnusedTextures(), getTextureInfo(), and printTexturesInfo().