Share via


classe CD3DX12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION

Classe helper per la creazione di un subobject di associazione DXIL-subobject-to-export.

Per altre informazioni sugli helper per la creazione di oggetti D3DX12, vedere CD3DX12_STATE_OBJECT_DESC.

Sintassi

class CD3DX12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION
{
    CD3DX12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION() noexcept;
    CD3DX12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION(CD3DX12_STATE_OBJECT_DESC& ContainingStateObject);
    void SetSubobjectNameToAssociate(LPCWSTR SubobjectToAssociate);
    void AddExport(LPCWSTR Export);
    template<size_t N> void AddExports(LPCWSTR(&Exports)[N]);
    void AddExports(const LPCWSTR* Exports, UINT N);
    D3D12_STATE_SUBOBJECT_TYPE Type() const noexcept override;
    operator const D3D12_STATE_SUBOBJECT& () const noexcept;
    operator const D3D12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION& () const noexcept;
};

Members

CD3DX12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION

Costruttore predefinito. Crea una nuova istanza inizializzata predefinita di un CD3DX12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION.

CD3DX12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION(CD3DX12_STATE_OBJECT_DESC&)

Costruttore che crea una nuova istanza di un CD3DX12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION inizializzato con il contenuto di un oggetto CD3DX12_STATE_OBJECT_DESC .

SetSubobjectNameToAssociate(LPCWSTR)

Funzione per impostare il nome dell'oggetto secondario da associare.

AddExport(LPCWSTR)

Aggiunge un'esportazione da associare.

AddExports(LPCWSTR(&)[N]);

Aggiunge una matrice di esportazioni da associare. Il parametro modello N specifica il numero di elementi nella matrice.

AddExports(const LPCWSTR*, UINT)

Definisce una matrice di esportazioni N da associare.

Type

Recupera il tipo del sottooggetto rappresentato dalla costante D3D12_STATE_SUBOBJECT_TYPE_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION .

operator const D3D12_STATE_SUBOBJECT&

Operatore di conversione che restituisce un riferimento a una costante D3D12_STATE_SUBOBJECT oggetto che descrive l'oggetto state.

operator const D3D12_SUBOBJECT_TO_EXPORTS_ASSOCIATION&

Operatore di conversione che restituisce un riferimento a una costante D3D12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION oggetto che descrive l'oggetto state.

Requisiti

Requisito Valore
Intestazione D3dx12.h

Vedi anche