Ptex
|
Cache entry for allocated memory block. More...
#include <PtexCache.h>
Public Member Functions | |
PtexCachedData (void **parent, PtexCacheImpl *cache, int size) | |
void | ref () |
void | unref () |
![]() | |
bool | inuse () |
void | orphan () |
Protected Member Functions | |
void | incSize (int size) |
virtual | ~PtexCachedData () |
![]() | |
PtexLruItem (void **parent=0) | |
virtual | ~PtexLruItem () |
Protected Attributes | |
PtexCacheImpl * | _cache |
Private Attributes | |
int | _refcount |
int | _size |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static void | orphanList (T &list) |
Cache entry for allocated memory block.
Definition at line 282 of file PtexCache.h.
|
inline |
Definition at line 285 of file PtexCache.h.
|
inlineprotectedvirtual |
Definition at line 292 of file PtexCache.h.
|
inlineprotected |
Definition at line 291 of file PtexCache.h.
|
inline |
Definition at line 288 of file PtexCache.h.
Referenced by PtexReader::blendFaces(), PtexReader::getData(), PtexReader::MetaData::getEntry(), PtexReader::getFace(), PtexReader::getLevel(), PtexReader::getMetaData(), PtexReader::TiledFace::getTile(), PtexReader::TiledReducedFace::getTile(), PtexReader::readFace(), PtexReader::readLevel(), PtexReader::readMetaData(), PtexReader::TiledFace::readTile(), PtexReader::PackedFace::reduce(), and PtexReader::TiledFaceBase::reduce().
|
inline |
Definition at line 289 of file PtexCache.h.
Referenced by PtexReader::getData().
|
protected |
Definition at line 293 of file PtexCache.h.
Referenced by PtexReader::MetaData::getEntry().
|
private |
Definition at line 295 of file PtexCache.h.
|
private |
Definition at line 296 of file PtexCache.h.