Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FGPUDefragAllocator
Description
Performs a partial defrag by shifting down memory to fill holes, in a brute-force manner. Takes consideration to async reallocations, but processes the all memory in order.
| Name | PartialDefragmentationDownshift |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
| Include Path | #include "GPUDefragAllocator.h" |
| Source | /Engine/Source/Runtime/RHI/Private/GPUDefragAllocator.cpp |
void PartialDefragmentationDownshift
(
FRelocationStats & Stats,
double StartTime
)
Parameters
| Name | Remarks |
|---|---|
| Stats | [out] Stats |
| StartTime | Start time, used for limiting the Tick() time |