pub struct HdrStats {
pub enabled: bool,
pub tone_map: &'static str,
pub exposure: f32,
pub avg_luminance: f32,
pub exposure_mode: &'static str,
}Expand description
Per-frame HDR rendering statistics.
Fields§
§enabled: bool§tone_map: &'static str§exposure: f32§avg_luminance: f32§exposure_mode: &'static strImplementations§
Source§impl HdrStats
impl HdrStats
pub fn from_state(params: &HdrParams, auto_exp: &AutoExposure) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HdrStats
impl RefUnwindSafe for HdrStats
impl Send for HdrStats
impl Sync for HdrStats
impl Unpin for HdrStats
impl UnsafeUnpin for HdrStats
impl UnwindSafe for HdrStats
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