bevy/crates/bevy_sprite/src/render
IceSentry f119d9df8e Add DrawFunctionsInternals::id() (#6745)
# Objective

- Every usage of `DrawFunctionsInternals::get_id()` was followed by a `.unwrap()`. which just adds boilerplate.

## Solution

- Introduce a fallible version of `DrawFunctionsInternals::get_id()` and use it where possible.
- I also took the opportunity to improve the error message a little in the case where it fails.

---

## Changelog

- Added `DrawFunctionsInternals::id()`
2022-11-28 13:54:13 +00:00
..
mod.rs Add DrawFunctionsInternals::id() (#6745) 2022-11-28 13:54:13 +00:00
sprite.wgsl separate tonemapping and upscaling passes (#3425) 2022-10-26 20:13:59 +00:00