Skip to content

Nelarius/imgui-wgpu-rs

 
 

Repository files navigation

dear imgui wgpu-rs renderer

GitHub Workflow Status Documentation Crates.io License

Draw dear imgui UIs as a wgpu render pass. Based on imgui-gfx-renderer from imgui-rs.

screenshot

Usage

For usage, please have a look at the example.

Example

Run the example with

cargo run --release --example hello-world

Status

Supports wgpu 0.14 and imgui 0.9. winit-0.27 is used with the examples.

Contributions are very welcome.

Troubleshooting

Cargo resolver

Starting with wgpu 0.10, the resolver version needs to be set in your Cargo.toml to avoid build errors:

resolver = "2"

About

Dear imgui renderer for wgpu-rs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 92.3%
  • WGSL 7.7%