Hatrickek / imgui-wgpu-rs

Dear imgui renderer for wgpu-rs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.13 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.

License:MIT License


Languages

Language:Rust 100.0%