20 releases (breaking)

0.18.0 Oct 8, 2021
0.17.1 Sep 22, 2021
0.16.0 Jul 14, 2021
0.14.0 Feb 12, 2021
0.4.1 Nov 4, 2019

#28 in Graphics APIs

Download history 173/week @ 2021-07-03 209/week @ 2021-07-10 279/week @ 2021-07-17 255/week @ 2021-07-24 291/week @ 2021-07-31 264/week @ 2021-08-07 199/week @ 2021-08-14 174/week @ 2021-08-21 127/week @ 2021-08-28 319/week @ 2021-09-04 316/week @ 2021-09-11 263/week @ 2021-09-18 166/week @ 2021-09-25 321/week @ 2021-10-02 322/week @ 2021-10-09 288/week @ 2021-10-16

1,011 downloads per month
Used in less than 6 crates

MIT/Apache

43KB
503 lines

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.11 and imgui 0.8. 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"

Dependencies

~4–7.5MB
~142K SLoC