FGPUDefragAllocator::RelocateIntoFreeChunk

Initiates an async relocation of an allocated chunk into a free chunk.

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 * RelocateIntoFreeChunk
(
    FRelocationStats & Stats,
    FMemoryChunk * FreeChunk,
    FMemoryChunk * UsedChunk
)

Remarks

Initiates an async relocation of an allocated chunk into a free chunk. Takes potential reallocation request into account.

Initiates an async relocation of an allocated chunk into a free chunk. Takes potential reallocation request into account.

Returns

Next Free chunk to try to fill up

Parameters

Parameter

Description

Stats

[out] Stats

FreeChunk

Destination chunk (free memory)

UsedChunk

Source chunk (allocated memory)

Stats

[out] Stats

FreeChunk

Destination chunk (free memory)

SourceChunk

Source chunk (allocated memory)

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