-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
UI with pixels #90
Comments
There is no need for a render pass to draw a GUI. I haven't tried this yet, but I will see about getting an example written. It will just be based on the "integration" example from the |
I'll to make it work myself but in the meantime I'd also love to see an example like that from as it will probably be better haha |
I'm using |
For anyone else following the conversation, there is an experimental branch which makes those changes, providing a struct with many of the necessary references: Lines 49 to 63 in 00d1255
|
There's currently no way to get a |
That's why these were originally stored as |
Is UI with pixels now possible since #112 got merged? |
Thanks so much for this, I'll try it out! I'm planning on making some sort of 2d shooter with pixel simulation, really hyped for trying this out now 😄 |
* Add Dear ImGui example - Closes #90 * Change argument order to match `render_with` * Remove unnecessary borrow * Refactor error messages * Add a space * Refactor Gui field privacy * Add a menu bar and allow the about window to be closed - The local bool is necessary because the menu bar closures are not allowed to borrow `self` for mutable access while `imgui::Ui<'ui>` is alive. - The token-based menu bar lifetime is even more verbose than this.
Hey, I'm pretty new to graphics programming and wgpu. I was wondering how you'd go about adding UI while using pixels?
Would a library like Iced work, since it has wgpu support?
Is this where you'd use render passes?
The text was updated successfully, but these errors were encountered: