Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
Include |
#include "GPUDefragAllocator.h" |
Source |
/Engine/Source/Runtime/RHI/Private/GPUDefragAllocator.cpp |
FMemoryChunk * RelocateIntoFreeChunk
(
FRelocationStats & Stats,
FMemoryChunk * FreeChunk,
FMemoryChunk * UsedChunk
)
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
Parameter |
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) |