bevy/crates/bevy_sprite/src
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
..
mesh2d Add DrawFunctionsInternals::id() (#6745) 2022-11-28 13:54:13 +00:00
render Add DrawFunctionsInternals::id() (#6745) 2022-11-28 13:54:13 +00:00
bundle.rs Visibilty Inheritance, universal ComputedVisibility and RenderLayers support (#5310) 2022-07-15 23:24:42 +00:00
collide_aabb.rs Add more documentation and tests to collide_aabb::collide() (#5910) 2022-09-12 01:25:34 +00:00
dynamic_texture_atlas_builder.rs Move sprite::Rect into bevy_math (#5686) 2022-09-02 12:35:23 +00:00
lib.rs Revert "Show prelude re-exports in docs (#6448)" (#6449) 2022-11-02 20:40:45 +00:00
sprite.rs Sprite: allow using a sub-region (Rect) of the image (#6014) 2022-09-18 22:49:27 +00:00
texture_atlas_builder.rs Move sprite::Rect into bevy_math (#5686) 2022-09-02 12:35:23 +00:00
texture_atlas.rs add ReflectAsset and ReflectHandle (#5923) 2022-10-28 20:42:33 +00:00