Bewerken

Delen via


D3D12DDIARG_ROW_MAJOR_RESOURCE_LAYOUT structure (d3d12umddi.h)

The D3D12DDIARG_ROW_MAJOR_RESOURCE_LAYOUT structure describes the layout of a row-major resource.

Syntax

typedef struct D3D12DDIARG_ROW_MAJOR_RESOURCE_LAYOUT {
  UINT RowPitch;
  UINT SlicePitch;
} D3D12DDIARG_ROW_MAJOR_RESOURCE_LAYOUT;

Members

RowPitch

The length in bytes of the pitch, or width, of one row of the resource.

SlicePitch

The distance in bytes from the beginning of one depth level to the next. Slice pitch is only used for 3D texture data as it has no meaning for the other resource types.

Requirements

Requirement Value
Header d3d12umddi.h

See also

D3D12DDIARG_CREATERESOURCE_0088