estrutura CD3DX12_ROOT_SIGNATURE_DESC
Uma estrutura auxiliar para habilitar a inicialização fácil de uma estrutura D3D12_ROOT_SIGNATURE_DESC .
Sintaxe
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);
};
Membros
-
CD3DX12_ROOT_SIGNATURE_DESC()
-
Cria uma nova instância não inicializada de um CD3DX12_ROOT_SIGNATURE_DESC.
-
explicit CD3DX12_ROOT_SIGNATURE_DESC(const D3D12_ROOT_SIGNATURE_DESC &o)
-
Cria uma nova instância de uma CD3DX12_ROOT_SIGNATURE_DESC, inicializada com o conteúdo de outra estrutura 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)
-
Cria uma nova instância de um CD3DX12_ROOT_SIGNATURE_DESC, inicializando os seguintes parâmetros:
NumParameters UINT
D3D12_ROOT_PARAMETER* _pParameters
(opt) UINT numStaticSamplers = 0
(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL
(opt) sinalizadores D3D12_ROOT_SIGNATURE_FLAGS = D3D12_ROOT_SIGNATURE_FLAG_NONE
-
CD3DX12_ROOT_SIGNATURE_DESC(CD3DX12_DEFAULT)
-
Cria uma nova instância de uma CD3DX12_ROOT_SIGNATURE_DESC, inicializada com parâmetros padrão.
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)
-
Especifica uma função que inicializa os seguintes parâmetros:
NumParameters UINT
D3D12_ROOT_PARAMETER* _pParameters
(opt) UINT numStaticSamplers = 0
(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL
(opt) sinalizadores 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)
-
Especifica uma função que inicializa os seguintes parâmetros:
& D3D12_ROOT_SIGNATURE_DESC Desc
NumParameters UINT
D3D12_ROOT_PARAMETER* _pParameters
(opt) UINT numStaticSamplers = 0
(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL
(opt) sinalizadores D3D12_ROOT_SIGNATURE_FLAGS = D3D12_ROOT_SIGNATURE_FLAG_NONE
Requisitos
Requisito | Valor |
---|---|
parâmetro |
|