FGPUDefragAllocator::Grow

Tries to immediately grow a memory chunk by moving the base address, without relocating any memory.

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h

Include

#include "GPUDefragAllocator.h"

Source

/Engine/Source/Runtime/RHI/Private/GPUDefragAllocator.cpp

Syntax

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.

Returns

nullptr if it failed, otherwise the new grown chunk

Parameters

Parameter

Description

Chunk

Chunk to grow

GrowAmount

Number of uint8s to grow by

Chunk

Chunk to grow

GrowAmount

Number of bytes to grow by

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss