#include <OglImageCache.h>
Inheritance diagram for OglGui::OglImageCache:


Public Types | |
| typedef std::pair< OGLIMAGE *, unsigned long long > | ImIdPair |
Public Member Functions | |
| OglImageCache (int size) | |
| ~OglImageCache () | |
| OGLIMAGE * | GetImage (unsigned long long id) |
| void | AddNoScalingTextured (OGLIMAGE *im, unsigned long long id) |
| void | Add (OGLIMAGE *im, unsigned long long id, bool allowReplace=false) |
Private Member Functions | |
| ImIdPair * | GetImIdPair (unsigned long long id) |
| ImIdPair * | GetUnusedImIdPairWithTexSize (int texW, int texH) |
| void | UpdateLRU (int index) |
| ImIdPair * | GetLRU () |
| void | Init (int size) |
Private Attributes | |
| std::list< int > | mLRU |
| std::vector< ImIdPair * > | mImages |
| int | mCacheSize |
Definition at line 81 of file OglImageCache.h.
1.5.1