ID3D12XboxDmaCommandList::CopyBufferRegion Method

Copies a region of a buffer from one resource to another.

Syntax

public:
void CopyBufferRegion(
         ID3D12Resource *pDstBuffer,
         UINT64 DstOffset,
         ID3D12Resource *pSrcBuffer,
         UINT64 SrcOffset,
         UINT64 NumBytes
)  

Parameters

pDstBuffer
Type: ID3D12Resource *

[in] The destination resource, as a pointer to ID3D12Resource.

DstOffset
Type: UINT64 

A UINT64 offset (in bytes) into the destination resource.

pSrcBuffer
Type: ID3D12Resource *

[in] The source resource, as a pointer to ID3D12Resource.

SrcOffset
Type: UINT64 

Specifies a UINT64 offset (in bytes) into the source resource, to start the copy from.

NumBytes
Type: UINT64 

The number of bytes to copy.

Return value

None.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

ID3D12GraphicsCommandList::CopyBufferRegion

ID3D12XboxDmaCommandList Interface

ID3D12XboxDmaCommandList Members