|
| cTextureManager (cGraphics *apGraphics, cResources *apResources) |
|
iResourceBase * | Create (const tString &asName) |
|
iTexture * | Create1D (const tString &asName, bool abUseMipMaps, bool abCompress=false, eTextureType aType=eTextureType_Normal, unsigned int alTextureSizeLevel=0) |
|
iTexture * | Create2D (const tString &asName, bool abUseMipMaps, bool abCompress=false, eTextureType aType=eTextureType_Normal, unsigned int alTextureSizeLevel=0, eTextureTarget aTarget=eTextureTarget_2D) |
|
iTexture * | CreateAnim2D (const tString &asName, bool abUseMipMaps, bool abCompress=false, eTextureType aType=eTextureType_Normal, unsigned int alTextureSizeLevel=0) |
|
iTexture * | CreateCubeMap (const tString &asName, bool abUseMipMaps, bool abCompress=false, eTextureType aType=eTextureType_Normal, unsigned int alTextureSizeLevel=0) |
|
iTexture * | CreateAttenuation (const tString &asFallOffName) |
|
void | Destroy (iResourceBase *apResource) |
|
void | Unload (iResourceBase *apResource) |
|
void | Update (float afTimeStep) |
|
| iResourceManager (cFileSearcher *apFileSearcher, LowLevelResources *apLowLevelResources, LowLevelSystem *apLowLevelSystem) |
|
iResourceBase * | GetByName (const tString &asName) |
|
iResourceBase * | GetByHandle (unsigned long alHandle) |
|
cResourceBaseIterator | GetResourceBaseIterator () |
|
void | DestroyUnused (int alMaxToKeep) |
|
virtual void | DestroyAll () |
|
◆ CreateAnim2D()
iTexture* hpl::cTextureManager::CreateAnim2D |
( |
const tString & |
asName, |
|
|
bool |
abUseMipMaps, |
|
|
bool |
abCompress = false , |
|
|
eTextureType |
aType = eTextureType_Normal , |
|
|
unsigned int |
alTextureSizeLevel = 0 |
|
) |
| |
Creates an animated texture. The name must be [name].[ext]. And then the textures in the animtion must be named [name]01.[ext], [name]02.[ext], etc
- Parameters
-
asName | |
abUseMipMaps | |
abCompress | |
aType | |
- Returns
The documentation for this class was generated from the following file: