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)

创建使用D3D12_VERSIONED_ROOT_SIGNATURE_DESC结构的内容初始化的 CD3DX12_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)

创建使用D3D12_ROOT_SIGNATURE_DESC1结构的内容初始化的 CD3DX12_VERSIONED_ROOT_SIGNATURE_DESC 的新实例。

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 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_DESCdesc

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_DESCdesc

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 的帮助程序结构