FGPUDefragAllocator::PlatformCanRelocate

Allows each platform to decide whether an allocation can be relocated at this time.

Windows
MacOS
Linux

References

Module

RHI

Header

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

Include

#include "GPUDefragAllocator.h"

Syntax

bool PlatformCanRelocate
(
    const void * Source,
    void * UserPayload
) const

Remarks

Allows each platform to decide whether an allocation can be relocated at this time.

Returns

true if the allocation can be relocated at this time

Parameters

Parameter

Description

Source

Base address of the allocation

UserPayload

User payload for the allocation

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