EN
Данное содержимое не доступно на вашем языке, используйте версию на английском языке.

WICDdsDimension enumeration

Specifies the dimension type of the data contained in DDS image.

Syntax


typedef enum _WICDdsDimension { 
  WICDdsTexture1D               = 0, // 0x0
  WICDdsTexture2D               = 1, // 0x1
  WICDdsTexture3D               = 2, // 0x2
  WICDdsTextureCube             = 3 // 0x3
} WICDdsDimension;

Constants

WICDdsTexture1D

DDS image contains a 1-dimensional texture .

WICDdsTexture2D

DDS image contains a 2-dimensional texture .

WICDdsTexture3D

DDS image contains a 3-dimensional texture .

WICDdsTextureCube

The DDS image contains a cube texture represented as an array of 6 faces.

Remarks

Both WICDdsTexture2d and WICDdsTextureCube correspond to D3D11_RESOURCE_DIMENSION_TEXTURE2D. When using ID3D11Device::CreateTexture2D, they are distinguished by the flag D3D11_RESOURCE_MISC_TEXTURECUBE in the structure D3D11_TEXTURE2D_DESC.

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

WICDdsParameters
IWICDdsDecoder::GetParameters

 

 

Добавления сообщества

ДОБАВИТЬ
Показ:
© 2014 Microsoft