Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
Include |
#include "GPUDefragAllocator.h" |
Source |
/Engine/Source/Runtime/RHI/Private/GPUDefragAllocator.cpp |
FMemoryChunk * Shrink
(
FMemoryChunk * Chunk,
int64 ShrinkAmount
)
Immediately shrinks a memory chunk by moving the base address, without relocating any memory. Always succeeds.
Immediately shrinks a memory chunk by moving the base address, without relocating any memory. Always succeeds.
The new shrunken chunk
Parameter |
Description |
---|---|
Chunk |
Chunk to shrink |
ShrinkAmount |
Number of uint8s to shrink by |
Chunk |
Chunk to shrink |
ShrinkAmount |
Number of bytes to shrink by |