Function sweep_old_entities

Source
pub fn sweep_old_entities<BPI>(
    render_phases: ResMut<'_, ViewBinnedRenderPhases<BPI>>,
)
where BPI: BinnedPhaseItem,
Expand description

Removes entities that became invisible or changed phases from the bins.

This must run after queuing.