Skip to main content

extract_shadows

Function extract_shadows 

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

Extract fn that emits one ExtractedShadow per entry in Visuals::shadows. Each shadow is placed at rect.order - 1 + idx so it paints under the source rect and stacked shadows keep source order.