Add an example rendering dioxus-native to a texture in a bevy app (#4427)

Co-authored-by: Jerome Caucat <jerome.caucat@smartshape.com>
This commit is contained in:
Jerome CaucatandJerome Caucat authored and GitHub committed 2025-07-22 13:33:52 +01:00
1 parent 98f7667fb4
commit 86086477d0
9 files changed
+1569

No files matched your search

@@ -0,0 +1,11 @@
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-events` class, ensuring only Dioxus receives them.
- Manage application state through channel messages between Dioxus and Bevy.