Class MemoryAllocator¶
Note
You have to include the header MemoryAllocator.h.
-
class
MemoryAllocator
¶ The interface to use to implement a memory allocator for InstantTerraApi
-
virtual void *
MemoryAllocator
::
Alloc
(size_t size, size_t alignment) = 0¶ Allocates a block of memory
-
virtual void *
MemoryAllocator
::
Realloc
(void *data, size_t newSize, size_t alignment) = 0¶ Reallocates a block of memory
-
virtual void
MemoryAllocator
::
Free
(void *data) = 0¶ Frees a block of memory