33 void*
reserve(
int size,
int desired_offset = -1);
flexible VRAM manager
Definition: allocator.hpp:11
void * reserve(int size, int desired_offset=-1)
The equivalent of malloc(size).
Allocator(int offset, int length)
Creates a new allocator instance.
void release(void *address)
frees the specified offset