D2D1_CONTRAST_PROP enumeration

Identifiers for properties of the Contrast effect.

Syntax


typedef enum D2D1_CONTRAST_PROP { 
  D2D1_CONTRAST_PROP_CONTRAST     = 0,
  D2D1_CONTRAST_PROP_CLAMP_INPUT  = 1
} D2D1_CONTRAST_PROP;

Constants

D2D1_CONTRAST_PROP_CONTRAST

The D2D1_CONTRAST_PROP_CONTRAST property is a float value indicating the amount by which to adjust the contrast of the image. Negative values reduce contrast, while positive values increase contrast. Minimum value is -1.0f, maximum value is 1.0f. The default value for the property is 0.0f.

D2D1_CONTRAST_PROP_CLAMP_INPUT

The D2D1_CONTRAST_PROP_CLAMP_INPUT property is a boolean value indicating whether or not to clamp the input to [0.0, 1.0]. The default value for the property is FALSE.

Requirements

Header

D2d1_effects_2.h

See also

CreateEffect
Built-in Effects
Contrast effect

 

 

Show: