Tint effect
This effect tints the source image by multiplying the source image by the specified color. It has a single input.
The CLSID for this effect is CLSID_D2D1Tint.
Effect Properties
| Display anme and index enumeration | Type and default value | Descripiton |
|---|---|---|
| Color D2D1_TINT_PROP_COLOR | D2D1_VECTOR_4F (1.0f, 1.0f, 1.0f, 1.0f) | Colors from the source image are multiplied by this value. |
| ClampOutput D2D1_TINT_PROP_CLAMP_OUTPUT | BOOL FALSE | Whether or not to clamp the output values to the range [0, 1]. |
Requirements
| Minimum supported client | Windows 10 [desktop apps | Windows Store apps] |
|---|---|
| Minimum supported server | Windows 10 [desktop apps | Windows Store apps] |
| Header | d2d1effects_2.h |
| Library | d2d1.lib, dxguid.lib |
Related topics
Show: