D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE enumeration (d2d1effects_2.h)

Values for the D2D1_RGBTOHUE_PROP_OUTPUT_COLOR_SPACE property of the RGB to Hue effect.

Syntax

typedef enum D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE {
  D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_VALUE = 0,
  D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS = 1,
  D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_VALUE
Value: 0
The effect converts from RGB to Hue Saturation Value (HSV).
D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS
Value: 1
The effect converts from RGB to Hue Saturation Lightness (HSL).
D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects_2.h

See also

Built-in Effects

CreateEffect

RGB to Hue effect