Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FGPUDefragAllocator
Description
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.
| Name | FreeChunk |
| 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 FreeChunk
(
FMemoryChunk * Chunk
)
Parameters
| Name | Remarks |
|---|---|
| Chunk | Chunk to free |
| Chunk | Chunk to free |
| bMaintainSortedFreelist | If true, maintains the free-list sort order |