Create types to store serializable data about the ECS schedule and provide tools for extracting this data.#22520
Conversation
dc577da to
66cb075
Compare
|
This is currently a draft because there's a problem that edges coming from schedule build passes (e.g., auto_insert_apply_deferred) are not being extracted. |
66cb075 to
9d1f0d8
Compare
|
The generated |
db0c487 to
d186888
Compare
73396a4 to
df517e0
Compare
df517e0 to
e35a02d
Compare
|
Your PR caused a change in the graphical output of an example or rendering test. This might be intentional, but it could also mean that something broke! If it's expected, please add the M-Deliberate-Rendering-Change label. If this change seems unrelated to your PR, you can consider updating your PR to target the latest main branch, either by rebasing or merging main into it. |
…ing a default flag.
alice-i-cecile
left a comment
There was a problem hiding this comment.
LGTM now, but please do open an issue about testing all features :) Not a unique problem to this PR, and not one I want to forget about.
| pub fn initialize(&mut self, world: &mut World) -> Result<(), ScheduleBuildError> { | ||
| /// Moves all systems and run conditions out of the [`ScheduleGraph`]. If the schedule is built | ||
| /// successfully, returns [`Some`] with the metadata. If the schedule has previously been built | ||
| /// successfully, returns [`None`]. |
There was a problem hiding this comment.
iiuc, but also if this is potentially confusing to add or initialize is not used in this way, you can reject this suggestion:
| /// successfully, returns [`None`]. | |
| /// successfully and has not changed since previous init, returns [`None`]. |
Co-authored-by: Kevin Chen <chen.kevin.f@gmail.com>
|
This PR made the benchmarks |
Objective
Here are also some non-goals for this PR. These are left as future work:
Solution
Schedule.App.bevy_ecsreturn edges that build passes added.bevy_ecsreturn the "build metadata" to the caller, and also trigger as an event.Testing