Skip to main content

render_frame_clocked

Function render_frame_clocked 

Source
pub fn render_frame_clocked(
    background: &IndexedImage,
    graph: &SceneGraph,
    atlas: &GlyphAtlas,
    palette: &IndexedPalette,
    t_ms: u64,
    clock: Clock,
) -> IndexedImage
Expand description

Like render_frame, with an explicit character clock: Clock::Loop makes the character follow the activity’s loop script for a seamless GIF.