D3D12_VERSIONED_ROOT_SIGNATURE_DESC structure (d3d12.h)

Holds any version of a root signature description, and is designed to be used with serialization/deserialization functions.

Syntax

typedef struct D3D12_VERSIONED_ROOT_SIGNATURE_DESC {
  D3D_ROOT_SIGNATURE_VERSION Version;
  union {
    D3D12_ROOT_SIGNATURE_DESC  Desc_1_0;
    D3D12_ROOT_SIGNATURE_DESC1 Desc_1_1;
    D3D12_ROOT_SIGNATURE_DESC2 Desc_1_2;
  };
} D3D12_VERSIONED_ROOT_SIGNATURE_DESC;

Members

Version

Specifies one member of D3D_ROOT_SIGNATURE_VERSION that determines the contents of the union.

Desc_1_0

Specifies a D3D12_ROOT_SIGNATURE_DESC (version 1.0).

Desc_1_1

Specifies a D3D12_ROOT_SIGNATURE_DESC1 (version 1.1).

Desc_1_2

Remarks

Use this structure with the following methods.

Refer to the helper structure CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC.

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures

Root Signature Version 1.1