Skip to main content

render_frame_with_art

Function render_frame_with_art 

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

Composites one frame with the given art (built-in, or a saved scene’s).