Skip to content

Using slint as a wrapper around a game engine like Bevy #940

Answered by tronical
jrmoulton asked this question in Q&A
Discussion options

You must be logged in to vote

Bevy is using wgpu to render its scene, which can be done using OpenGL ES 3.0. So in theory it may seem possible to combine them. In practice this isn't going to work out of the box, I think it'll require changes on the bevy side as well as Slint.

The basic idea would be to render bevy as an underlay, by bevy and Slint sharing the same command encoder (create at least two render passes). There's a lot of glue missing for that. I hope in the future Slint can support wgpu and such a scenario becomes feasible.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jrmoulton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants