EN
本內容沒有您的語言版本,但有英文版本。

WICDdsFormatInfo structure

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, *PWICDdsFormatInfo;

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

Minimum supported client

Windows 8.1 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | Windows Store apps]

Header

Wincodec.h

IDL

Wincodec.idl

See also

DXGI_FORMAT

 

 

社群新增項目

新增
顯示:
© 2015 Microsoft