Navigation
API > API/Runtime > API/Runtime/RHICore
References
| Module | RHICore |
| Header | /Engine/Source/Runtime/RHICore/Public/RHIPoolAllocator.h |
| Include | #include "RHIPoolAllocator.h" |
Syntax
struct FRHIPoolAllocationData
Remarks
Pool allocator internal data.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddAlias
(
FRHIPoolAllocationData* InOther |
Alias operations (NOTE: currently not accessed when pool lock is taken, needs to be fixed) | |
| uint32 | GetAlignment () |
||
| FRHIPoolAllocationData * | |||
| FRHIPoolAllocationData * | GetNext () |
Linked list getters. | |
| uint32 | GetOffset () |
||
| FRHIPoolResource * | GetOwner () |
||
| int16 | GetPoolIndex () |
||
| FRHIPoolAllocationData * | GetPrev () |
||
| uint32 | GetSize () |
Allocation data getters. | |
| void | InitAsAllocated
(
uint32 InSize, |
||
| void | InitAsFree
(
int16 InPoolIndex, |
||
| void | InitAsHead
(
int16 InPoolIndex |
Initialize options. | |
| bool | IsAllocated () |
||
| bool | IsFree () |
||
| bool | IsHead () |
Type getters. | |
| bool | IsLocked () |
Unlock can be public - no lock required. | |
| void | MarkFree
(
uint32 InPoolAlignment, |
Free block operation (TODO: make internal) | |
| void | MoveFrom
(
FRHIPoolAllocationData& InAllocated, |
||
| void | RemoveAlias () |
||
| void | Reset () |
Reset to unknown state. | |
| void | SetOwner
(
FRHIPoolResource* InOwner |
Owner getter/setter - opaque data. | |
| void | Unlock () |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EAllocationType |