pub struct ColorGrading {
pub global: ColorGradingGlobal,
pub shadows: ColorGradingSection,
pub midtones: ColorGradingSection,
pub highlights: ColorGradingSection,
pub agx_look: AgxLook,
}Expand description
Bevy’s colour grading, applied to the exposed scene before tone mapping,
except global.post_saturation, after it. The default adjustments are
neutral. Settings::tone_mapping selects the display transform.
Fields§
§global: ColorGradingGlobal§shadows: ColorGradingSectionApplied to the darker parts of the image.
midtones: ColorGradingSection§highlights: ColorGradingSectionApplied to the lighter parts of the image.
agx_look: AgxLookApplied only when Settings::tone_mapping selects AgX.
Trait Implementations§
Source§impl Clone for ColorGrading
impl Clone for ColorGrading
impl Copy for ColorGrading
Source§impl Debug for ColorGrading
impl Debug for ColorGrading
Source§impl Default for ColorGrading
impl Default for ColorGrading
Source§impl PartialEq for ColorGrading
impl PartialEq for ColorGrading
impl StructuralPartialEq for ColorGrading
Auto Trait Implementations§
impl Forget for ColorGrading
impl Freeze for ColorGrading
impl Move for ColorGrading
impl RefUnwindSafe for ColorGrading
impl Send for ColorGrading
impl Sync for ColorGrading
impl Unpin for ColorGrading
impl UnsafeUnpin for ColorGrading
impl UnwindSafe for ColorGrading
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