class MemoryMgr
Defined in:
The Memory Manager class.
C4Memory.h
Definition
class MemoryMgr
Member Functions
MemoryMgr::CopyMemory |
Copies a block of memory. |
MemoryMgr::FillMemory |
Fills a block of memory with an 8-bit value. |
MemoryMgr::ClearMemory |
Clears a block of memory to zero. |
MemoryMgr::CalculatePoolSize |
Calculates the size that a pool needs to be in order to store a given number of equal-size blocks. |
Description
The MemoryMgr
class is responsible for handling memory allocation and deallocation. The Memory Manager supplies custom overrides for the new
and delete
operators that are optimized for typical allocation patterns arising in games and virtual reality software.
See Also