![]() |
Raven Engine v0.1
|
Provides a stack-based allocator for temporary object storage. More...
#include "Raven/Core/Types.h"Classes | |
| struct | Raven::Allocation |
| Represents a single allocation record. More... | |
| class | Raven::StackAllocator< T > |
| Stack-based allocator for objects of type T. More... | |
Namespaces | |
| namespace | Raven |
Provides a stack-based allocator for temporary object storage.
StackAllocator pre-allocates a contiguous block of memory and services fixed-type allocations by bumping an offset. It supports alignment for type T and can be reset to reuse the buffer. Ideal for short-lived or frame-local allocations where free order is LIFO or full reset.