Skip to main content

collect_dispatched_nodes

Function collect_dispatched_nodes 

Source
fn collect_dispatched_nodes(stage: &Stage) -> Vec<NodeId>
Expand description

Pre-order walk that returns every visible node which needs the slow-path dispatch — either:

  • the container has an advanced BlendMode (Tier C — Overlay, ColorBurn, …) requiring an offscreen backdrop sample, or
  • the container has a MaskShape set in Container::clip, requiring an offscreen mask pass.

Order is pre-order so the auto-dispatch composites in z-order: a later dispatched node sees its earlier siblings (and their composited results) as the backdrop.