D3D12_SUBRESOURCE_INFO structure (d3d12.h)

Describes subresource data.

Syntax

typedef struct D3D12_SUBRESOURCE_INFO {
  UINT64 Offset;
  UINT   RowPitch;
  UINT   DepthPitch;
} D3D12_SUBRESOURCE_INFO;

Members

Offset

Offset, in bytes, between the start of the parent resource and this subresource.

RowPitch

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

DepthPitch

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

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures