FGPUDefragAllocator::PlatformRelocate

Copy memory from one location to another.

Windows
MacOS
Linux

References

Module

RHI

Header

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

Include

#include "GPUDefragAllocator.h"

Syntax

void PlatformRelocate
(
    void * Dest,
    const void * Source,
    int64 Size,
    void * UserPayload
)

Remarks

Copy memory from one location to another. If it returns false, the defragmentation process will assume the memory is not relocatable and keep it in place.

Source and destination may overlap.

Parameters

Parameter

Description

Dest

Destination memory start address

Source

Source memory start address

Size

Number of uint8s to copy

UserPayload

User payload for this 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