QFrameAllocator Class
(Qt3DCore::QFrameAllocator)Public Functions
QFrameAllocator(uint maxObjectSize, uint alignment = 16, uint pageSize = 128) | |
~QFrameAllocator() | |
T * | allocate() |
void * | allocateRawMemory(size_t size) |
int | allocatorPoolSize() const |
void | clear() |
void | deallocate(T *ptr) |
void | deallocateRawMemory(void *ptr, size_t size) |
bool | isEmpty() const |
uint | maxObjectSize() const |
uint | totalChunkCount() const |
void | trim() |
Member Function Documentation
QFrameAllocator::QFrameAllocator(uint maxObjectSize, uint alignment = 16, uint pageSize = 128)
Default constructs an instance of QFrameAllocator.
QFrameAllocator::~QFrameAllocator()
Destroys the instance of QFrameAllocator.