ID3D11DmaEngineContextX::CopyResource Method

Copies a resource.

Syntax

public:
void CopyResource(
         ID3D11Resource *pDstResource,
         ID3D11Resource *pSrcResource,
         UINT CopyFlags
)  

Parameters

pDstResource
Type: ID3D11ResourceĀ *

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

pSrcResource
Type: ID3D11ResourceĀ *

[in] The source resource to copy from, as a pointer to an ID3D11Resource 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