Skip to content

kylc/imgui-wgpu-rs

 
 

Repository files navigation

dear imgui wgpu-rs renderer

GitHub Workflow Status Crates.io Documentation 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.12 and imgui 0.8. winit-0.26 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

Packages

No packages published

Languages

  • Rust 100.0%