WICDdsDimension enumeration (wincodec.h)

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

Syntax

typedef enum WICDdsDimension {
  WICDdsTexture1D = 0,
  WICDdsTexture2D = 0x1,
  WICDdsTexture3D = 0x2,
  WICDdsTextureCube = 0x3,
  WICDDSTEXTURE_FORCE_DWORD = 0x7fffffff
} ;

Constants

 
WICDdsTexture1D
Value: 0
DDS image contains a 1-dimensional texture .
WICDdsTexture2D
Value: 0x1
DDS image contains a 2-dimensional texture .
WICDdsTexture3D
Value: 0x2
DDS image contains a 3-dimensional texture .
WICDdsTextureCube
Value: 0x3
The DDS image contains a cube texture represented as an array of 6 faces.
WICDDSTEXTURE_FORCE_DWORD
Value: 0x7fffffff

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

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

IWICDdsDecoder::GetParameters

WICDdsParameters