WICDdsAlphaMode enumeration
Specifies the the meaning of pixel color component values contained in the DDS image.
Syntax
typedef enum _WICDdsAlphaMode { WICDdsAlphaModeUnknown = 0, // 0x0 WICDdsAlphaModeStraight = 1, // 0x1 WICDdsAlphaModePremultiplied = 2, // 0x2 WICDdsAlphaModeOpaque = 3, // 0x3 WICDdsAlphaModeCustom = 4 // 0x4 } WICDdsAlphaMode;
Constants
- WICDdsAlphaModeUnknown
-
Alpha behavior is unspecified and must be determined by the reader.
- WICDdsAlphaModeStraight
-
The alpha data is straight.
- WICDdsAlphaModePremultiplied
-
The alpha data is premultiplied.
- WICDdsAlphaModeOpaque
-
The alpha data is opaque (UNORM value of 1). This can be used by a compliant reader as a performance optimization. For example, blending operations can be converted to copies.
- WICDdsAlphaModeCustom
-
The alpha channel contains custom data that is not alpha.
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 |
|
|
IDL |
|
See also