Skip to main content

set_image

Function set_image 

Source
pub fn set_image(render_state: &RenderState, plot_id: PlotId, image: &ImageData)
Expand description

Upload image to the GPU and make it the plot’s current image. Requires install to have run first. The image is uploaded once here; the per-frame transform is applied by ImageCallback.