bevy/crates/bevy_ecs/src
Mike 9cd3165105
Query Joins (#11535)
# Objective

- Add a way to combine 2 queries together in a similar way to
`Query::transmute_lens`
- Fixes #1658

## Solution

- Use a similar method to query transmute, but take the intersection of
matched archetypes between the 2 queries and the union of the accesses
to create the new underlying QueryState.

---

## Changelog

- Add query joins

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-03-11 19:07:36 +00:00
..
entity Document instability of Entity's internal representation (#12249) 2024-03-02 18:37:52 +00:00
identifier fix some typos (#12038) 2024-02-22 18:55:22 +00:00
query Query Joins (#11535) 2024-03-11 19:07:36 +00:00
reflect Move commands module into bevy::ecs::world (#12234) 2024-03-02 23:13:45 +00:00
schedule Simplified backtraces (#12305) 2024-03-10 12:18:59 +00:00
storage Use NonMaxUsize for non-component SparseSets (#12083) 2024-03-03 14:55:27 +00:00
system Query Joins (#11535) 2024-03-11 19:07:36 +00:00
world Remove initialize_resource<T> and friends (#12307) 2024-03-05 16:09:13 +00:00
archetype.rs Query Joins (#11535) 2024-03-11 19:07:36 +00:00
bundle.rs Clean up pointer use in BundleSpawner/BundleInserter (#12269) 2024-03-06 05:52:18 +00:00
change_detection.rs Implement MutUntyped::from(mut_typed) (#12406) 2024-03-10 12:46:50 +00:00
component.rs Remove ComponentStorage and associated types (#12311) 2024-03-05 15:54:52 +00:00
event.rs Fix bug where events are not being dropped (#11528) 2024-02-02 21:14:54 +00:00
lib.rs Add "all-features = true" to docs.rs metadata for most crates (#12366) 2024-03-08 20:03:09 +00:00
removal_detection.rs Docs reflect that RemovalDetection also yields despawned entities (#11795) 2024-02-10 11:18:05 +00:00