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" |
virtual void GetMemoryStats
&40;
int64 & OutAllocatedMemorySize,
int64 & OutAvailableMemorySize,
int64 & OutPendingMemoryAdjustment,
int64 & OutPaddingWasteSize
&41;
Remarks
Retrieves allocation stats.
Parameters
| Name | Description |
|---|---|
| OutAllocatedMemorySize | [out] Size of allocated memory |
| OutAvailableMemorySize | [out] Size of available memory |
| OutPendingMemoryAdjustment | [out] Size of pending allocation change (due to async reallocation) |