#include <frameAllocator.h>
Temporary memory pool for per-frame allocations.
In the course of rendering a frame, it is often necessary to allocate many small chunks of memory, then free them all in a batch. For instance, say we're allocating storage for some vertex calculations:
... calculations ...
FrameAllocator::setWaterMark(waterMark);
static U32 getWaterMark()
Definition frameAllocator.h:141
static void * alloc(const U32 allocSize)
Definition frameAllocator.h:95
◆ alloc()
| void * alloc |
( |
const U32 |
allocSize | ) |
|
|
inlinestatic |
◆ destroy()
◆ getHighWaterMark()
◆ getWaterMark()
◆ init()
| void init |
( |
const U32 |
frameSize | ) |
|
|
inlinestatic |
◆ setWaterMark()
| void setWaterMark |
( |
const U32 |
waterMark | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: