Skip to main content

extract_rects

Function extract_rects 

Source
pub fn extract_rects(main: &mut World, render: &mut World)
Expand description

Default extract fn that emits one ExtractedRect per main-world entity carrying a Transform and a Visuals::fill.

  • Paints in deterministic order via PaintOrder: pre-order document/tree order.
  • Skips entities whose AABB falls fully outside the nearest scroll / overflow-hidden ancestor.