Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Util/RefCountVector.h |
Include |
#include "Util/RefCountVector.h" |
bool AllocateAt
(
int Index
)
Allocate at specific Index, which must either be larger than current max Index, or on the free list. If larger, all elements up to this one will be pushed onto free list. otherwise we have to do a linear search through free list. If you are doing many of these, it is likely faster to use AllocateAtUnsafe(), and then RebuildFreeList() after you are done.