pub fn prepare_uimaterial_nodes<M>(
    commands: Commands<'_, '_>,
    render_device: Res<'_, RenderDevice>,
    render_queue: Res<'_, RenderQueue>,
    ui_meta: ResMut<'_, UiMaterialMeta<M>>,
    extracted_uinodes: ResMut<'_, ExtractedUiMaterialNodes<M>>,
    view_uniforms: Res<'_, ViewUniforms>,
    globals_buffer: Res<'_, GlobalsBuffer>,
    ui_material_pipeline: Res<'_, UiMaterialPipeline<M>>,
    phases: Query<'_, '_, &mut RenderPhase<TransparentUi>>,
    previous_len: Local<'_, usize>
)
where M: UiMaterial,