implot-rs/implot-examples
4bb4 af760648b6 Added some simple colorscheme setters
These don't properly expose the implot style yet in a way that is
consistent with imgui-rs' handling of styles. This is to be added
later.
2020-11-29 19:21:12 +01:00
..
examples-shared update imgui 0.6 2020-11-29 12:49:26 +01:00
implot-glium-demo Added some simple colorscheme setters 2020-11-29 19:21:12 +01:00
implot-wgpu-demo apply some automatic clippy hints 2020-11-29 12:49:26 +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.