Kohi Game Engine
|
The data structure for a linear allocator. More...
#include <linear_allocator.h>
Data Fields | |
u64 | total_size |
The total size of memory in the allocator. More... | |
u64 | allocated |
The amount of memory currently allocated. More... | |
void * | memory |
The internal block of memory used by the allocator. More... | |
b8 | owns_memory |
Indicates if the allocator owns the memory (meaning it performed the allocation itself) or whether it was provided by an outside source. More... | |
The data structure for a linear allocator.
u64 allocated |
The amount of memory currently allocated.
void* memory |
The internal block of memory used by the allocator.
b8 owns_memory |
Indicates if the allocator owns the memory (meaning it performed the allocation itself) or whether it was provided by an outside source.
u64 total_size |
The total size of memory in the allocator.