Expand description
Brush graph evaluation runtime.
The runner takes a compiled ExecutionPlan, a table of evaluator
closures, and a flat Vec<Option<ScalarValue>> slot table. Per-dab
evaluation is zero-heap-allocation: the slot table is pre-sized and
reused across dabs.
Structs§
- Brush
Cursor Preview Info - Canvas-space positioning info read from the graph’s cursor-preview
terminal after a cursor-preview-mode evaluation. Consumed by the
overlay to place the
KIND_MASKED_STAMPprimitive (the cursor halo) — the cursor-preview mask texture itself is bound to the overlay separately. Rotation lives in the mask texture, not on the primitive: the compiled brush pipeline bakesshape.rotation_inputandview_rotationinto the rendered mask via the skeleton’stheta, so the overlay quad samples an already-oriented mask. - Brush
Graph Runner - A compiled, ready-to-run brush graph with pre-allocated slot table.
- Eval
Context - Context passed to each node’s CPU evaluator.
Traits§
- Brush
Node Evaluator - Trait implemented by each node to produce output values.