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" |
void Split
&40;
FMemoryChunk &42; BaseChunk,
int64 FirstSize
&41;
Remarks
Split allocation into two, first chunk being used and second being available. Maint32ains the free-list order if bSortedFreeList is true.
Parameters
| Name | Description |
|---|---|
| BaseChunk | Chunk to split |
| FirstSize | New size of first chunk |
| bSortedFreeList | If true, maint32ains the free-list order |