#include <TextureManager.h>
|
static bool | CanLoad (const std::string &texturePath) |
| Returns true if the texture manager can load this texture. More...
|
|
◆ ilistUnused
◆ ivecTextures
◆ CGUITextureManager()
CGUITextureManager::CGUITextureManager |
( |
void |
| ) |
|
◆ ~CGUITextureManager()
CGUITextureManager::~CGUITextureManager |
( |
void |
| ) |
|
|
virtual |
◆ AddTexturePath()
void CGUITextureManager::AddTexturePath |
( |
const std::string & |
texturePath | ) |
|
Add a new path to the paths to check when loading media.
◆ CanLoad()
bool CGUITextureManager::CanLoad |
( |
const std::string & |
texturePath | ) |
|
|
static |
Returns true if the texture manager can load this texture.
◆ Cleanup()
void CGUITextureManager::Cleanup |
( |
| ) |
|
◆ Dump()
void CGUITextureManager::Dump |
( |
| ) |
const |
◆ Flush()
void CGUITextureManager::Flush |
( |
| ) |
|
◆ FreeUnusedTextures()
void CGUITextureManager::FreeUnusedTextures |
( |
unsigned int |
timeDelay = 0 | ) |
|
Free textures (called from app thread only)
◆ GetBundledTexturesFromPath()
void CGUITextureManager::GetBundledTexturesFromPath |
( |
const std::string & |
texturePath, |
|
|
std::vector< std::string > & |
items |
|
) |
| |
◆ GetMemoryUsage()
unsigned int CGUITextureManager::GetMemoryUsage |
( |
| ) |
const |
◆ GetTexturePath()
std::string CGUITextureManager::GetTexturePath |
( |
const std::string & |
textureName, |
|
|
bool |
directory = false |
|
) |
| |
◆ HasTexture()
bool CGUITextureManager::HasTexture |
( |
const std::string & |
textureName, |
|
|
std::string * |
path = NULL , |
|
|
int * |
bundle = NULL , |
|
|
int * |
size = NULL |
|
) |
| |
◆ Load()
const CTextureArray & CGUITextureManager::Load |
( |
const std::string & |
strTextureName, |
|
|
bool |
checkBundleOnly = false |
|
) |
| |
◆ ReleaseHwTexture()
void CGUITextureManager::ReleaseHwTexture |
( |
unsigned int |
texture | ) |
|
◆ ReleaseTexture()
void CGUITextureManager::ReleaseTexture |
( |
const std::string & |
strTextureName, |
|
|
bool |
immediately = false |
|
) |
| |
◆ RemoveTexturePath()
void CGUITextureManager::RemoveTexturePath |
( |
const std::string & |
texturePath | ) |
|
Remove a path from the paths to check when loading media.
◆ SetTexturePath()
void CGUITextureManager::SetTexturePath |
( |
const std::string & |
texturePath | ) |
|
Set a single path as the path to check when loading media (clear then add)
◆ m_section
◆ m_TexBundle
◆ m_texturePaths
std::vector<std::string> CGUITextureManager::m_texturePaths |
|
protected |
◆ m_unusedHwTextures
std::vector<unsigned int> CGUITextureManager::m_unusedHwTextures |
|
protected |
◆ m_unusedTextures
std::list<std::pair<CTextureMap*, unsigned int> > CGUITextureManager::m_unusedTextures |
|
protected |
◆ m_vecTextures
std::vector<CTextureMap*> CGUITextureManager::m_vecTextures |
|
protected |
The documentation for this class was generated from the following files: