/Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h
Contains information of a single allocation or free block.
class FMemoryChunk
uint8 *
Base
Base of chunk.
FGPUDefragAlloc...
BestFitAllocator
Allows access to FBestFitAllocator members such as FirstChunk, FirstFreeChunk and LastChunk.
bool
bIsAvailable
Whether the chunk is available.
bool
bTail
uint16
DefragCounter
Defrag counter. If this chunk failed to defrag, it won't try it again until the counter is 0.
int32
LockCount
Whether the chunk has been locked.
FMemoryChunk&#...
NextChunk
Pointer to next chunk.
FMemoryChunk&#...
NextFreeChunk
Pointer to next free chunk.
int64
OrigSize
FMemoryChunk&#...
PreviousChunk
Pointer to previous chunk.
FMemoryChunk&#...
PreviousFreeChunk
Pointer to previous free chunk.
int64
Size
Size of chunk.
TStatId
Stat
Stat associated with this allocation
uint32
SyncIndex
SyncIndex that must be exceeded before accessing the data within this chunk.
int64
SyncSize
Number of uint8s covered by the SyncIndex (starting from the beginning of the chunk).
void *
UserPayload
User payload, e.g. platform-specific texture Pointer. Only chunks with payload can be relocated.