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.
pub fn sweep_old_entities<BPI>(
render_phases: ResMut<'_, ViewBinnedRenderPhases<BPI>>,
)where
BPI: BinnedPhaseItem,
Removes entities that became invisible or changed phases from the bins.
This must run after queuing.