Headroom-adaptive tone mapping that adjusts HDR content to the
display's available headroom.
A tone mapping pairs a baseline headroom with a ``Method`` that
describes how to map content above reference white.
Creates a headroom-adaptive tone mapping.
- Parameters:
- baselineHeadroomStops: The headroom of the source content in
stops above reference white. Must be greater than or equal to `0`.
- method: The tone-mapping method to apply. Defaults to
``Method/referenceWhiteBased``.
- Throws: ``Error/negativeBaselineHeadroom(_:)`` if
`baselineHeadroomStops` is negative.
get · iOS 27.0+
baselineHeadroomStops
TypeScript
get baselineHeadroomStops(): number
Swift declaration
var baselineHeadroomStops: Float
Baseline headroom in stops above reference white.
set · iOS 27.0+
baselineHeadroomStops
TypeScript
set baselineHeadroomStops(value: number)
Swift declaration
var baselineHeadroomStops: Float
Baseline headroom in stops above reference white.
get · iOS 27.0+
method
TypeScript
get method(): ColorSyncProfile_HeadroomAdaptiveGainCurve_ColorVolumeTransform_ToneMapping_Method
Swift declaration
var method: ColorSyncProfile.HeadroomAdaptiveGainCurve.ColorVolumeTransform.ToneMapping.Method
The method used to tone map content above reference white.
set · iOS 27.0+
method
TypeScript
set method(value: ColorSyncProfile_HeadroomAdaptiveGainCurve_ColorVolumeTransform_ToneMapping_Method)
Swift declaration
var method: ColorSyncProfile.HeadroomAdaptiveGainCurve.ColorVolumeTransform.ToneMapping.Method
The method used to tone map content above reference white.