|
RavEngine
|
#include <SnXmlMemoryPool.h>
Public Member Functions | |
| CVariableMemoryPool (PxProfileAllocatorWrapper &inWrapper, PxU32 inMinAllocationSize=0x20) | |
| PxU8 * | MarkMem (PxU8 *inMem, TMemAllocSizeType inSize) |
| PxU8 * | allocate (PxU32 size) |
| void | deallocate (PxU8 *inData) |
| void | CheckFreeListInvariant (SVariableMemPoolNode *inNode) |
| void | AddFreeMem (PxU8 *inMemory, TMemAllocSizeType inSize) |
Manages variable sized allocations.
Keeps track of freed allocations in a insertion sorted list. Allocating new memory traverses the list linearly. This object will split nodes if the node is more than twice as large as the request memory allocation.