Re:Bevy 0.10: data oriented game engine built in Rust
by lwansbrough on Monday March 06, 2023 @02:38PM
(#35046492)
Hey cart, with WebGPU coming to Chrome in 113/114, how is Bevy looking for supporting the WebGPU target?
[ Parent
| on HN ]
Re:Bevy 0.10: data oriented game engine built in Rust
by _cart on Monday March 06, 2023 @03:21PM
(#35047032)
We've already gotten it working! https://github.com/bevyengine/bevy/pull/5027
The only reason we haven't merged it yet is we need to sort out a high level "app api" thing: WebGPU requires async init (as in the Rust async feature). The PR above solves this by making our plugin init async. This is the most straightforward, but it makes people put `.await` in their app init, which we're not sure is the right call yet. We're discussing alternatives that might "encapsulate" the async.
Re:Bevy 0.10: data oriented game engine built in Rust
by lwansbrough on Monday March 06, 2023 @03:32PM
(#35047159)
Great news, thanks for the update.
Re:Bevy 0.10: data oriented game engine built in Rust
by rektide on Monday March 06, 2023 @03:33PM
(#35047174)
FWIW there is a ~8 month old PR that purported to add WebGPU support. https://github.com/bevyengine/bevy/pull/5027