Diligent::CopyTextureAttribs struct

Defines copy texture command attributes.

Contents

This structure is used by IDeviceContext::CopyTexture().

Public variables

ITexture* pSrcTexture
Source texture to copy data from.
Uint32 SrcMipLevel
Mip level of the source texture to copy data from.
Uint32 SrcSlice
Array slice of the source texture to copy data from. Must be 0 for non-array textures.
const Box* pSrcBox
Source region to copy. Use nullptr to copy the entire subresource.
RESOURCE_STATE_TRANSITION_MODE SrcTextureTransitionMode
Source texture state transition mode (see Diligent::RESOURCE_STATE_TRANSITION_MODE).
ITexture* pDstTexture
Destination texture.
Uint32 DstMipLevel
Destination mip level.
Uint32 DstSlice
Destination array slice. Must be 0 for non-array textures.
Uint32 DstX
X offset on the destination subresource.
Uint32 DstY
Y offset on the destination subresource.
Uint32 DstZ
Z offset on the destination subresource.
RESOURCE_STATE_TRANSITION_MODE DstTextureTransitionMode
Destination texture state transition mode (see Diligent::RESOURCE_STATE_TRANSITION_MODE).