imgui-wgpu 0.17.2

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

Uses wgpu-0.10 upstream. Compatible with all imgui versions after 0.1. winit-0.25 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"