bevy/crates/bevy_pbr/src
JaySpruce 058497e0bb
Change Commands::get_entity to return Result and remove panic from Commands::entity (#18043)
## Objective

Alternative to #18001.

- Now that systems can handle the `?` operator, `get_entity` returning
`Result` would be more useful than `Option`.
- With `get_entity` being more flexible, combined with entity commands
now checking the entity's existence automatically, the panic in `entity`
isn't really necessary.

## Solution

- Changed `Commands::get_entity` to return `Result<EntityCommands,
EntityDoesNotExistError>`.
- Removed panic from `Commands::entity`.
2025-02-27 21:05:16 +00:00
..
atmosphere Use dual-source blending for rendering the sky (#17672) 2025-02-10 23:53:53 +00:00
cluster Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
decal Build batches across phases in parallel. (#17764) 2025-02-13 00:02:20 +00:00
deferred Remove prepasses from the render world when they're removed from the main world. (#17565) 2025-02-14 06:43:35 +00:00
light Don't mark newly-hidden meshes invisible until all visibility-determining systems run. (#17922) 2025-02-18 09:35:22 +00:00
light_probe Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
lightmap Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
meshlet Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
prepass Allow prepass to run without ATTRIBUTE_NORMAL (#17881) 2025-02-24 21:22:34 +00:00
render Change Commands::get_entity to return Result and remove panic from Commands::entity (#18043) 2025-02-27 21:05:16 +00:00
ssao Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
ssr Update typos to 1.29.6 (#17850) 2025-02-13 19:44:47 +00:00
volumetric_fog Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
components.rs Support non-Vec data structures in relations (#17447) 2025-01-20 21:26:08 +00:00
extended_material.rs Use global binding arrays for bindless resources. (#17898) 2025-02-21 05:55:36 +00:00
fog.rs Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
lib.rs Implement occlusion culling for directional light shadow maps. (#17951) 2025-02-21 05:56:15 +00:00
material_bind_groups.rs Add a new #[data] attribute to AsBindGroup that allows packing data for multiple materials into a single array. (#17965) 2025-02-24 21:38:55 +00:00
material.rs Cache opaque deferred entities so we don't have to continuously re-queue them. (#18007) 2025-02-24 21:44:24 +00:00
mesh_material.rs impl Eq/PartialEq for MeshMaterial{2|3}d (#17990) 2025-02-23 23:58:10 +00:00
parallax.rs
pbr_material.rs Add a new #[data] attribute to AsBindGroup that allows packing data for multiple materials into a single array. (#17965) 2025-02-24 21:38:55 +00:00
wireframe.rs Change Commands::get_entity to return Result and remove panic from Commands::entity (#18043) 2025-02-27 21:05:16 +00:00