Add a bevy-texture example based on wgpu-texture (#4360)

* Add a bevy-texture example based on wgpu-texture

* Use git branch of Blitz

* Update existing code to new blitz

* Use Device from Dioxus for bevy

* Use ManualTextureView

Signed-off-by: Nico Burns <nico@nicoburns.com>

* Fix texture size on window resize

* Clean code

* Rename example to 'bevy-example' in 'bevy' directory

* Upgrade to blitz 0.1.0-alpha.5 and anyrender 0.4

* Install alsa in CI

Signed-off-by: Nico Burns <nico@nicoburns.com>

* Add libudev to CI

Signed-off-by: Nico Burns <nico@nicoburns.com>

---------

Signed-off-by: Nico Burns <nico@nicoburns.com>
Co-authored-by: Jerome Caucat <jerome.caucat@smartshape.com>
Co-authored-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
authored and GitHub committed 2025-07-04 22:01:00 +01:00
1 parent a66bffb487
commit 5495bcedb4
14 files changed
+2426 -79

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
[package]
name = "bevy-example"
version = "0.0.0"
edition = "2021"
license = "MIT"
publish = false
[features]
default = ["desktop"]
desktop = ["dioxus/desktop"]
native = ["dioxus/native"]
tracing = ["dep:tracing-subscriber", "dioxus-native/tracing"]
[dependencies]
bevy = { version = "0.16" }
dioxus-native = { path = "../../packages/native" }
dioxus = { workspace = true }
wgpu = "24"
color = "0.3"
tracing-subscriber = { workspace = true, optional = true }