pub fn check_entities_needing_specialization<M>(
needs_specialization: Query<'_, '_, Entity, (Or<(Changed<Mesh3d>, AssetChanged<Mesh3d>, Changed<MeshMaterial3d<M>>, AssetChanged<MeshMaterial3d<M>>)>, With<MeshMaterial3d<M>>)>,
par_local: Local<'_, Parallel<Vec<Entity>>>,
entities_needing_specialization: ResMut<'_, EntitiesNeedingSpecialization<M>>,
)where
M: Material,