classe CD3DX12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION

Classe d’assistance pour la création d’un sous-objet d’état d’association DXIL-subobject-to-exports.

Pour plus d’informations sur les helpers de création d’objets d’état D3DX12, consultez CD3DX12_STATE_OBJECT_DESC.

Syntaxe

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

Membres

CD3DX12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION

Constructeur par défaut. Crée un instance initialisé par défaut d’un CD3DX12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION.

CD3DX12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION(CD3DX12_STATE_OBJECT_DESC&)

Constructeur qui crée une instance d’un CD3DX12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION initialisé avec le contenu d’un objet CD3DX12_STATE_OBJECT_DESC.

SetSubobjectNameToAssociate(LPCWSTR)

Fonction permettant de définir le nom du sous-objet à associer.

AddExport(LPCWSTR)

Ajoute une exportation à associer.

AddExports(LPCWSTR(&)[N]);

Ajoute un tableau d’exportations à associer. Le paramètre de modèle N spécifie le nombre d’éléments dans le tableau.

AddExports(const LPCWSTR*, UINT)

Définit un tableau de N exportations à associer.

Type

Récupère le type du sous-objet, représenté par la constante D3D12_STATE_SUBOBJECT_TYPE_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION .

operator const D3D12_STATE_SUBOBJECT&

Opérateur de conversion qui retourne une référence à une constante D3D12_STATE_SUBOBJECT objet décrivant l’objet d’état.

operator const D3D12_SUBOBJECT_TO_EXPORTS_ASSOCIATION&

Opérateur de conversion qui retourne une référence à une constante D3D12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION objet décrivant l’objet d’état.

Spécifications

Condition requise Valeur
En-tête D3dx12.h

Voir aussi