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 enumerationType and default valueDescripiton
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 clientWindows 10 [desktop apps | Windows Store apps]
Minimum supported serverWindows 10 [desktop apps | Windows Store apps]
Headerd2d1effects_2.h
Libraryd2d1.lib, dxguid.lib

 

Related topics

ID2D1Effect

 

 

Show: