bevy/crates/bevy_render
Patrick Walton 556b750782
Set late indirect parameter offsets every frame again. (#17736)
PR #17684 broke occlusion culling because it neglected to set the
indirect parameter offsets for the late mesh preprocessing stage if the
work item buffers were already set. This PR moves the update of those
values to a new function, `init_work_item_buffers`, which is
unconditionally called for every phase every frame.

Note that there's some complexity in order to handle the case in which
occlusion culling was enabled on one frame and disabled on the next, or
vice versa. This was necessary in order to make the occlusion culling
toggle in the `occlusion_culling` example work again.
2025-02-09 06:02:39 +00:00
..
macros Bump Version after Release (#17176) 2025-01-06 00:04:44 +00:00
src Set late indirect parameter offsets every frame again. (#17736) 2025-02-09 06:02:39 +00:00
Cargo.toml Retain bins from frame to frame. (#17698) 2025-02-08 20:13:33 +00:00
README.md Add README.md to all crates (#13184) 2024-05-02 18:56:00 +00:00

Bevy Render

License Crates.io Downloads Docs Discord