Share via


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 :

format DXGI_FORMAT

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 :

& D3D12_RESOURCE_DESC resDesc

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
D3dx12.h

Voir aussi

D3D12_SUBRESOURCE_FOOTPRINT

Structures d’assistance pour D3D12