D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA enumeration (d2d1effects_2.h)

Values for the D2D1_HIGHLIGHTSANDSHADOWS_PROP_INPUT_GAMMA property of the Highlights and Shadows effect.

Syntax

typedef enum D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA {
  D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_LINEAR = 0,
  D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_SRGB = 1,
  D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_LINEAR
Value: 0
Indicates the input image is in linear gamma space.
D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_SRGB
Value: 1
Indicates the input image is sRGB gamma space.
D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects_2.h