pub fn extract_meshes(
    render_mesh_instances: ResMut<'_, RenderMeshInstances>,
    thread_local_queues: Local<'_, ThreadLocal<Cell<Vec<(Entity, RenderMeshInstance)>>>>,
    meshes_query: Extract<'_, '_, Query<'_, '_, (Entity, &ViewVisibility, &GlobalTransform, Option<&PreviousGlobalTransform>, &Handle<Mesh>, Has<NotShadowReceiver>, Has<TransmittedShadowReceiver>, Has<NotShadowCaster>, Has<NoAutomaticBatching>)>>
)