CD3DX12_SUBRESOURCE_FOOTPRINT structure
Structure d’assistance pour faciliter l’initialisation d’une structure de D3D12_SUBRESOURCE_FOOTPRINT .
Syntaxe
struct CD3DX12_SUBRESOURCE_FOOTPRINT : public D3D12_SUBRESOURCE_FOOTPRINT{
CD3DX12_SUBRESOURCE_FOOTPRINT();
explicit CD3DX12_SUBRESOURCE_FOOTPRINT(const D3D12_SUBRESOURCE_FOOTPRINT &o);
CD3DX12_SUBRESOURCE_FOOTPRINT(DXGI_FORMAT format, UINT width, UINT height, UINT depth, UINT rowPitch);
explicit CD3DX12_SUBRESOURCE_FOOTPRINT(const D3D12_RESOURCE_DESC& resDesc, UINT rowPitch);
operator const D3D12_SUBRESOURCE_FOOTPRINT&() const;
};
Membres
-
CD3DX12_SUBRESOURCE_FOOTPRINT()
-
Crée un instance non initialisé d’un CD3DX12_SUBRESOURCE_FOOTPRINT.
-
explicit CD3DX12_SUBRESOURCE_FOOTPRINT(const D3D12_SUBRESOURCE_FOOTPRINT &o)
-
Crée une instance d’une CD3DX12_SUBRESOURCE_FOOTPRINT, initialisée avec le contenu d’une autre structure D3D12_SUBRESOURCE_FOOTPRINT.
-
CD3DX12_SUBRESOURCE_FOOTPRINT(format DXGI_FORMAT, largeur UINT, hauteur UINT, profondeur UINT, UINT rowPitch)
-
Crée une instance d’un CD3DX12_SUBRESOURCE_FOOTPRINT, en initialisant les paramètres suivants :
Largeur UINT
Hauteur UINT
Profondeur UINT
UINT rowPitch
-
explicit CD3DX12_SUBRESOURCE_FOOTPRINT(const D3D12_RESOURCE_DESC& resDesc, UINT rowPitch)
-
Crée une instance d’un CD3DX12_SUBRESOURCE_FOOTPRINT, en initialisant les paramètres suivants :
UINT rowPitch
-
operator const D3D12_SUBRESOURCE_FOOTPRINT&() const
-
Définit l’opérateur & pass-by-reference pour le type de structure parent.
Spécifications
Condition requise | Valeur |
---|---|
En-tête |
|
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour