CD3DX12_ROOT_SIGNATURE_DESC structure
Structure d’assistance permettant d’initialiser facilement une structure D3D12_ROOT_SIGNATURE_DESC .
Syntaxe
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);
};
Membres
-
CD3DX12_ROOT_SIGNATURE_DESC()
-
Crée un instance non initialisé d’un CD3DX12_ROOT_SIGNATURE_DESC.
-
explicit CD3DX12_ROOT_SIGNATURE_DESC(const D3D12_ROOT_SIGNATURE_DESC &o)
-
Crée une instance d’une CD3DX12_ROOT_SIGNATURE_DESC, initialisée avec le contenu d’une autre structure de D3D12_ROOT_SIGNATURE_DESC.
-
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)
-
Crée une instance d’un CD3DX12_ROOT_SIGNATURE_DESC, en initialisant les paramètres suivants :
NumParameters UINT
D3D12_ROOT_PARAMETER* _pParameters
(opt) UINT numStaticSamplers = 0
(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL
(opt) indicateurs D3D12_ROOT_SIGNATURE_FLAGS = D3D12_ROOT_SIGNATURE_FLAG_NONE
-
CD3DX12_ROOT_SIGNATURE_DESC(CD3DX12_DEFAULT)
-
Crée une instance d’une CD3DX12_ROOT_SIGNATURE_DESC, initialisée avec les paramètres par défaut.
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)
-
Spécifie une fonction qui initialise les paramètres suivants :
NumParameters UINT
D3D12_ROOT_PARAMETER* _pParameters
(opt) UINT numStaticSamplers = 0
(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL
(opt) indicateurs D3D12_ROOT_SIGNATURE_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)
-
Spécifie une fonction qui initialise les paramètres suivants :
& D3D12_ROOT_SIGNATURE_DESC Desc
NumParameters UINT
D3D12_ROOT_PARAMETER* _pParameters
(opt) UINT numStaticSamplers = 0
(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL
(opt) indicateurs D3D12_ROOT_SIGNATURE_FLAGS = D3D12_ROOT_SIGNATURE_FLAG_NONE
Spécifications
Condition requise | Valeur |
---|---|
En-tête |
|