bool Poll(CTexturePtr &texture, VfsPath &dest, bool &ok)
Returns the result of a successful ConvertTexture call. 
 
std::deque< shared_ptr< ConversionResult > > m_ResultQueue
 
SettingsFile * LoadSettings(const VfsPath &path) const 
Load a texture conversion settings XML file. 
 
Texture conversion settings. 
 
std::vector< Match > patterns
 
pthread_mutex_t m_WorkerMutex
 
void Hash(MD5 &hash)
Append this object's state to the given hash. 
 
static void * RunThread(void *data)
 
Representation of <File> line from settings XML file. 
 
Representation of settings XML file. 
 
bool IsBusy()
Returns whether there is currently a queued request from ConvertTexture(). 
 
Texture conversion helper class. 
 
Result from worker thread. 
 
~CTextureConverter()
Destroy texture converter and wait to shut down worker thread. 
 
Request for worker thread to process. 
 
std::deque< shared_ptr< ConversionRequest > > m_RequestQueue
 
bool ConvertTexture(const CTexturePtr &texture, const VfsPath &src, const VfsPath &dest, const Settings &settings)
Begin converting a texture, using the given settings. 
 
Settings ComputeSettings(const std::wstring &filename, const std::vector< SettingsFile * > &settingsFiles) const 
Match a sequence of settings files against a given texture filename, and return the resulting setting...
 
CTextureConverter(PIVFS vfs, bool highQuality)
Construct texture converter, for use with files in the given vfs. 
 
shared_ptr< CTexture > CTexturePtr