WICDdsAlphaMode enumeration (wincodec.h)
Specifies the meaning of pixel color component values contained in the DDS image.
Syntax
typedef enum WICDdsAlphaMode {
WICDdsAlphaModeUnknown = 0,
WICDdsAlphaModeStraight = 0x1,
WICDdsAlphaModePremultiplied = 0x2,
WICDdsAlphaModeOpaque = 0x3,
WICDdsAlphaModeCustom = 0x4,
WICDDSALPHAMODE_FORCE_DWORD = 0x7fffffff
} ;
Constants
WICDdsAlphaModeUnknown Value: 0 Alpha behavior is unspecified and must be determined by the reader. |
WICDdsAlphaModeStraight Value: 0x1 The alpha data is straight. |
WICDdsAlphaModePremultiplied Value: 0x2 The alpha data is premultiplied. |
WICDdsAlphaModeOpaque Value: 0x3 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 Value: 0x4 The alpha channel contains custom data that is not alpha. |
WICDDSALPHAMODE_FORCE_DWORD Value: 0x7fffffff |
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 |