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 * Grow
(
FMemoryChunk * Chunk,
int64 GrowAmount
)
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 |