Compartir a través de


estructura de CD3DX12_ROOT_SIGNATURE_DESC

Estructura auxiliar para permitir una inicialización sencilla de una estructura de D3D12_ROOT_SIGNATURE_DESC .

Sintaxis

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);
};

Miembros

CD3DX12_ROOT_SIGNATURE_DESC()

Crea una nueva instancia sin inicializar de un CD3DX12_ROOT_SIGNATURE_DESC.

explicit CD3DX12_ROOT_SIGNATURE_DESC(const D3D12_ROOT_SIGNATURE_DESC &o)

Crea una nueva instancia de un CD3DX12_ROOT_SIGNATURE_DESC, inicializado con el contenido de otra estructura 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)

Crea una nueva instancia de un CD3DX12_ROOT_SIGNATURE_DESC, inicializando los parámetros siguientes:

numParameters de UINT

D3D12_ROOT_PARAMETER* _pParameters

(opt) UINT numStaticSamplers = 0

(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

(opt) marcas de D3D12_ROOT_SIGNATURE_FLAGS = D3D12_ROOT_SIGNATURE_FLAG_NONE

CD3DX12_ROOT_SIGNATURE_DESC(CD3DX12_DEFAULT)

Crea una nueva instancia de un CD3DX12_ROOT_SIGNATURE_DESC, inicializado con parámetros predeterminados.

CD3DX12_ROOT_SIGNATURE_DESC(0,NULL,0,NULL,D3D12_ROOT_SIGNATURE_FLAG_NONE)

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 una función que inicializa los parámetros siguientes:

numParameters de UINT

D3D12_ROOT_PARAMETER* _pParameters

(opt) UINT numStaticSamplers = 0

(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

(opt) marcas de 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)

Especifica una función que inicializa los parámetros siguientes:

& D3D12_ROOT_SIGNATURE_DESC Desc

numParameters de UINT

D3D12_ROOT_PARAMETER* _pParameters

(opt) UINT numStaticSamplers = 0

(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

(opt) marcas de D3D12_ROOT_SIGNATURE_FLAGS = D3D12_ROOT_SIGNATURE_FLAG_NONE

Requisitos

Requisito Value
Encabezado
D3dx12.h

Vea también

D3D12_ROOT_SIGNATURE_DESC

Estructuras auxiliares de D3D12