Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FGPUDefragAllocator
Description
Split allocation into two, first chunk being used and second being available. Maint32ains the free-list order if bSortedFreeList is true.
| Name | Split |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
| Include Path | #include "GPUDefragAllocator.h" |
void Split
(
FMemoryChunk * BaseChunk,
int64 FirstSize
)
Parameters
| Name | Remarks |
|---|---|
| BaseChunk | Chunk to split |
| FirstSize | New size of first chunk |
| bSortedFreeList | If true, maint32ains the free-list order |