imgui-wgpu 0.19.0

A wgpu render backend for imgui-rs.
Documentation

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"