implot-rs/implot-examples
4bb4 5177415a25 Upgraded to imgui-rs 0.7, see comments.
- The glium example was upgraded as well and works.
- The wgpu example was not yet touched in this commit, it will
  require a version of imgui-wgpu that points to imgui-rs 0.7.0
  as well to work.
2021-09-12 11:44:04 +02:00
..
examples-shared Upgraded to imgui-rs 0.7, see comments. 2021-09-12 11:44:04 +02:00
implot-glium-demo Upgraded to imgui-rs 0.7, see comments. 2021-09-12 11:44:04 +02:00
implot-wgpu-demo Added support for linked axes. See comments. 2021-05-30 11:56:14 +02: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.