Module |
|
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
)
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
Parameter |
Description |
---|---|
Chunk |
Chunk to grow |
GrowAmount |
Number of uint8s to grow by |
Chunk |
Chunk to grow |
GrowAmount |
Number of bytes to grow by |