![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ConcurrentLinearAllocator.h>
Public Member Functions | |
| ForElementType ()=default | |
| ~ForElementType () | |
| void | MoveToEmpty (ForElementType &Other) |
| ElementType * | GetAllocation () const |
| void | ResizeAllocation (SizeType CurrentNum, SizeType NewMax, SIZE_T NumBytesPerElement) |
| SizeType | CalculateSlackReserve (SizeType NewMax, SIZE_T NumBytesPerElement) const |
| SizeType | CalculateSlackShrink (SizeType NewMax, SizeType CurrentMax, SIZE_T NumBytesPerElement) const |
| SizeType | CalculateSlackGrow (SizeType NewMax, SizeType CurrentMax, SIZE_T NumBytesPerElement) const |
| SIZE_T | GetAllocatedSize (SizeType CurrentMax, SIZE_T NumBytesPerElement) const |
| bool | HasAllocation () const |
| SizeType | GetInitialCapacity () const |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Moves the state of another allocator into this one. Assumes that the allocator is currently empty, i.e. memory may be allocated but any existing elements have already been destructed (if necessary).
| Other | - The allocator to move the state from. This allocator should be left in a valid empty state. |
|
inline |