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 |
virtual int32 Tick
&40;
FRelocationStats & Stats,
bool bPanicDefrag
&41;
Remarks
Partially defragments the memory and tries to process all async reallocation requests at the same time. Call this once per frame.
Partially defragments the memory and tries to process all async reallocation requests at the same time. Call this once per frame. Num bytes relocated.
Parameters
| Name | Description |
|---|---|
| Stats | [out] Stats |
| bPanicDefrag | If true, performs a full defrag and ignores all reallocation requests |
| Stats | [out] Stats |
| bPanicDefrag | If true, performs a full defrag and ignores all reallocation requests |