A frame pool.
Frame pools allow reuse of memory that changes frequently, eg. every frame.
Frame pools are grown by a given "page" size if additions to the pool go beyond the current allocation of the pool.
Initializes a new memory pool.
Destructor
Allocates memory from the pool for the given amount of elements.
Frees the pool.
Begins the next frame/generation.
The current generation of the frame pool.
See Implementation
A frame pool.
Frame pools allow reuse of memory that changes frequently, eg. every frame.
Frame pools are grown by a given "page" size if additions to the pool go beyond the current allocation of the pool.