FRefCountVector::AllocateAt

Allocate at specific Index, which must either be larger than current max Index, or on the free list.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Util/RefCountVector.h

Include

#include "Util/RefCountVector.h"

Syntax

bool AllocateAt
(
    int Index
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss