implot-rs/implot-examples
4bb4 6179cf1f8d Locked imgui versions down more. See comments.
Due to the yanking of imgui-winit-support 0.6.1, builds that did
not have a lock file started failing in places. I've now locked
the versions of imgui and friends to exactly 0.6.0 to avert those
issues for the time being, with the longer-term fix being the
upgrade of all those to 0.7.0 in #13.
2021-02-06 10:02:58 +01:00
..
examples-shared Locked imgui versions down more. See comments. 2021-02-06 10:02:58 +01:00
implot-glium-demo Locked imgui versions down more. See comments. 2021-02-06 10:02:58 +01:00
implot-wgpu-demo Locked imgui versions down more. See comments. 2021-02-06 10:02:58 +01:00
README.md Brought WebGPU demo into same structure as Glium demo 2020-10-30 14:37:08 +01:00

Examples

This folder contains examples that demonstrate how to use the Rust bindings. Things are structured as follows:

  • examples-shared is a library crate that contains the actual usage examples. It is used in the backend-specific crates.
  • implot-glium-demo is an example for using implot-rs in conjunction with a Glium backend.
  • implot-wgpu-demo is an example for using implot-rs in conjunction with a WebGPU backend

If you want to just copy-paste code to start with, copy examples-shared along with your favourite backend example crate. The glium backend code is largely taken from imgui-rs.