mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
64bc811815
# Objective Allow combining render layers with a more-ergonomic syntax than `RenderLayers::from_iter(a.iter().chain(b.iter()))`. ## Solution Add the `or` operation (and corresponding `const` method) to allow computing the union of a set of render layers. While we're here, also added `and` and `xor` operations. Someone might find them useful ## Testing Added a simple unit test. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml | ||
README.md |