Struct sixtyfps_corelib::animations::AnimationDriver [−][src]
pub struct AnimationDriver { /* fields omitted */ }
Expand description
The AnimationDriver
Implementations
Iterates through all animations based on the new time tick and updates their state. This should be called by the windowing system driver for every frame.
Returns true if there are any active or ready animations. This is used by the windowing system to determine if a new animation frame is required or not. Returns false otherwise.
Tell the driver that there are active animations
The current instant that is to be used for animation using this function register the current binding as a dependency