pub struct PostProcessConfig {
pub bloom_enabled: bool,
pub bloom_threshold: f32,
pub bloom_intensity: f32,
pub tonemap_enabled: bool,
pub tonemap_operator: TonemapOperator,
pub exposure: f32,
}Expand description
Post-processing configuration.
Fields§
§bloom_enabled: bool§bloom_threshold: f32§bloom_intensity: f32§tonemap_enabled: bool§tonemap_operator: TonemapOperator§exposure: f32Implementations§
Source§impl PostProcessConfig
impl PostProcessConfig
Trait Implementations§
Source§impl Clone for PostProcessConfig
impl Clone for PostProcessConfig
Source§fn clone(&self) -> PostProcessConfig
fn clone(&self) -> PostProcessConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PostProcessConfig
impl Debug for PostProcessConfig
Auto Trait Implementations§
impl Freeze for PostProcessConfig
impl RefUnwindSafe for PostProcessConfig
impl Send for PostProcessConfig
impl Sync for PostProcessConfig
impl Unpin for PostProcessConfig
impl UnsafeUnpin for PostProcessConfig
impl UnwindSafe for PostProcessConfig
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