HDExposureAdaptation¶
Classes¶
- HDExposureAdaptation : NativeComponent¶
This component provides control over exposure adaptation system in HD Renderer.
Adaptation system automatically adjusts the exposure level based on the mean brightness of the scene on the screen to keep it within a reasonable range.
Usage example:
let renderSettings = create_render_settings()
add_component(renderSettings, new HDExposureAdaptation())
get_component(renderSettings) $(var adaptation : HDExposureAdaptation?) {
adaptation.exposureScale = 2.0
adaptation.brightnessPerceptionPower = 0.8
}
- Properties:
- HDExposureAdaptation.exposureScale: float¶
- HDExposureAdaptation.exposureScale =(value: float)¶
Multiplier applied to the computed auto-exposure value.
- Arguments:
value : float
- HDExposureAdaptation.maxExposure: float¶
- HDExposureAdaptation.maxExposure =(value: float)¶
Maximum allowed exposure value.
- Arguments:
value : float
- HDExposureAdaptation.minExposure: float¶
- HDExposureAdaptation.minExposure =(value: float)¶
Minimum allowed exposure value.
- Arguments:
value : float
- HDExposureAdaptation.downSpeed: float¶
- HDExposureAdaptation.downSpeed =(value: float)¶
Speed at which exposure adapts downward (towards compensating brighter scenes).
- Arguments:
value : float
- HDExposureAdaptation.upSpeed: float¶
- HDExposureAdaptation.upSpeed =(value: float)¶
Speed at which exposure adapts upward (towards compensating darker scenes).
- Arguments:
value : float
- HDExposureAdaptation.brightnessPerceptionPower: float¶
- HDExposureAdaptation.brightnessPerceptionPower =(value: float)¶
Power term of the brightness perception curve. Values below 1.0 make exposure be higher in darker scenes and lower in brighter scenes and vice versa for values above 1.0.
- Arguments:
value : float
- HDExposureAdaptation.centerWeight: float¶
- HDExposureAdaptation.centerWeight =(value: float)¶
Weight of the center region of the screen in the exposure metering. Higher values make the center more influential. Setting it to 0.5 will make brightness be uniformly computed across the screen.
- Arguments:
value : float