CD3DX12_ROOT_SIGNATURE_DESC structure

A helper structure to enable easy initialization of a D3D12_ROOT_SIGNATURE_DESC structure.

Syntax

struct CD3DX12_ROOT_SIGNATURE_DESC  : public D3D12_ROOT_SIGNATURE_DESC{
       CD3DX12_ROOT_SIGNATURE_DESC();
       explicit CD3DX12_ROOT_SIGNATURE_DESC(const D3D12_ROOT_SIGNATURE_DESC &o);
       CD3DX12_ROOT_SIGNATURE_DESC(UINT numParameters, const D3D12_ROOT_PARAMETER* _pParameters, UINT numStaticSamplers = 0, const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL, D3D12_ROOT_SIGNATURE_FLAGS flags = D3D12_ROOT_SIGNATURE_FLAG_NONE);
       CD3DX12_ROOT_SIGNATURE_DESC(CD3DX12_DEFAULT);
  void inline Init(UINT numParameters, const D3D12_ROOT_PARAMETER* _pParameters, UINT numStaticSamplers = 0, const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL, D3D12_ROOT_SIGNATURE_FLAGS flags = D3D12_ROOT_SIGNATURE_FLAG_NONE);
  void static inline Init(D3D12_ROOT_SIGNATURE_DESC &desc, UINT numParameters, const D3D12_ROOT_PARAMETER* _pParameters, UINT numStaticSamplers = 0, const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL, D3D12_ROOT_SIGNATURE_FLAGS flags = D3D12_ROOT_SIGNATURE_FLAG_NONE);
};

Members

CD3DX12_ROOT_SIGNATURE_DESC()

Creates a new, uninitialized, instance of a CD3DX12_ROOT_SIGNATURE_DESC.

explicit CD3DX12_ROOT_SIGNATURE_DESC(const D3D12_ROOT_SIGNATURE_DESC &o)

Creates a new instance of a CD3DX12_ROOT_SIGNATURE_DESC, initialized with the contents of another D3D12_ROOT_SIGNATURE_DESC structure.

CD3DX12_ROOT_SIGNATURE_DESC(UINT numParameters, const D3D12_ROOT_PARAMETER* _pParameters, UINT numStaticSamplers = 0, const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL, D3D12_ROOT_SIGNATURE_FLAGS flags = D3D12_ROOT_SIGNATURE_FLAG_NONE)

Creates a new instance of a CD3DX12_ROOT_SIGNATURE_DESC, initializing the following parameters:

UINT numParameters

D3D12_ROOT_PARAMETER* _pParameters

(opt) UINT numStaticSamplers = 0

(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

(opt) D3D12_ROOT_SIGNATURE_FLAGS flags = D3D12_ROOT_SIGNATURE_FLAG_NONE

CD3DX12_ROOT_SIGNATURE_DESC(CD3DX12_DEFAULT)

Creates a new instance of a CD3DX12_ROOT_SIGNATURE_DESC, initialized with default parameters.

CD3DX12_ROOT_SIGNATURE_DESC(0,NULL,0,NULL,D3D12_ROOT_SIGNATURE_FLAG_NONE)

inline Init(UINT numParameters, const D3D12_ROOT_PARAMETER* _pParameters, UINT numStaticSamplers = 0, const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL, D3D12_ROOT_SIGNATURE_FLAGS flags = D3D12_ROOT_SIGNATURE_FLAG_NONE)

Specifies a function that initializes the following parameters:

UINT numParameters

D3D12_ROOT_PARAMETER* _pParameters

(opt) UINT numStaticSamplers = 0

(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

(opt) D3D12_ROOT_SIGNATURE_FLAGS flags = D3D12_ROOT_SIGNATURE_FLAG_NONE

static inline Init(D3D12_ROOT_SIGNATURE_DESC &desc, UINT numParameters, const D3D12_ROOT_PARAMETER* _pParameters, UINT numStaticSamplers = 0, const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL, D3D12_ROOT_SIGNATURE_FLAGS flags = D3D12_ROOT_SIGNATURE_FLAG_NONE)

Specifies a function that initializes the following parameters:

D3D12_ROOT_SIGNATURE_DESC &desc

UINT numParameters

D3D12_ROOT_PARAMETER* _pParameters

(opt) UINT numStaticSamplers = 0

(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

(opt) D3D12_ROOT_SIGNATURE_FLAGS flags = D3D12_ROOT_SIGNATURE_FLAG_NONE

Requirements

Requirement Value
Header
D3dx12.h

See also

D3D12_ROOT_SIGNATURE_DESC

Helper Structures for D3D12