TextureCache Class Reference
#include <EdgeBleeding.h>
Definition at line 33 of file EdgeBleeding.h.
Definition at line 36 of file EdgeBleeding.h.
38 for(
int i=0; i<cache.
size(); i++ )
39 if( cache.
at(i) == pTexture )
57 lastHit = cache.
size() - 1;
virtual void SetLocation(unsigned int iLocation)
Sets the location for the texture pool.
virtual void AddDirtyTile(const ImgTile &t)
Notifies the texture that part of it has changed.
virtual unsigned int Width(void) const
Returns the width of the texture in pixels.
const T & at(int i) const
virtual unsigned int Height(void) const
Returns the height of the texture in pixels.
Represents a texture tile inside a texture pool.
Represents a rectangle. Used to specify rectangular regions of an image.
#define MAX_TEXTURE_COUNT
virtual unsigned int Location(void) const
Gets the location for the texture pool.
The documentation for this class was generated from the following file: