D2D1_COLORMATRIX_ALPHA_MODE enumeration
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;
Constants
- D2D1_COLORMATRIX_ALPHA_MODE_PREMULTIPLIED
-
The effect un-premultiplies the input, applies the color matrix, and premultiplies the output.
- D2D1_COLORMATRIX_ALPHA_MODE_STRAIGHT
-
The effect applies the color matrix directly to the input, and doesn't premultiply the output.
Requirements
|
Header |
|
|---|
Show: