|
| cImageManager (cFileSearcher *apFileSearcher, iLowLevelGraphics *apLowLevelGraphics, LowLevelResources *apLowLevelResources, LowLevelSystem *apLowLevelSystem) |
|
iResourceBase * | Create (const tString &asName) |
|
void | Destroy (iResourceBase *apResource) |
|
void | Unload (iResourceBase *apResource) |
|
iResourceBase * | CreateInFrame (const tString &asName, int alFrameHandle) |
|
cResourceImage * | CreateImage (const tString &asName, int alFrameHandle=-1) |
|
int | FlushAll () |
|
void | DeleteAllBitmapFrames () |
|
cResourceImage * | CreateFromBitmap (const tString &asName, Bitmap2D *apBmp, int alFrameHandle=-1) |
|
int | CreateFrame (cVector2l avSize) |
|
void | SetFrameLocked (int alHandle, bool abLocked) |
|
| 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 () |
|
virtual void | Update (float afTimeStep) |
|
◆ FlushAll()
int hpl::cImageManager::FlushAll |
( |
| ) |
|
Draws all updated content to textures. THis must be done before a loaded image can be used. Use this as unoften as possible.
- Returns
- Number of bitmaps flushes
The documentation for this class was generated from the following file: