◆ HotloadFilesMap
◆ SettingsFilesMap
◆ TextureCache
◆ CTextureManagerImpl()
◆ ~CTextureManagerImpl()
CTextureManagerImpl::~CTextureManagerImpl |
( |
| ) |
|
|
inline |
◆ ConvertTexture()
void CTextureManagerImpl::ConvertTexture |
( |
const CTexturePtr & |
texture | ) |
|
|
inline |
Initiates an asynchronous conversion process, from the texture's source file to the corresponding loose cache file.
◆ CreateTexture()
◆ GenerateCachedTexture()
bool CTextureManagerImpl::GenerateCachedTexture |
( |
const VfsPath & |
sourcePath, |
|
|
VfsPath & |
archiveCachePath |
|
) |
| |
|
inline |
◆ GetAlphaGradientTexture()
const CTexturePtr & CTextureManagerImpl::GetAlphaGradientTexture |
( |
| ) |
|
|
inline |
◆ GetBlackTextureCube()
const CTexturePtr & CTextureManagerImpl::GetBlackTextureCube |
( |
| ) |
|
|
inline |
◆ GetBytesUploaded()
size_t CTextureManagerImpl::GetBytesUploaded |
( |
| ) |
const |
|
inline |
◆ GetCachedPath()
VfsPath CTextureManagerImpl::GetCachedPath |
( |
const VfsPath & |
path | ) |
const |
|
inline |
◆ GetConverterSettings()
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).
◆ GetErrorTexture()
const CTexturePtr & CTextureManagerImpl::GetErrorTexture |
( |
| ) |
|
|
inline |
◆ GetSettingsFile()
Return the (cached) settings file with the given filename, or NULL if it doesn't exist.
◆ GetTransparentTexture()
const CTexturePtr & CTextureManagerImpl::GetTransparentTexture |
( |
| ) |
|
|
inline |
◆ GetWhiteTexture()
const CTexturePtr & CTextureManagerImpl::GetWhiteTexture |
( |
| ) |
|
|
inline |
◆ LoadTexture()
void CTextureManagerImpl::LoadTexture |
( |
const CTexturePtr & |
texture, |
|
|
const VfsPath & |
path |
|
) |
| |
|
inline |
Load the given file into the texture object and upload it to OpenGL.
Assumes the file already exists.
◆ MakeProgress()
bool CTextureManagerImpl::MakeProgress |
( |
| ) |
|
|
inline |
◆ MakeUploadProgress()
◆ OnQualityChanged()
void CTextureManagerImpl::OnQualityChanged |
( |
| ) |
|
|
inline |
◆ PrepareCacheKey()
void CTextureManagerImpl::PrepareCacheKey |
( |
const CTexturePtr & |
texture, |
|
|
MD5 & |
hash, |
|
|
u32 & |
version |
|
) |
| |
|
inline |
Set up some parameters for the loose cache filename code.
◆ ReloadAllTextures()
void CTextureManagerImpl::ReloadAllTextures |
( |
| ) |
|
|
inline |
◆ ReloadChangedFile()
Status CTextureManagerImpl::ReloadChangedFile |
( |
const VfsPath & |
path | ) |
|
|
inline |
◆ ReloadChangedFileCB()
static Status CTextureManagerImpl::ReloadChangedFileCB |
( |
void * |
param, |
|
|
const VfsPath & |
path |
|
) |
| |
|
inlinestatic |
◆ TextureExists()
bool CTextureManagerImpl::TextureExists |
( |
const VfsPath & |
path | ) |
const |
|
inline |
◆ TryLoadingCached()
bool CTextureManagerImpl::TryLoadingCached |
( |
const CTexturePtr & |
texture | ) |
|
|
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.
◆ WrapBackendTexture()
◆ CTexture
◆ m_AlphaGradientTexture
◆ m_BlackTextureCube
◆ m_CacheLoader
◆ m_DefaultTexture
◆ m_Device
◆ m_ErrorTexture
◆ m_HasS3TC
bool CTextureManagerImpl::m_HasS3TC = false |
|
private |
◆ m_HotloadFiles
◆ m_PredefinedTexturesUploaded
bool CTextureManagerImpl::m_PredefinedTexturesUploaded = false |
|
private |
◆ m_SettingsFiles
◆ m_TextureCache
◆ m_TextureConverter
◆ m_TransparentTexture
◆ m_VFS
PIVFS CTextureManagerImpl::m_VFS |
|
private |
◆ m_WhiteTexture
The documentation for this class was generated from the following file: