ID3D12GraphicsCommandList::CopyResourceX Method

Copies the entire contents of the source resource to the destination resource.

Syntax

public:
void CopyResourceX(
         ID3D12Resource *pDstResource,
         ID3D12Resource *pSrcResource,
         D3D12XBOX_COPY_FLAGS Flags
)  

Parameters

pDstResource
Type: ID3D12Resource *

[in] A pointer to the ID3D12Resource interface that represents the destination resource.

pSrcResource
Type: ID3D12Resource *

[in] A pointer to the ID3D12Resource interface that represents the source resource.

Flags
Type: D3D12XBOX_COPY_FLAGS 

Copy flags.

Return value

Type: void 

Returns nothing.

Remarks

The difference between this method and the D3D12 method CopyResource, is the addition of the Flags parameter.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

ID3D12GraphicsCommandList Interface

ID3D12GraphicsCommandList Members

D3D12XBOX_COPY_FLAGS Enumeration