Navigation
API > API/Runtime > API/Runtime/RHICore
References
| Module | RHICore |
| Header | /Engine/Source/Runtime/RHICore/Public/RHICoreTransientResourceAllocator.h |
| Include | #include "RHICoreTransientResourceAllocator.h" |
Syntax
class FRHITransientPageSpanAllocator
Remarks
Allocates page spans for a resource.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRHITransientPageSpanAllocator
(
uint32 InPageCount, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Allocate
(
uint32 PageCount, |
||
| void | Deallocate
(
uint32 SpanIndex |
||
| uint32 | |||
| uint32 | GetAllocationPageCount
(
uint32 SpanIndex |
||
| uint64 | GetCapacity () |
||
| uint32 | |||
| uint64 | GetFreeSize () |
||
| uint32 | |||
| uint32 | GetPageSize () |
||
| void | GetSpanArray
(
uint32 SpanIndex, |
||
| uint64 | GetUsedSize () |
||
| bool | IsEmpty () |
||
| bool | IsFull () |
||
| void | Reset () |
Constants
| Name | Description |
|---|---|
| FreeSpanListHeadIndex | |
| FreeSpanListTailIndex | |
| InvalidIndex |