Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FGPUDefragAllocator
Description
Frees the passed in chunk and coalesces adjacent free chunks into 'Chunk' if possible. Maint32ains the free-list order if bSortedFreeList is true.
| Name | LinkFreeChunk |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
| Include Path | #include "GPUDefragAllocator.h" |
void LinkFreeChunk
(
FMemoryChunk * Chunk
)
Parameters
| Name | Remarks |
|---|---|
| Chunk | Chunk to mark as available. |
| bSortedFreeList | If true, maintains the free-list sort order |