bevy/crates/bevy_pbr/src
Rich Churcher fd329c0426
Allow to expect (adopted) (#15301)
# Objective

> Rust 1.81 released the #[expect(...)] attribute, which works like
#[allow(...)] but throws a warning if the lint isn't raised. This is
preferred to #[allow(...)] because it tells us when it can be removed.

- Adopts the parts of #15118 that are complete, and updates the branch
so it can be merged.
- There were a few conflicts, let me know if I misjudged any of 'em.

Alice's
[recommendation](https://github.com/bevyengine/bevy/issues/15059#issuecomment-2349263900)
seems well-taken, let's do this crate by crate now that @BD103 has done
the lion's share of this!

(Relates to, but doesn't yet completely finish #15059.)

Crates this _doesn't_ cover:

- bevy_input
- bevy_gilrs
- bevy_window
- bevy_winit
- bevy_state
- bevy_render
- bevy_picking
- bevy_core_pipeline
- bevy_sprite
- bevy_text
- bevy_pbr
- bevy_ui
- bevy_gltf
- bevy_gizmos
- bevy_dev_tools
- bevy_internal
- bevy_dylib

---------

Co-authored-by: BD103 <59022059+BD103@users.noreply.github.com>
Co-authored-by: Ben Frankel <ben.frankel7@gmail.com>
Co-authored-by: Antony <antony.m.3012@gmail.com>
2024-09-20 19:16:42 +00:00
..
cluster Implement percentage-closer soft shadows (PCSS). (#13497) 2024-09-18 18:07:17 +00:00
deferred Implement percentage-closer soft shadows (PCSS). (#13497) 2024-09-18 18:07:17 +00:00
light Implement percentage-closer soft shadows (PCSS). (#13497) 2024-09-18 18:07:17 +00:00
light_probe Reflect derived traits on all components and resources: bevy_pbr (#15224) 2024-09-15 16:07:30 +00:00
lightmap Pack multiple vertex and index arrays together into growable buffers. (#14257) 2024-07-16 20:33:15 +00:00
meshlet simplify std::mem references (#15315) 2024-09-19 21:28:16 +00:00
prepass Remove unnecessary muts in RenderSet::QueueMeshes (#14953) 2024-08-28 11:38:38 +00:00
render simplify std::mem references (#15315) 2024-09-19 21:28:16 +00:00
ssao Reflect derived traits on all components and resources: bevy_pbr (#15224) 2024-09-15 16:07:30 +00:00
ssr Rename rendering components for improved consistency and clarity (#15035) 2024-09-10 01:11:46 +00:00
volumetric_fog Reflect derived traits on all components and resources: bevy_pbr (#15224) 2024-09-15 16:07:30 +00:00
bundle.rs Reflect derived traits on all components and resources: bevy_pbr (#15224) 2024-09-15 16:07:30 +00:00
extended_material.rs Refactor AsBindGroup to use a associated SystemParam. (#14909) 2024-08-25 20:16:34 +00:00
fog.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
lib.rs Allow to expect (adopted) (#15301) 2024-09-20 19:16:42 +00:00
material.rs Reflect derived traits on all components and resources: bevy_pbr (#15224) 2024-09-15 16:07:30 +00:00
parallax.rs bevy_reflect: FromReflect Ergonomics Implementation (#6056) 2023-06-29 01:31:34 +00:00
pbr_material.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
wireframe.rs Reflect derived traits on all components and resources: bevy_pbr (#15224) 2024-09-15 16:07:30 +00:00