Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

OglGui::OglImageCache Class Reference

#include <OglImageCache.h>

Inheritance diagram for OglGui::OglImageCache:

Inheritance graph
[legend]
Collaboration diagram for OglGui::OglImageCache:

Collaboration graph
[legend]
List of all members.

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

ImIdPairGetImIdPair (unsigned long long id)
ImIdPairGetUnusedImIdPairWithTexSize (int texW, int texH)
void UpdateLRU (int index)
ImIdPairGetLRU ()
void Init (int size)

Private Attributes

std::list< int > mLRU
std::vector< ImIdPair * > mImages
int mCacheSize

Detailed Description

Definition at line 81 of file OglImageCache.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 12:03:55 2010 for ImpalaSrc by  doxygen 1.5.1