![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RHICoreTransientResourceAllocator.h>
Public Member Functions | |
| FRHITransientPageSpanAllocator (uint32 InPageCount, uint32 InPageSize) | |
| RHICORE_API void | Reset () |
| RHICORE_API bool | Allocate (FRHITransientResource *Resource, const FRHITransientAllocationFences &Fences, uint32 PageCount, uint32 &NumPagesAllocated, uint32 &OutSpanIndex) |
| RHICORE_API void | Deallocate (FRHITransientResource *Resource, const FRHITransientAllocationFences &Fences, uint32 SpanIndex) |
| RHICORE_API void | Flush () |
| template<typename SpanArrayType > | |
| void | GetSpanArray (uint32 SpanIndex, SpanArrayType &OutPageSpans) const |
| uint32 | GetAllocationCount () const |
| uint32 | GetFreePageCount () const |
| uint64 | GetUsedSize () const |
| uint64 | GetFreeSize () const |
| RHICORE_API uint32 | GetAllocationPageCount (uint32 SpanIndex) const |
| uint32 | GetMaxSpanCount () const |
| uint32 | GetPageSize () const |
| uint64 | GetCapacity () const |
| bool | IsFull () const |
| bool | IsEmpty () const |
Allocates page spans for a resource.
|
inline |
| bool FRHITransientPageSpanAllocator::Allocate | ( | FRHITransientResource * | Resource, |
| const FRHITransientAllocationFences & | Fences, | ||
| uint32 | PageCount, | ||
| uint32 & | NumPagesAllocated, | ||
| uint32 & | OutSpanIndex | ||
| ) |
| void FRHITransientPageSpanAllocator::Deallocate | ( | FRHITransientResource * | Resource, |
| const FRHITransientAllocationFences & | Fences, | ||
| uint32 | SpanIndex | ||
| ) |
| void FRHITransientPageSpanAllocator::Flush | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void FRHITransientPageSpanAllocator::Reset | ( | ) |