QFrameAllocator Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | QFrameAllocator

Qt 5.6.2 Reference Documentation

# QFrameAllocator Class

(Qt3DCore::QFrameAllocator)

- List of all members, including inherited members

## 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.

### T *QFrameAllocator::allocate()

### void *QFrameAllocator::allocateRawMemory(size_t size)

### int QFrameAllocator::allocatorPoolSize() const

### void QFrameAllocator::clear()

### void QFrameAllocator::deallocate(T *ptr)

### void QFrameAllocator::deallocateRawMemory(void *ptr, size_t size)

### bool QFrameAllocator::isEmpty() const

### uint QFrameAllocator::maxObjectSize() const

### uint QFrameAllocator::totalChunkCount() const

### void QFrameAllocator::trim()