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 |
FMemoryChunk &42; Grow
&40;
FMemoryChunk &42; Chunk,
int64 GrowAmount
&41;
Remarks
Tries to immediately grow a memory chunk by moving the base address, without relocating any memory.
Tries to immediately grow a memory chunk by moving the base address, without relocating any memory. nullptr if it failed, otherwise the new grown chunk
Parameters
| Name | Description |
|---|---|
| Chunk | Chunk to grow |
| GrowAmount | Number of uint8s to grow by |
| Chunk | Chunk to grow |
| GrowAmount | Number of bytes to grow by |