WICDdsParameters structure (wincodec.h)

Specifies the DDS image dimension, DXGI_FORMAT and alpha mode of contained data.

Syntax

typedef struct WICDdsParameters {
  UINT            Width;
  UINT            Height;
  UINT            Depth;
  UINT            MipLevels;
  UINT            ArraySize;
  DXGI_FORMAT     DxgiFormat;
  WICDdsDimension Dimension;
  WICDdsAlphaMode AlphaMode;
} WICDdsParameters;

Members

Width

Type: UINT

The width, in pixels, of the texture at the largest mip size (mip level 0).

Height

Type: UINT

The height, in pixels, of the texture at the largest mip size (mip level 0). When the DDS image contains a 1-dimensional texture, this value is equal to 1.

Depth

Type: UINT

The number of slices in the 3D texture. This is equivalent to the depth, in pixels, of the 3D texture at the largest mip size (mip level 0). When the DDS image contains a 1- or 2-dimensional texture, this value is equal to 1.

MipLevels

Type: UINT

The number of mip levels contained in the DDS image.

ArraySize

Type: UINT

The number of textures in the array in the DDS image.

DxgiFormat

Type: DXGI_FORMAT

The DXGI_FORMAT of the DDS pixel data.

Dimension

Type: WICDdsDimension

Specifies the dimension type of the data contained in DDS image (1D, 2D, 3D or cube texture).

AlphaMode

Type: WICDdsAlphaMode

Specifies the alpha behavior of the DDS image.

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

WICDdsAlphaMode

WICDdsDimension