D3D12_MEMCPY_DEST structure (d3d12.h)

Describes the destination of a memory copy operation.

Syntax

typedef struct D3D12_MEMCPY_DEST {
  void   *pData;
  SIZE_T RowPitch;
  SIZE_T SlicePitch;
} D3D12_MEMCPY_DEST;

Members

pData

A pointer to a memory block that receives the copied data.

RowPitch

The row pitch, or width, or physical size, in bytes, of the subresource data.

SlicePitch

The slice pitch, or width, or physical size, in bytes, of the subresource data.

Remarks

This structure is used by a number of helper methods, refer to Helper Structures and Functions for D3D12.

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures