Cross Fade effect

This effect combines two images by adding weighted pixels from input images. It has two inputs, named Destination and Source.

The cross fade formula is output = weight * Destination + (1 - weight) * Source.

The CLSID for this effect is CLSID_D2D1CrossFade.

Effect Properties

Display anme and index enumerationType and default valueDescripiton
Weight

D2D1_CROSSFADE_PROP_WEIGHT

FLOAT

0.5f

How much to weigh the source image color values versus the destination image. The minimum value is 0.0f (exclusively use the destination image to determine the output) and the maximum value is 1.0f (exclusively use the source image to determine the output).

 

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: