Way to disable renderer for specific window. #15278
Labels
A-Rendering
Drawing game state to the screen
A-Windowing
Platform-agnostic interface layer to run your app in
C-Enhancement
A new feature
S-Needs-Design
This issue requires design work to think about how it would best be accomplished
I want to use a different renderer for my game instead of bevy, but still have other debug windows using the bevy renderer.
As such, I'd like there to be a convenient way to prevent bevy_render from running
present
or doing anything with one of the windows created bybevy_winit
(as because of the structure of winit, it'd be somewhat difficult to manually spawn a separate window and have its event loop work with the bevy ecs). Without this, I have a lot of frame flickering since my swapchain ends up conflicting.I have also been able to do this by running
commands.entity(window_entity).remove_component::<RawHandleWrapper>()
, but this is dependent on internals.Alternatively, I suppose I could figure out how to do interop between the graphics apis and bind it to a wgpu texture, but that seems complicated.
The text was updated successfully, but these errors were encountered: