CD3DX12_SUBRESOURCE_FOOTPRINT-Struktur

Eine Hilfsstruktur, die die einfache Initialisierung einer D3D12_SUBRESOURCE_FOOTPRINT-Struktur ermöglicht.

Syntax

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

Member

CD3DX12_SUBRESOURCE_FOOTPRINT()

Erstellt eine neue, nicht initialisierte instance eines CD3DX12_SUBRESOURCE_FOOTPRINT.

explizite CD3DX12_SUBRESOURCE_FOOTPRINT(const D3D12_SUBRESOURCE_FOOTPRINT &o)

Erstellt eine neue instance einer CD3DX12_SUBRESOURCE_FOOTPRINT, die mit dem Inhalt einer anderen D3D12_SUBRESOURCE_FOOTPRINT-Struktur initialisiert wird.

CD3DX12_SUBRESOURCE_FOOTPRINT(DXGI_FORMAT format, UINT width, UINT height, UINT depth, UINT rowPitch)

Erstellt eine neue instance eines CD3DX12_SUBRESOURCE_FOOTPRINT, wobei die folgenden Parameter initialisiert werden:

DXGI_FORMAT Format

UINT-Breite

UINT-Höhe

UINT-Tiefe

UINT rowPitch

explicit CD3DX12_SUBRESOURCE_FOOTPRINT(const D3D12_RESOURCE_DESC& resDesc, UINT rowPitch)

Erstellt eine neue instance eines CD3DX12_SUBRESOURCE_FOOTPRINT, wobei die folgenden Parameter initialisiert werden:

& D3D12_RESOURCE_DESC resDesc

UINT rowPitch

Operator const D3D12_SUBRESOURCE_FOOTPRINT&() const

Definiert den & Pass-by-Reference-Operator für den übergeordneten Strukturtyp.

Anforderungen

Anforderung Wert
Header
D3dx12.h

Siehe auch

D3D12_SUBRESOURCE_FOOTPRINT

Strukturen des Hilfsprogramms für D3D12