pub struct Exposure { /* private fields */ }Expand description
What one frame of the draw layer is worth, which depends on how the producer that drew it blends. Both cases are a rate rather than a constant, and for the same reason.
MilkDrop deposits once per rendered frame into a buffer that decays once per
rendered frame, so the two are in step by construction. Here the field decays
per second (decay is rate-converted like every other MilkDrop factor),
which means a 60 Hz display would deposit twice the light per second that a
30 Hz one does into a buffer that fades at the same rate — and the picture
would differ with the refresh, which ADR-0019 exists to prevent. rate is how
many nominal frames of wall clock this frame is, and both branches of
scale convert through it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Exposure
impl RefUnwindSafe for Exposure
impl Send for Exposure
impl Sync for Exposure
impl Unpin for Exposure
impl UnsafeUnpin for Exposure
impl UnwindSafe for Exposure
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