|
Pyrogenesis
13997
|
Public Member Functions | |
| CTextureManagerImpl (PIVFS vfs, bool highQuality, bool disableGL) | |
| ~CTextureManagerImpl () | |
| CTexturePtr | GetErrorTexture () |
| CTexturePtr | CreateTexture (const CTextureProperties &props) |
| See CTextureManager::CreateTexture. More... | |
| void | LoadTexture (const CTexturePtr &texture, const VfsPath &path) |
| Load the given file into the texture object and upload it to OpenGL. More... | |
| void | PrepareCacheKey (const CTexturePtr &texture, MD5 &hash, u32 &version) |
| Set up some parameters for the loose cache filename code. More... | |
| bool | TryLoadingCached (const CTexturePtr &texture) |
| Attempts to load a cached version of a texture. More... | |
| void | ConvertTexture (const CTexturePtr &texture) |
| Initiates an asynchronous conversion process, from the texture's source file to the corresponding loose cache file. More... | |
| bool | GenerateCachedTexture (const VfsPath &sourcePath, VfsPath &archiveCachePath) |
| bool | MakeProgress () |
| CTextureConverter::Settings | GetConverterSettings (const CTexturePtr &texture) |
| Compute the conversion settings that apply to a given texture, by combining the textures.xml files from its directory and all parent directories (up to the VFS root). More... | |
| CTextureConverter::SettingsFile * | GetSettingsFile (const VfsPath &path) |
| Return the (cached) settings file with the given filename, or NULL if it doesn't exist. More... | |
| Status | ReloadChangedFile (const VfsPath &path) |
Static Public Member Functions | |
| static Status | ReloadChangedFileCB (void *param, const VfsPath &path) |
Private Types | |
| typedef boost::unordered_set < CTexturePtr, TPhash, TPequal_to > | TextureCache |
| typedef boost::unordered_map < VfsPath, std::set < boost::weak_ptr< CTexture > > > | HotloadFilesMap |
| typedef boost::unordered_map < VfsPath, shared_ptr < CTextureConverter::SettingsFile > > | SettingsFilesMap |
Friends | |
| class | CTexture |
Definition at line 76 of file TextureManager.cpp.
|
private |
Definition at line 501 of file TextureManager.cpp.
|
private |
Definition at line 505 of file TextureManager.cpp.
|
private |
Definition at line 495 of file TextureManager.cpp.
|
inline |
Definition at line 80 of file TextureManager.cpp.
|
inline |
Definition at line 131 of file TextureManager.cpp.
|
inline |
Initiates an asynchronous conversion process, from the texture's source file to the corresponding loose cache file.
Definition at line 289 of file TextureManager.cpp.
|
inline |
See CTextureManager::CreateTexture.
Definition at line 147 of file TextureManager.cpp.
|
inline |
Definition at line 308 of file TextureManager.cpp.
|
inline |
Compute the conversion settings that apply to a given texture, by combining the textures.xml files from its directory and all parent directories (up to the VFS root).
Definition at line 415 of file TextureManager.cpp.
|
inline |
Definition at line 139 of file TextureManager.cpp.
|
inline |
Return the (cached) settings file with the given filename, or NULL if it doesn't exist.
Definition at line 437 of file TextureManager.cpp.
|
inline |
Load the given file into the texture object and upload it to OpenGL.
Assumes the file already exists.
Definition at line 169 of file TextureManager.cpp.
|
inline |
Definition at line 332 of file TextureManager.cpp.
|
inline |
Set up some parameters for the loose cache filename code.
Definition at line 236 of file TextureManager.cpp.
Definition at line 461 of file TextureManager.cpp.
|
inlinestatic |
Definition at line 456 of file TextureManager.cpp.
|
inline |
Attempts to load a cached version of a texture.
If the texture is loaded (or there was an error), returns true. Otherwise, returns false to indicate the caller should generate the cached version.
Definition at line 253 of file TextureManager.cpp.
|
friend |
Definition at line 78 of file TextureManager.cpp.
|
private |
Definition at line 486 of file TextureManager.cpp.
|
private |
Definition at line 490 of file TextureManager.cpp.
|
private |
Definition at line 487 of file TextureManager.cpp.
|
private |
Definition at line 491 of file TextureManager.cpp.
|
private |
Definition at line 492 of file TextureManager.cpp.
|
private |
Definition at line 502 of file TextureManager.cpp.
|
private |
Definition at line 506 of file TextureManager.cpp.
|
private |
Definition at line 496 of file TextureManager.cpp.
|
private |
Definition at line 488 of file TextureManager.cpp.
|
private |
Definition at line 485 of file TextureManager.cpp.
1.8.5