Skip to content

Possible to hook Bevy into already existing window? #4838

Answered by bjorn3
ericgroom asked this question in Q&A
Discussion options

You must be logged in to vote

This should be possible. I don't think it is possible to keep using winit for window handling if create the window handle yourself. Bevy is modular though, so you can disable bevy_winit and write your own window handling code. I'm not quite sure how to make bevy_render detect your window. You can look at the place bevy_winit is used within bevy_render and do something similar I think.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ericgroom
Comment options

@mike-mortimer
Comment options

@ericgroom
Comment options

@mike-mortimer
Comment options

Answer selected by ericgroom
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