https://github.com/dioxuslabs/bedina
Bevy <-> Dioxus Native integration
https://github.com/dioxuslabs/bedina
Last synced: about 2 months ago
JSON representation
Bevy <-> Dioxus Native integration
- Host: GitHub
- URL: https://github.com/dioxuslabs/bedina
- Owner: DioxusLabs
- License: apache-2.0
- Created: 2026-04-09T11:47:25.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-05-11T15:04:29.000Z (3 months ago)
- Last Synced: 2026-05-11T15:35:42.675Z (3 months ago)
- Homepage:
- Size: 188 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Bedina
Integration examples for **BE**vy and **DI**oxus **NA**tive (and potentially in future a library).
Bevy is a game engine with 3D rendering capabilities. Dioxus Native is an HTML/CSS renderer with a Rust-based reactivity framework (Dioxus) on top. Both Bevy and Dioxus Native render using wgpu, so the there is potential to render 3D content with Bevy with UI rendered using Dioxus Native.
This repo contains examples of two different ways of doing this:
- The `bevy-in-dioxus-native` example has Dioxus Native as the top-level entity which owns the window and event loop. In this mode, Bevy renders itself to texture using a wgpu Device provided to it by Blitz inside a Blitz custom widget.
- The `dioxus-native-in-bevy` example has Bevy as the top-level entity which owns the window and event loop. In this mode, Dioxus Native renders itself to texture using a wgpu Device provided to it by Bevy.