bevy/crates/bevy_pbr/src
Benjamin Brienen b45d83ebda
Rename Add to Queue for methods with deferred semantics (#15234)
# Objective

- Fixes #15106

## Solution

- Trivial refactor to rename the method. The duplicate method `push` was
removed as well. This will simpify the API and make the semantics more
clear. `Add` implies that the action happens immediately, whereas in
reality, the command is queued to be run eventually.
- `ChildBuilder::add_command` has similarly been renamed to
`queue_command`.

## Testing

Unit tests should suffice for this simple refactor.

---

## Migration Guide

- `Commands::add` and `Commands::push` have been replaced with
`Commnads::queue`.
- `ChildBuilder::add_command` has been renamed to
`ChildBuilder::queue_command`.
2024-09-17 00:17:49 +00:00
..
cluster Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
deferred Rename rendering components for improved consistency and clarity (#15035) 2024-09-10 01:11:46 +00:00
light Rename Add to Queue for methods with deferred semantics (#15234) 2024-09-17 00:17:49 +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 Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
prepass Remove unnecessary muts in RenderSet::QueueMeshes (#14953) 2024-08-28 11:38:38 +00:00
render Fix floating point math (#15239) 2024-09-16 23:28:12 +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 Rename rendering components for improved consistency and clarity (#15035) 2024-09-10 01:11:46 +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