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 |
void FreeChunk
&40;
FMemoryChunk &42; Chunk
&41;
Remarks
Marks the specified chunk as 'free' and updates tracking variables. Calls LinkFreeChunk() to coalesce adjacent free memory.
Marks the specified chunk as 'free' and updates tracking variables. Calls LinkFreeChunk() to coalesce adjacent free memory.
Parameters
| Name | Description |
|---|---|
| Chunk | Chunk to free |
| Chunk | Chunk to free |
| bMaintainSortedFreelist | If true, maintains the free-list sort order |