CD3DX12_ROOT_SIGNATURE_DESC結構
協助程序結構,可讓您輕鬆初始化 D3D12_ROOT_SIGNATURE_DESC 結構。
語法
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);
};
成員
-
CD3DX12_ROOT_SIGNATURE_DESC()
-
建立新的未初始化CD3DX12_ROOT_SIGNATURE_DESC實例。
-
explicit CD3DX12_ROOT_SIGNATURE_DESC(const D3D12_ROOT_SIGNATURE_DESC &o)
-
建立CD3DX12_ROOT_SIGNATURE_DESC的新實例,以另一個 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)
-
建立CD3DX12_ROOT_SIGNATURE_DESC的新實例,初始化下列參數:
UINT numParameters
D3D12_ROOT_PARAMETER* _pParameters
(選擇)UINT numStaticSamplers = 0
(選擇) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL
(選擇) D3D12_ROOT_SIGNATURE_FLAGS旗標 = D3D12_ROOT_SIGNATURE_FLAG_NONE
-
CD3DX12_ROOT_SIGNATURE_DESC(CD3DX12_DEFAULT)
-
建立以預設參數初始化之CD3DX12_ROOT_SIGNATURE_DESC的新實例。
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)
-
指定初始化下列參數的函式:
UINT numParameters
D3D12_ROOT_PARAMETER* _pParameters
(選擇)UINT numStaticSamplers = 0
(選擇) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL
(選擇) D3D12_ROOT_SIGNATURE_FLAGS旗標 = D3D12_ROOT_SIGNATURE_FLAG_NONE
-
static 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)
-
指定初始化下列參數的函式:
D3D12_ROOT_SIGNATURE_DESC &desc
UINT numParameters
D3D12_ROOT_PARAMETER* _pParameters
(選擇)UINT numStaticSamplers = 0
(選擇) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL
(選擇) D3D12_ROOT_SIGNATURE_FLAGS旗標 = D3D12_ROOT_SIGNATURE_FLAG_NONE
需求
需求 | 值 |
---|---|
頁首 |
|