Skip to main content

update_curve

Function update_curve 

Source
pub fn update_curve(
    render_state: &RenderState,
    plot_id: PlotId,
    curve: &CurveData,
)
Expand description

Re-upload the first curve’s vertices in place (dirty update). Convenience for single-curve plots; see update_curve_at for a specific index.