In file libs/cs3d/common/texmem.h:

class TextureMemoryManager

The Memory manager Base Class

Inheritance:


Public Methods

virtual textMemSpace allocSpaceMem(size_t blocksize)
Allocation of space for this size
virtual void freeSpaceMem(textMemSpace entry)
Free this bloc of mem
virtual int getFragmentationState(void)
Gives an idea about the current fragmentation state The more it is, the more the mem is fragmented !
virtual bool hasFreeSpace(size_t blocksize)
Check for free space for this size

Documentation

The Memory manager Base Class
virtual bool hasFreeSpace(size_t blocksize)
Check for free space for this size

virtual textMemSpace allocSpaceMem(size_t blocksize)
Allocation of space for this size

virtual void freeSpaceMem(textMemSpace entry)
Free this bloc of mem

virtual int getFragmentationState(void)
Gives an idea about the current fragmentation state The more it is, the more the mem is fragmented !


Direct child classes:
FixedTextureMemoryManager
DummyTextureMemoryManager

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de