Comments (5)
Can you give a bit more context on why you're using this pattern? I'd like to remove sub-apps completely, and want a better sense of the advanced use cases.
from bevy.
I have a UI system (not bevy's!) and want to display bevy views as UI views, and there might be multiples of them. There's a place in the app where I have to tell bevy to render that specific view to wgpu's queue right now (synchronously), which should be achievable by running sub_app.update();
. This shouldn't render the other views, only the one I want right now (because there might be UI elements between two views).
It would be nice to have separate worlds for these views. I thought about using completely separate bevy Apps for this, but then I couldn't share entities when necessary. Also, I'd have to set up all systems for every App again and again.
from bevy.
Okay, so pretty standard multi-world / entity partitioning stuff. Thanks!
As for this issue, please feel free to make a simple PR to expose an API to do so.
from bevy.
I have made a simple PR to expose an API called update_sub_app_by_label
to resolve this issue, could you please verify if this is in line with our expectations?
from bevy.
I have made a simple PR to expose an API called
update_sub_app_by_label
to resolve this issue, could you please verify if this is in line with our expectations?
Yes, thank you!
from bevy.
Related Issues (20)
- Can't upgrade to 0.14, impossible to render `AlphaMask3d` phase items without mesh HOT 3
- Support the `<verb>_parent_in_place()` API for operating on parents instead of children
- lldb hangs 1-2s whenever I press Ctrl+key or Cmd+key for the first time on Mac (since winit v0.30) HOT 1
- "Error: could not compile `bevy_core_pipeline` (lib)" in CI due to SIGSEGV: invalid memory reference HOT 2
- Transform changes after PostUpdate are not reflected in render HOT 2
- Allow rotating the skybox/environment map
- Rename bevy_core::name::DebugName to better fit its implementation HOT 1
- Unsupported GL_EXT_texture_shadow_lod causes panic in PBR pipeline HOT 4
- Include setting RenderAssetUsages into `AsBindGroup`
- Extend `AsBindGroup` macro with support for `RenderAssetUsages`
- MacOS Intel memory leak HOT 3
- Specialized Material Bind Group Layout HOT 2
- Setting next state in OnEnter system is inconsistent if it changes states HOT 1
- Crash in rc.4 using skinned meshes HOT 3
- Apple Pencil double tap events support (`winit`) HOT 2
- Meshlet occlusion culling is bugged at non-power-of-2 window sizes
- Bevy 14 - rc4, Web wasm won't run for MacBook Pro M1. HOT 1
- Update examples to use accumulated mouse input HOT 1
- Log DXC/FXC and shader model at startup on the DirectX12 backend
- Observers missing API for triggers targetting components on a given Entity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bevy.