WICDdsFormatInfo-Struktur (wincodec.h)

Gibt die DXGI_FORMAT - und Blockinformationen eines DDS-Formats an.

Syntax

typedef struct WICDdsFormatInfo {
  DXGI_FORMAT DxgiFormat;
  UINT        BytesPerBlock;
  UINT        BlockWidth;
  UINT        BlockHeight;
} WICDdsFormatInfo;

Member

DxgiFormat

Typ: DXGI_FORMAT

Die DXGI_FORMAT

BytesPerBlock

Typ: UINT

Die Größe eines einzelnen Blocks in Bytes. Bei DXGI_FORMAT Werten, die nicht blockbasiert sind, entspricht der Wert der Größe eines einzelnen Pixels in Byte.

BlockWidth

Typ: UINT

Die Breite eines einzelnen Blocks in Pixel. Für DXGI_FORMAT Werte, die nicht blockbasiert sind, ist der Wert 1.

BlockHeight

Typ: UINT

Die Höhe eines einzelnen Blocks in Pixel. Für DXGI_FORMAT Werte, die nicht blockbasiert sind, ist der Wert 1.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 8.1 [Desktop-Apps | UWP-Apps]
Unterstützte Mindestversion (Server) Windows Server 2012 R2 [Desktop-Apps | UWP-Apps]
Kopfzeile wincodec.h

Weitere Informationen

DXGI_FORMAT