pub enum ToneMapper {
None,
Reinhard,
Aces,
Exposure(f32),
}Expand description
Tone mapping operator.
Variants§
None
Leaves color unchanged.
Reinhard
Reinhard tone mapping.
Aces
ACES-inspired filmic curve.
Exposure(f32)
Exponential exposure curve.
Trait Implementations§
Source§impl Clone for ToneMapper
impl Clone for ToneMapper
Source§fn clone(&self) -> ToneMapper
fn clone(&self) -> ToneMapper
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ToneMapper
Source§impl Debug for ToneMapper
impl Debug for ToneMapper
Source§impl Default for ToneMapper
impl Default for ToneMapper
Source§fn default() -> ToneMapper
fn default() -> ToneMapper
Returns the “default value” for a type. Read more
Source§impl PartialEq for ToneMapper
impl PartialEq for ToneMapper
Source§fn eq(&self, other: &ToneMapper) -> bool
fn eq(&self, other: &ToneMapper) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToneMapper
Auto Trait Implementations§
impl Freeze for ToneMapper
impl RefUnwindSafe for ToneMapper
impl Send for ToneMapper
impl Sync for ToneMapper
impl Unpin for ToneMapper
impl UnsafeUnpin for ToneMapper
impl UnwindSafe for ToneMapper
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