Skip to content

Add dear-imgui-rs backend (feature-gated)#77

Open
Latias94 wants to merge 4 commits intojbrd:mainfrom
Latias94:feat/dear-imgui-rs-backend
Open

Add dear-imgui-rs backend (feature-gated)#77
Latias94 wants to merge 4 commits intojbrd:mainfrom
Latias94:feat/dear-imgui-rs-backend

Conversation

@Latias94
Copy link

Hi! I’m the author of dear-imgui-rs ( https://github.com/Latias94/dear-imgui-rs ).

I’m very happy to see you are interested in supporting dear-imgui-rs, so I implemented an experimental backend.

What’s included:

  • Add a new backend behind feature flag dear-imgui-rs (mutually exclusive with default imgui-rs to avoid duplicate native ImGui symbols).
  • Use dear-imgui-rs v0.9.0 + dear-imgui-wgpu v0.9.0 (wgpu 27 for Bevy 0.18).
  • Support ImGui 1.92+ managed textures via a threaded snapshot + feedback flow, and also keep the legacy TextureId path (DearImguiContext::register_bevy_texture).
  • Add examples: dear-minimal and dear-custom-texture.
  • CI runs both backends separately (no --all-features).

- Add mutually-exclusive backend selection via features
- Integrate dear-imgui-rs + dear-imgui-wgpu (wgpu 27)
- Add threaded snapshot/feedback path for managed textures
- Add dear-minimal example (run with --no-default-features --features dear-imgui-rs)
Run CI for imgui-rs (default) and dear-imgui-rs backends separately; avoid --all-features due to mutual exclusivity.
Add usage notes and mention managed textures + legacy TextureId support.
Add dear-custom-texture example demonstrating DearImguiContext::register_bevy_texture + ui.image(TextureId, size).
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

Successfully merging this pull request may close these issues.

1 participant

Comments