Table of Contents

Enum DdsDimension

Namespace
SharpDX.WIC
Assembly
SharpDX.Direct2D1.dll

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

public enum DdsDimension

Fields

DdsTexture1D = 0

DDS image contains a 1-dimensional texture .

DdsTexture2D = 1

DDS image contains a 2-dimensional texture .

DdsTexture3D = 2

DDS image contains a 3-dimensional texture .

DdsTextureCube = 3

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 .