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 |
int32 GetLargestAvailableAllocation
&40;
int32 &42; OutNumFreeChunks
&41;
Remarks
Scans the free chunks and returns the largest size you can allocate. The largest size of all free chunks.
Parameters
| Name | Description |
|---|---|
| OutNumFreeChunks | Upon return, contains the total number of free chunks. May be nullptr. |