GetBrightness method

Retrieves the settings for the lookup table brightness curve.


HRESULT retVal = object.GetBrightness(pulCount, Weights);


  • pulCount [in, out]
    Type: unsigned long

    Pointer to the number of entries in the brightness curve. This value should be less than or equal to 256.

  • Weights [out]
    Type: float

    Array that holds the brightness curve values. These values should be greater than or equal to zero and are usually around 1.0.


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