FGPUDefragAllocator::Tick

Partially defragments the memory and tries to process all async reallocation requests at the same time.

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

virtual int32 Tick
(
    FRelocationStats & Stats,
    bool bPanicDefrag
)

Remarks

Partially defragments the memory and tries to process all async reallocation requests at the same time. Call this once per frame.

Partially defragments the memory and tries to process all async reallocation requests at the same time. Call this once per frame.

Returns

Num bytes relocated.

Parameters

Parameter

Description

Stats

[out] Stats

bPanicDefrag

If true, performs a full defrag and ignores all reallocation requests

Stats

[out] Stats

bPanicDefrag

If true, performs a full defrag and ignores all reallocation requests

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