Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FGPUDefragAllocator
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
| Include | #include "GPUDefragAllocator.h" |
| Source | /Engine/Source/Runtime/RHI/Private/GPUDefragAllocator.cpp |
FMemoryChunk &42; RelocateIntoFreeChunk
&40;
FRelocationStats & Stats,
FMemoryChunk &42; FreeChunk,
FMemoryChunk &42; UsedChunk
&41;
Remarks
Initiates an async relocation of an allocated chunk into a free chunk. Takes potential reallocation request into account.
Initiates an async relocation of an allocated chunk into a free chunk. Takes potential reallocation request into account. Next Free chunk to try to fill up
Parameters
| Name | Description |
|---|---|
| Stats | [out] Stats |
| FreeChunk | Destination chunk (free memory) |
| UsedChunk | Source chunk (allocated memory) |
| Stats | [out] Stats |
| FreeChunk | Destination chunk (free memory) |
| SourceChunk | Source chunk (allocated memory) |