pub struct TransitionContext {
pub pps: u32,
}Expand description
Callback that generates a transition plan between frames.
Called with the last point of the outgoing frame and the first point of
the incoming frame. Returns a TransitionPlan describing how to handle
the seam.
Self-loops (A→A) also run through this callback, so transition planning is consistent regardless of whether the frame changed. Runtime values available when a seam is newly composed.
Fields§
§pps: u32Current session output rate.
Trait Implementations§
Source§impl Clone for TransitionContext
impl Clone for TransitionContext
impl Copy for TransitionContext
Source§impl Debug for TransitionContext
impl Debug for TransitionContext
impl Eq for TransitionContext
Source§impl PartialEq for TransitionContext
impl PartialEq for TransitionContext
impl StructuralPartialEq for TransitionContext
Auto Trait Implementations§
impl Freeze for TransitionContext
impl RefUnwindSafe for TransitionContext
impl Send for TransitionContext
impl Sync for TransitionContext
impl Unpin for TransitionContext
impl UnsafeUnpin for TransitionContext
impl UnwindSafe for TransitionContext
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