pub struct LocalExposure {
pub highlight_contrast: f32,
pub shadow_contrast: f32,
}Expand description
Local exposure: large bright and dark regions drawn toward middle grey (0.18 after the frame’s exposure) before the tone map, local detail kept. Each pixel’s base, a blend of a bilateral grid and a wide Gaussian of the frame’s log2 luminance, has its contrast about middle grey scaled by the side’s contrast; the pixel’s detail over that base is unchanged. At 1, 1, the default, nothing runs.
Fields§
§highlight_contrast: f320..=1: the contrast regions brighter than middle grey keep. 1 leaves them. Clamped; non-finite is 1.
shadow_contrast: f320..=1: the contrast regions darker than middle grey keep. 1 leaves them. Clamped; non-finite is 1.
Trait Implementations§
Source§impl Clone for LocalExposure
impl Clone for LocalExposure
impl Copy for LocalExposure
Source§impl Debug for LocalExposure
impl Debug for LocalExposure
Source§impl PartialEq for LocalExposure
impl PartialEq for LocalExposure
impl StructuralPartialEq for LocalExposure
Auto Trait Implementations§
impl Forget for LocalExposure
impl Freeze for LocalExposure
impl Move for LocalExposure
impl RefUnwindSafe for LocalExposure
impl Send for LocalExposure
impl Sync for LocalExposure
impl Unpin for LocalExposure
impl UnsafeUnpin for LocalExposure
impl UnwindSafe for LocalExposure
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more