struttura CD3DX12_DEFAULT

Passa D3D12_DEFAULT in un costruttore per ogni struttura helper. Questa struttura viene usata semplicemente come meccanismo per impostare i parametri predefiniti nelle altre strutture helper.

Commenti

Questo struct viene dichiarato come segue:

struct CD3DX12_DEFAULT {};
extern const DECLSPEC_SELECTANY CD3DX12_DEFAULT D3D12_DEFAULT;

Passa D3D12_DEFAULT in un costruttore per ogni struct helper. Ad esempio, il costruttore seguente viene dichiarato in d3dx12.h:

CD3DX12_CPU_DESCRIPTOR_HANDLE(CD3DX12_DEFAULT) { ptr = 0; }

Requisiti

Requisito Valore
Intestazione
D3dx12.h

Vedi anche

Strutture helper per D3D12