IDCompositionBrightnessEffect::SetWhitePoint method (dcomp.h)
Sets the upper portion of the brightness transfer curve.
Syntax
HRESULT SetWhitePoint(
[in, ref] const D2D1_VECTOR_2F & whitePoint
);
Parameters
[in, ref] whitePoint
Type: const D2D1_VECTOR_2F
The upper portion of the brightness transfer curve. The white point adjusts the appearance of the brighter portions of the image. This vector is for both the x value and the y value, in that order. Each of the values must be between 0 and 1, inclusive.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dcomp.h |
Library | Dcomp.lib |
DLL | Dcomp.dll |