D3D12_STATE_OBJECT_DESC structure (d3d12.h)

Description of a state object. Pass a value of this structure type to ID3D12Device5::CreateStateObject.

Syntax

typedef struct D3D12_STATE_OBJECT_DESC {
  D3D12_STATE_OBJECT_TYPE     Type;
  UINT                        NumSubobjects;
  const D3D12_STATE_SUBOBJECT *pSubobjects;
} D3D12_STATE_OBJECT_DESC;

Members

Type

The type of the state object.

NumSubobjects

Size of the pSubobjects array.

pSubobjects

An array of subobject definitions.

Requirements

Requirement Value
Header d3d12.h