FTransferTextureParams

Parameters for RHITransferTextures, used to copy memory between GPUs

Windows
MacOS
Linux

References

Module

RHI

Header

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

Include

#include "RHIContext.h"

Syntax

struct FTransferTextureParams

Remarks

Parameters for RHITransferTextures, used to copy memory between GPUs

Variables

Name Description

Public variable

bool

 

bLockStepGPUs

Whether the GPUs must handshake before and after the transfer.

Public variable

bool

 

bPullData

Whether the data is read by the dest GPU, or written by the src GPU (not allowed if the texture is a backbuffer)

Public variable

uint32

 

DestGPUIndex

The GPU index where the data will be written to.

Public variable

FIntVector

 

Max

The max rect of the texture region to copy.

Public variable

FIntVector

 

Min

The min rect of the texture region to copy.

Public variable

uint32

 

SrcGPUIndex

The GPU index where the data will be read from.

Public variable

FTexture2DRHIRe...

 

Texture

The texture which must be must be allocated on both GPUs.

Constructors

Name Description

Public function

FTransferTextureParams()

Public function

FTransferTextureParams

(
    FRHITexture2D* InTexture,
    const FIntRect& InRect,
    uint32 InSrcGPUIndex,
    uint32 InDestGPUIndex,
    bool InPullData,
    bool InLockStepGPUs
)

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