* Make `tracing` feature of dioxus-native enable `tracing` feature of dioxus-native-dom * Native: implement hotreloading of stylesheet assets * Add asset support for native-headless-in-bevy example Signed-off-by: Nico Burns <nico@nicoburns.com> * Remove println statements Signed-off-by: Nico Burns <nico@nicoburns.com> --------- Signed-off-by: Nico Burns <nico@nicoburns.com>
Example: Integrating Dioxus into a Bevy application
This example demonstrates rendering a Dioxus application onto a texture within a Bevy application.
Core Concepts
- Render a headless Dioxus-native app to a texture.
- Share and display the texture on a quad in the Bevy app.
- Transmit mouse and keyboard events from Bevy to Dioxus.
- Events are captured when hovering over elements with the
catch-eventsclass, ensuring only Dioxus receives them.
- Events are captured when hovering over elements with the
- Manage application state through channel messages between Dioxus and Bevy.