Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/GrowOnlySpanAllocator.h |
| Include | #include "GrowOnlySpanAllocator.h" |
Syntax
class FGrowOnlySpanAllocator
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Allocate
(
int32 Num |
Allocate a range. Returns allocated StartOffset. | |
| void | Between these calls to Free just appends the allocation to the free list, rather than trying to merge with existing allocations. | ||
| void | |||
| void | Free
(
int32 BaseOffset, |
Free an already allocated range. | |
| int32 | GetMaxSize () |
||
| int32 | |||
| int32 | |||
| bool | IsFree
(
int32 Index |
Loop over all free spans and check if Index is in any of them. |