D2D1_SATURATION_PROP enumeration

Identifiers for properties of the Saturation effect.

Syntax


typedef enum D2D1_SATURATION_PROP { 
  D2D1_SATURATION_PROP_SATURATION  = 0
} D2D1_SATURATION_PROP;

Constants

D2D1_SATURATION_PROP_SATURATION

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.

Requirements

Header

D2d1effects.h

 

 

Show: