ArrayAllocatingPolicy Class
(Qt3D::ArrayAllocatingPolicy)Allocates memory in a contiguous space trying to minimize fragmentation and cache misses. More...
Header: | #include <ArrayAllocatingPolicy> |
qmake: | QT += 3dcore |
Since: | Qt 5.5 |
Public Functions
ArrayAllocatingPolicy() | |
T * | allocateResource() |
void | releaseResource(T * r) |
void | reset() |
Detailed Description
Allocates memory in a contiguous space trying to minimize fragmentation and cache misses.
Once the maximum number of entities is reached, no more allocations can be made until some resources are released
See also QResourceManager and ListAllocatingPolicy.
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.