Freigeben über


CD3DX12_ROOT_SIGNATURE_DESC Struktur

Eine Hilfsstruktur, um eine einfache Initialisierung einer D3D12_ROOT_SIGNATURE_DESC-Struktur zu ermöglichen.

Syntax

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

Member

CD3DX12_ROOT_SIGNATURE_DESC()

Erstellt eine neue, nicht initialisierte instance einer CD3DX12_ROOT_SIGNATURE_DESC.

explizite CD3DX12_ROOT_SIGNATURE_DESC(const D3D12_ROOT_SIGNATURE_DESC &o)

Erstellt eine neue instance einer CD3DX12_ROOT_SIGNATURE_DESC, die mit dem Inhalt einer anderen D3D12_ROOT_SIGNATURE_DESC-Struktur initialisiert wird.

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)

Erstellt eine neue instance eines CD3DX12_ROOT_SIGNATURE_DESC, wobei die folgenden Parameter initialisiert werden:

UINT numParameters

D3D12_ROOT_PARAMETER* _pParameters

(opt) UINT numStaticSamplers = 0

(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

(opt) D3D12_ROOT_SIGNATURE_FLAGS Flags = D3D12_ROOT_SIGNATURE_FLAG_NONE

CD3DX12_ROOT_SIGNATURE_DESC(CD3DX12_DEFAULT)

Erstellt eine neue instance einer CD3DX12_ROOT_SIGNATURE_DESC, die mit Standardparametern initialisiert wird.

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)

Gibt eine Funktion an, die die folgenden Parameter initialisiert:

UINT numParameters

D3D12_ROOT_PARAMETER* _pParameters

(opt) UINT numStaticSamplers = 0

(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

(opt) D3D12_ROOT_SIGNATURE_FLAGS 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)

Gibt eine Funktion an, die die folgenden Parameter initialisiert:

& D3D12_ROOT_SIGNATURE_DESC Desc

UINT numParameters

D3D12_ROOT_PARAMETER* _pParameters

(opt) UINT numStaticSamplers = 0

(opt) D3D12_STATIC_SAMPLER_DESC* _pStaticSamplers = NULL

(opt) D3D12_ROOT_SIGNATURE_FLAGS Flags = D3D12_ROOT_SIGNATURE_FLAG_NONE

Anforderungen

Anforderung Wert
Header
D3dx12.h

Siehe auch

D3D12_ROOT_SIGNATURE_DESC

Strukturen des Hilfsprogramms für D3D12