pub fn prepare_ui_materials<M: UiMaterial>(
    prepare_next_frame: Local<'_, PrepareNextFrameMaterials<M>>,
    extracted_assets: ResMut<'_, ExtractedUiMaterials<M>>,
    render_materials: ResMut<'_, RenderUiMaterials<M>>,
    render_device: Res<'_, RenderDevice>,
    images: Res<'_, RenderAssets<Image>>,
    fallback_image: Res<'_, FallbackImage>,
    pipeline: Res<'_, UiMaterialPipeline<M>>
)