D2D1_HDRTONEMAP_PROP enumeration (d2d1effects_2.h)
Defines constants that identify the top level properties of the HDR tone map effect. The effect adjusts the maximum luminance of the source image to fit within the maximum output luminance supported. Input and output luminance values are specified in nits. Note that the color space of the target image is assumed to be scRGB.
Syntax
typedef enum D2D1_HDRTONEMAP_PROP {
D2D1_HDRTONEMAP_PROP_INPUT_MAX_LUMINANCE,
D2D1_HDRTONEMAP_PROP_OUTPUT_MAX_LUMINANCE,
D2D1_HDRTONEMAP_PROP_DISPLAY_MODE,
D2D1_HDRTONEMAP_PROP_FORCE_DWORD
} ;
Constants
D2D1_HDRTONEMAP_PROP_INPUT_MAX_LUMINANCE Value: (0) Identifies the InputMaxLuminance property of the effect. The property is of type FLOAT, and is specified in nits. |
D2D1_HDRTONEMAP_PROP_OUTPUT_MAX_LUMINANCE Value: (1) Identifies the OutputMaxLuminance property of the effect. The property is of type FLOAT, and is specified in nits. |
D2D1_HDRTONEMAP_PROP_DISPLAY_MODE Value: (2) Identifies the DisplayMode property of the effect. The property is of type D2D1_HDRTONEMAP_DISPLAY_MODE. |
D2D1_HDRTONEMAP_PROP_FORCE_DWORD Value: (0xFFFFFFFF) |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 Build 20348 |
Minimum supported server | Windows 10 Build 20348 |
Header | d2d1effects_2.h |