D2D1_SATURATION_PROP enumeration (d2d1effects.h)

Identifiers for properties of the Saturation effect.

Syntax

typedef enum D2D1_SATURATION_PROP {
  D2D1_SATURATION_PROP_SATURATION = 0,
  D2D1_SATURATION_PROP_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_SATURATION_PROP_SATURATION
Value: 0
The saturation of the image. You can set the saturation to a value between 0 and 1. If you set it to 1 the output image is fully saturated.
If you set it to 0 the output image is monochrome. The saturation value is unitless.


The type is FLOAT.

The default is 0.5f.
D2D1_SATURATION_PROP_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects.h