Contents

ColorSyncProfileEstimateGammaWithDisplayID(_:_:)

Estimates the gamma of the profile for the specified display.

Declaration

func ColorSyncProfileEstimateGammaWithDisplayID(_ displayID: Int32, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>?) -> Float

Parameters

  • displayID:

    The system-wide unique display ID (defined by IOKit).

  • error:

    On failure, a pointer to an error describing the problem. Optional.

Return Value

A non-zero value on success, or 0.0 in case of error.

See Also

Reading display gamma and profiles