/Engine/Source/Runtime/RHI/Public/RHIContext.h
Parameters for RHITransferResources, used to copy memory between GPUs
struct FTransferResourceParams
bool
bLockStepGPUs
Whether the GPUs must handshake before and after the transfer.
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)
FBufferRHIRef
Buffer
Or alternately, a buffer that's allocated on both GPUs.
FTransferResour...
DelayedFence
Optional pointer where fence data can be written if you want to delay waiting on the GPU fence for a resource transfer.
uint32
DestGPUIndex
The GPU index where the data will be written to.
FIntVector
Max
The max rect of the texture region to copy.
FIntVector
Min
The min rect of the texture region to copy.
FTransferResour...
PreTransferFence
Optional pointer to a fence to wait on before starting the transfer.
uint32
SrcGPUIndex
The GPU index where the data will be read from.
FTextureRHIRef
Texture
The texture which must be must be allocated on both GPUs.