#include <texturetilecache.h>
◆ TextureTileCache()
Terrain::TextureTileCache::TextureTileCache |
( |
| ) |
|
|
inline |
◆ ~TextureTileCache()
Terrain::TextureTileCache::~TextureTileCache |
( |
| ) |
|
|
inline |
◆ Cache()
get tile, if invalid coord, gets the last used, otherwise, bumps the use of it
◆ Clear()
void Terrain::TextureTileCache::Clear |
( |
| ) |
|
|
inline |
◆ InsertBefore()
void Terrain::TextureTileCache::InsertBefore |
( |
Node * | node, |
|
|
Node * | newNode ) |
|
inlineprivate |
insert before another node
◆ InsertBeginning()
void Terrain::TextureTileCache::InsertBeginning |
( |
Node * | node | ) |
|
|
inlineprivate |
insert at beginning of list
◆ Remove()
void Terrain::TextureTileCache::Remove |
( |
Node * | node | ) |
|
|
inlineprivate |
detach node and fix tail & head
◆ Setup()
void Terrain::TextureTileCache::Setup |
( |
uint | tileSize, |
|
|
uint | textureSize ) |
|
inline |
◆ head
Node* Terrain::TextureTileCache::head |
|
private |
◆ lookup
◆ nodes
◆ tail
Node* Terrain::TextureTileCache::tail |
|
private |
◆ tiles
uint Terrain::TextureTileCache::tiles |
|
private |
◆ tileSize
uint Terrain::TextureTileCache::tileSize |
|
private |
The documentation for this class was generated from the following file: