pub struct ToneMapping {
pub intensity_target: f32,
pub min_nits: f32,
pub relative_to_max_display: bool,
pub linear_below: f32,
/* private fields */
}
Expand description
HDR tone mapping metadata.
Fields§
§intensity_target: f32
§min_nits: f32
§relative_to_max_display: bool
§linear_below: f32
Trait Implementations§
source§impl<Ctx: Copy> Bundle<Ctx> for ToneMapping
impl<Ctx: Copy> Bundle<Ctx> for ToneMapping
source§impl<Ctx: Copy> BundleDefault<Ctx> for ToneMapping
impl<Ctx: Copy> BundleDefault<Ctx> for ToneMapping
source§fn default_with_context(_ctx: Ctx) -> Selfwhere
Self: Sized,
fn default_with_context(_ctx: Ctx) -> Selfwhere
Self: Sized,
Creates a default value with the given context.
Auto Trait Implementations§
impl Freeze for ToneMapping
impl RefUnwindSafe for ToneMapping
impl Send for ToneMapping
impl Sync for ToneMapping
impl Unpin for ToneMapping
impl UnwindSafe for ToneMapping
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