|
Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
|
Classes | |
| struct | FreeLink |
Public Member Functions | |
| void | Clear () |
| void | ClearAndZero () |
| void | Destroy () |
| bool | IsEmpty () const |
| size_t | GetUsedCount () const |
Protected Member Functions | |
| void * | AllocateImpl () |
| void | SetupLinkedList () |
| void | DeallocateImpl (size_t index) |
| void | DeallocateImpl (void *ptr) |
Protected Attributes | |
| size_t | totalMemorySize = 0 |
| size_t | chunkSize = 0 |
| size_t | usedChunkCount = 0 |
| size_t | totalChunkCount = 0 |
| FreeLink * | headFreePtr = nullptr |
| void * | memory = nullptr |
| bool | hasAllocatedOwnMemory = false |
| std::function< void(void *)> | deleteFn |