D2D1_COLORMATRIX_ALPHA_MODE enumeration (d2d1effects.h)
The alpha mode of the output of the Color matrix effect.
Syntax
typedef enum D2D1_COLORMATRIX_ALPHA_MODE {
D2D1_COLORMATRIX_ALPHA_MODE_PREMULTIPLIED = 1,
D2D1_COLORMATRIX_ALPHA_MODE_STRAIGHT = 2,
D2D1_COLORMATRIX_ALPHA_MODE_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_COLORMATRIX_ALPHA_MODE_PREMULTIPLIED Value: 1 The effect un-premultiplies the input, applies the color matrix, and premultiplies the output. |
D2D1_COLORMATRIX_ALPHA_MODE_STRAIGHT Value: 2 The effect applies the color matrix directly to the input, and doesn't premultiply the output. |
D2D1_COLORMATRIX_ALPHA_MODE_FORCE_DWORD Value: 0xffffffff |
Requirements
Requirement | Value |
---|---|
Header | d2d1effects.h |