Copies a region of a buffer from one resource to another.
public:
void CopyBufferRegion(
ID3D12Resource *pDstBuffer,
UINT64 DstOffset,
ID3D12Resource *pSrcBuffer,
UINT64 SrcOffset,
UINT64 NumBytes
)
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.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.
ID3D12GraphicsCommandList::CopyBufferRegion