IDXLUTBuilder::SetBrightness Method

This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9 and obsolete as of Internet Explorer 10.

Sets the values for the lookup table brightness curve.

Syntax


HRESULT SetBrightness(
    ULONG ulCount,
    const float Weights[]
);

Parameters

ulCount
[in] Number of entries in the brightness curve. This value should be less than or equal to 256.
Weights
[in] Array that holds the brightness curve values. These values should be greater than or equal to zero and are usually around 1.0.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

Remarks

For brightness adjustment, each color channel value is multiplied by the Weights value. The adjustment is applied in ulCount steps over the 256 values of the lookup table.

Community Additions

ADD
Show:
© 2014 Microsoft