D3D12_SUBRESOURCE_DATA structure

Describes subresource data.

Syntax

typedef struct D3D12_SUBRESOURCE_DATA {
  const void *pData;
  LONG_PTR   RowPitch;
  LONG_PTR   SlicePitch;
} D3D12_SUBRESOURCE_DATA;

Members

pData

A pointer to a memory block that contains the subresource data.

RowPitch

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

SlicePitch

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

Remarks

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

Requirements

   
Header d3d12.h

See Also

Core Structures