ID3D11DmaEngineContextX::CopySubresourceRegion Method

Copies a resource region.

Syntax

public:
void CopySubresourceRegion(
         ID3D11Resource *pDstResource,
         UINT DstSubresource,
         UINT DstX,
         UINT DstY,
         UINT DstZ,
         ID3D11Resource *pSrcResource,
         UINT SrcSubresource,
         const D3D11_BOX *pSrcBox,
         UINT CopyFlags
)  

Parameters

pDstResource
Type: ID3D11Resource *

[in] The destination resource, as a pointer to an ID3D11Resource instance.

DstSubresource
Type: UINT 

[in] The destination sub-resource.

DstX
Type: UINT 

[in] The X coordinate of the destination.

DstY
Type: UINT 

[in] The Y coordinate of the destination.

DstZ
Type: UINT 

[in] The Z coordinate of the destination.

pSrcResource
Type: ID3D11Resource *

[in] The source resource, as a pointer to an ID3D11Resource instance.

SrcSubresource
Type: UINT 

[in] The source sub-resource.

pSrcBox
Type: D3D11_BOX *

[in] The source box, as a pointer to a D3D11_BOX instance.

CopyFlags
Type: UINT 

[in] Flags to control the copying. Valid values: Enter zero. Reserved for future use.

Return value

None.

Requirements

Header: Declared in d3d11_x.h (d3d11_1.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

Reference

ID3D11DmaEngineContextX Interface

ID3D11DmaEngineContextX Members