engine::occlusion
Structs
OcclusionBox
Axis-aligned bounds used by the occlusion and native-mask pass.
OcclusionStats
Cumulative native-compositing work, independent of canvas replay counters.
Properties
rebuilds
Type: u64
Full structural/presentation reconciliations.
records_updated
Type: u64
Dirty records refreshed outside structural reconciliation.
masks_evaluated
Type: u64
Native masks evaluated by the incremental path.
mask_candidates
Type: u64
Canvas candidates examined for those masks.
Functions
update_node_occlusion
pub fn update_node_occlusion(root_node: &Rc<ExpandedNode>, ctx: &RuntimeContext)
Reconcile structural changes, otherwise update only dirty geometry and overlapping masks.