Opacity effect

This effect adjusts the opacity of an image by multiplying the alpha channel of the input by the specified opacity value. It has a single input.

The CLSID for this effect is CLSID_D2D1Opacity.

Effect properties

Display name and index enumeration Type and default value Description
Opacity D2D1_OPACITY_PROP_OPACITY
FLOAT1.0f
The multiplier to the input image's alpha channel. The minimum value is 0.0f and the maximum value is 1.0f.

Requirements

Requirement Value
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