bevy/crates/bevy_core_pipeline/src
Carter Anderson f83de49b7a
Rename Core Render Graph Labels (#11882)
# Objective

#10644 introduced nice "statically typed" labels that replace the old
strings. I would like to propose some changes to the names introduced:

* `SubGraph2d` -> `Core2d` and `SubGraph3d` -> `Core3d`. The names of
these graphs have been / should continue to be the "core 2d" graph not
the "sub graph 2d" graph. The crate is called `bevy_core_pipeline`, the
modules are still `core_2d` and `core_3d`, etc.
* `Labels2d` and `Labels3d`, at the very least, should not be plural to
follow naming conventions. A Label enum is not a "collection of labels",
it is a _specific_ Label. However I think `Label2d` and `Label3d` is
significantly less clear than `Node2d` and `Node3d`, so I propose those
changes here. I've done the same for `LabelsPbr` -> `NodePbr` and
`LabelsUi` -> `NodeUi`

Additionally, #10644 accidentally made one of the Camera2dBundle
constructors use the 3D graph instead of the 2D graph. I've fixed that
here.
 
---

## Changelog

* Renamed `SubGraph2d` -> `Core2d`, `SubGraph3d` -> `Core3d`, `Labels2d`
-> `Node2d`, `Labels3d` -> `Node3d`, `LabelsUi` -> `NodeUi`, `LabelsPbr`
-> `NodePbr`
2024-02-15 23:15:16 +00:00
..
blit resolve all internal ambiguities (#10411) 2024-01-09 19:08:15 +00:00
bloom Rename Core Render Graph Labels (#11882) 2024-02-15 23:15:16 +00:00
contrast_adaptive_sharpening Rename Core Render Graph Labels (#11882) 2024-02-15 23:15:16 +00:00
core_2d Rename Core Render Graph Labels (#11882) 2024-02-15 23:15:16 +00:00
core_3d Rename Core Render Graph Labels (#11882) 2024-02-15 23:15:16 +00:00
deferred Multithreaded render command encoding (#9172) 2024-02-09 07:35:35 +00:00
fullscreen_vertex_shader Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
fxaa Rename Core Render Graph Labels (#11882) 2024-02-15 23:15:16 +00:00
prepass Multithreaded render command encoding (#9172) 2024-02-09 07:35:35 +00:00
skybox New Exposure and Lighting Defaults (and calibrate examples) (#11868) 2024-02-15 20:42:48 +00:00
taa Rename Core Render Graph Labels (#11882) 2024-02-15 23:15:16 +00:00
tonemapping mipmap levels can be 0 and they should be interpreted as 1 (#11767) 2024-02-11 22:00:07 +00:00
upscaling Async pipeline compilation (#10812) 2024-02-05 13:50:50 +00:00
lib.rs Inverse missing_docs logic (#11676) 2024-02-03 21:40:55 +00:00
msaa_writeback.rs Rename Core Render Graph Labels (#11882) 2024-02-15 23:15:16 +00:00