implot-rs/implot-examples
2020-10-30 12:51:57 +01:00
..
examples-shared Reworked glium demo to use the shared example code 2020-10-30 12:42:14 +01:00
implot-glium-demo Reworked glium demo to use the shared example code 2020-10-30 12:42:14 +01:00
implot-wgpu-examples Added some comments, updated README with progress notes 2020-10-30 12:51:57 +01:00
README.md Added some comments, updated README with progress notes 2020-10-30 12:51:57 +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-examples is an example for using implot-rs in conjunction with a Glium backend.
  • implot-wgpu-examples is an example for using implot-rs in conjunction with a WebGPU backend (work in progress, this uses wgpu, but does currently not make use of examples-shared yet and has not been refactored to look the same as the glium example structurally)

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.