共用方式為


CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC 結構

協助程序結構,可讓您輕鬆初始化 D3D12_VERSIONED_ROOT_SIGNATURE_DESC 結構。

語法

struct CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC  : public D3D12_VERSIONED_ROOT_SIGNATURE_DESC{
       CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC();
       explicit CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC(const D3D12_VERSIONED_ROOT_SIGNATURE_DESC &o);
       explicit CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC(const D3D12_ROOT_SIGNATURE_DESC &o);
       explicit CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC(const D3D12_ROOT_SIGNATURE_DESC1 &o);
       CD3DX12_VERSIONED_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_VERSIONED_ROOT_SIGNATURE_DESC(UINT numParameters, const D3D12_ROOT_PARAMETER1* _pParameters, UINT numStaticSamplers = 0, const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL, D3D12_ROOT_SIGNATURE_FLAGS flags = D3D12_ROOT_SIGNATURE_FLAG_NONE);
       CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC(CD3DX12_DEFAULT);
  void inline Init_1_0(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_1_0(D3D12_VERSIONED_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);
  void inline Init_1_1(UINT numParameters, const D3D12_ROOT_PARAMETER1* _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_1_1(D3D12_VERSIONED_ROOT_SIGNATURE_DESC &desc, UINT numParameters, const D3D12_ROOT_PARAMETER1* _pParameters, UINT numStaticSamplers = 0, const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL, D3D12_ROOT_SIGNATURE_FLAGS flags = D3D12_ROOT_SIGNATURE_FLAG_NONE);
};

成員

CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC()

建立新的未初始化CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC實例。

explicit CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC(const D3D12_VERSIONED_ROOT_SIGNATURE_DESC &o)

建立CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC的新實例,以D3D12_VERSIONED_ROOT_SIGNATURE_DESC結構的內容初始化。

explicit CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC(const D3D12_ROOT_SIGNATURE_DESC &o)

建立CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC的新實例,以D3D12_ROOT_SIGNATURE_DESC結構的內容初始化。

explicit CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC(const D3D12_ROOT_SIGNATURE_DESC1 &o)

建立CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC的新實例,以D3D12_ROOT_SIGNATURE_DESC1結構的內容初始化。

CD3DX12_VERSIONED_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_VERSIONED_ROOT_SIGNATURE_DESC的新實例,初始化下列參數:

UINT numParameters

const D3D12_ROOT_PARAMETER* _pParameters

UINT numStaticSamplers = 0

const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

D3D12_ROOT_SIGNATURE_FLAGS旗標 = D3D12_ROOT_SIGNATURE_FLAG_NONE

CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC(UINT numParameters, const D3D12_ROOT_PARAMETER1* _pParameters, UINT numStaticSamplers = 0, const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL, D3D12_ROOT_SIGNATURE_FLAGS 旗標 = D3D12_ROOT_SIGNATURE_FLAG_NONE)

建立CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC的新實例,初始化下列參數:

UINT numParameters

const D3D12_ROOT_PARAMETER1* _pParameters

UINT numStaticSamplers = 0

const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

D3D12_ROOT_SIGNATURE_FLAGS旗標 = D3D12_ROOT_SIGNATURE_FLAG_NONE

CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC(CD3DX12_DEFAULT)

建立CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC的新實例,並使用預設參數初始化:

UINT numParameters = 0

const D3D12_ROOT_PARAMETER1* _pParameters = NULL

UINT numStaticSamplers = 0

const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

D3D12_ROOT_SIGNATURE_FLAGS旗標 = D3D12_ROOT_SIGNATURE_FLAG_NONE

inline Init_1_0(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

const D3D12_ROOT_PARAMETER* _pParameters

UINT numStaticSamplers = 0

const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

D3D12_ROOT_SIGNATURE_FLAGS旗標 = D3D12_ROOT_SIGNATURE_FLAG_NONE

static inline Init_1_0(D3D12_VERSIONED_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_VERSIONED_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旗標 = D3D12_ROOT_SIGNATURE_FLAG_NONE

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

指定初始化下列參數的函式:

UINT numParameters

const D3D12_ROOT_PARAMETER1* _pParameters

UINT numStaticSamplers = 0

const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

D3D12_ROOT_SIGNATURE_FLAGS旗標 = D3D12_ROOT_SIGNATURE_FLAG_NONE

static inline Init_1_1(D3D12_VERSIONED_ROOT_SIGNATURE_DESC &desc, UINT numParameters, const D3D12_ROOT_PARAMETER1* _pParameters, UINT numStaticSamplers = 0, const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL, D3D12_ROOT_SIGNATURE_FLAGS flags = D3D12_ROOT_SIGNATURE_FLAG_NONE)

指定初始化下列參數的函式:

D3D12_VERSIONED_ROOT_SIGNATURE_DESC &desc

UINT numParameters

const D3D12_ROOT_PARAMETER1* _pParameters

UINT numStaticSamplers = 0

const D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

D3D12_ROOT_SIGNATURE_FLAGS旗標 = D3D12_ROOT_SIGNATURE_FLAG_NONE

需求

需求
頁首
D3dx12.h

另請參閱

D3D12_VERSIONED_ROOT_SIGNATURE_DESC

D3D12 的協助程序結構