Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imgui wgpu tutorial #110

Closed
benmkw opened this issue Oct 18, 2020 · 1 comment
Closed

imgui wgpu tutorial #110

benmkw opened this issue Oct 18, 2020 · 1 comment

Comments

@benmkw
Copy link
Contributor

benmkw commented Oct 18, 2020

we could have a showcase for imgui-rs which describes how the crates involved relate

in short:

wgpu = "^0.6.0"
winit = "^0.22.2" # opening windows and handling input
futures = "^0.3.5" # executing async functions using blocking executor
imgui = "^0.5.0"
imgui-winit-support = "^0.5.0" # connection of input (keys) to imgui
imgui-wgpu = "^0.11.0" # imgui backend for drawing using wgpu

something like this https://github.com/Yatekii/imgui-wgpu-rs/blob/master/examples/hello_world.rs
there is also imgui plotting now btw. https://github.com/4bb4/implot-rs

maybe also something how a wgpu backend for imgui works, it apparently gets lists of commands and then draws them
https://github.com/Yatekii/imgui-wgpu-rs/blob/fce781b5aaa9de40c98a1e5aa187d587c84b9c4b/src/lib.rs#L482-L497

As imgui is pretty popular for game UI I think this would be helpful and I found it to be really convenient to use so far :)

@sotrh sotrh mentioned this issue Nov 10, 2020
7 tasks
@sotrh
Copy link
Owner

sotrh commented Nov 24, 2020

Fixed in #126

@sotrh sotrh closed this as completed Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants