Skip to main content

Module cpu

Module cpu 

Source
Expand description

The CPU rasterizer (vello_cpu) — the reference render path. Builds a vello_cpu scene from a GraphModel + Decorations under a Camera and rasterizes it to a straight-RGBA8 pixel buffer (ready for a PNG or an egui texture). vello_cpu is multithreaded-SIMD software rendering: the proof that “vello” is not GPU-only.

Geometry mirrors nornir’s draw_graph: nodes are rounded rects with a kind fill + a ring stroke; edges are PCB-style cubics (mid-break) with a little arrowhead; decorations add ring colours / emphasis edges.

Structs§

Rendered
A rendered frame: straight (un-premultiplied) RGBA8, row-major, w × h.

Functions§

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