FDynamicRHI::RHITransferTexture

FlushType: Flush RHI Thread.

Windows
MacOS
Linux

References

Module

RHI

Header

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

Include

#include "DynamicRHI.h"

Syntax

virtual void RHITransferTexture
(
    FRHITexture2D * Texture,
    FIntRect Rect,
    uint32 SrcGPUIndex,
    uint32 DestGPUIndex,
    bool PullData
)

Remarks

Synchronizes the content of a texture resource between two GPUs using a copy operation.

Parameters

Parameter

Description

Texture

the texture to synchronize.

Rect

the rectangle area to update.

SrcGPUIndex

the index of the gpu which content will be red from

DestGPUIndex

the index of the gpu which content will be updated.

PullData

whether the source writes the data to the dest, or the dest reads the data from the source.

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