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)
- Example for saving assets HOT 1
- Add Stochastic Screen-Space Reflections HOT 3
- Implement `Resource` for `()` HOT 1
- Buildable `ParamSet` HOT 1
- Shadows disabled when second camera is activated HOT 1
- `World::clear_entities` causes observer logic to break safety HOT 1
- Observers that can observe multiple different event types HOT 4
- Grid gizmo seems hard to handle
- More anti-aliasing options HOT 5
- Create a custom diagnostic for observer system params order HOT 1
- `build-wasm-atomics` job is failing HOT 1
- Meshlet simplification might be a bottleneck in bevy's Nanite solution HOT 10
- `build-wasm-atomics` CI check failing HOT 2
- Improve CompressedImageSaver
- `msaa_writeback` is inefficient
- Add a SystemParam that gives a resource and the previous value of that resource HOT 1
- Poor performance with Query::iter_combinations_mut compared to a similar algorithm in a Nannou project HOT 7
- Improve update_mesh_previous_global_transforms() performance HOT 3
- Time-keeping broken with `UpdateMode::Reactive` (X11 and WASM) HOT 2
- Document all_tuples_with_size, and its difference to all_tuples
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.