EN
Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.

WICDdsParameters structure

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

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

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
WICDdsDimension
WICDdsAlphaMode

 

 

Aggiunte alla community

AGGIUNGI
Mostra:
© 2014 Microsoft