Skip to main content

render

Function render 

Source
pub fn render(
    model: &GraphModel,
    decorations: &Decorations,
    camera: &Camera,
    width: u32,
    height: u32,
    background: Color,
) -> Rendered
Expand description

Build + rasterize model (decorated, under camera) into a w × h frame on the CPU. The single entry point the CpuVello backend drives.