FGPUDefragAllocator::GetMemoryStats

Retrieves allocation stats.

Windows
MacOS
Linux

References

Module

RHI

Header

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

Include

#include "GPUDefragAllocator.h"

Syntax

virtual void GetMemoryStats
(
    int64 & OutAllocatedMemorySize,
    int64 & OutAvailableMemorySize,
    int64 & OutPendingMemoryAdjustment,
    int64 & OutPaddingWasteSize
)

Remarks

Retrieves allocation stats.

Parameters

Parameter

Description

OutAllocatedMemorySize

[out] Size of allocated memory

OutAvailableMemorySize

[out] Size of available memory

OutPendingMemoryAdjustment

[out] Size of pending allocation change (due to async reallocation)

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