Replies: 2 comments 8 replies
-
There is If you don't want to implement let system = my_system.system();
resources.insert_local(system.id(), concurrent_buffer); This will improve in Bevy 0.5. |
Beta Was this translation helpful? Give feedback.
7 replies
-
Idle thinking: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I find the system local command buffers very useful, however I wish there were a concurrent alternative.
I have a lot of parallelizable queries in my application where I very rarely need to actually mutate the world, for example:
I could put the command buffer behind a mutex, then use that mutex in the parallel query to submit commands, but I feel like this is not the most optimized way (concurrent queues could be better?) or the most ergonomic.
I also can't declare my own system local ressource (I might be wrong?) so I can't develop this myself.
Anyway, tell me what you think.
Beta Was this translation helpful? Give feedback.
All reactions