WICDdsFormatInfo structure (wincodec.h)

Specifies the DXGI_FORMAT and block information of a DDS format.

Syntax

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

Members

DxgiFormat

Type: DXGI_FORMAT

The DXGI_FORMAT

BytesPerBlock

Type: UINT

The size of a single block in bytes. For DXGI_FORMAT values that are not block-based, the value is equal to the size of a single pixel in bytes.

BlockWidth

Type: UINT

The width of a single block in pixels. For DXGI_FORMAT values that are not block-based, the value is 1.

BlockHeight

Type: UINT

The height of a single block in pixels. For DXGI_FORMAT values that are not block-based, the value is 1.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Header wincodec.h

See also

DXGI_FORMAT