bevy/crates/bevy_ui/src/render
Brian Merchant 66f495c44e Cleaning up NodeBundle, and some slight UI module re-organization (#6473)
# Objective

`NodeBundle` contains an `image` field, which can be misleading, because if you do supply an image there, nothing will be shown to screen. You need to use an `ImageBundle` instead.

## Solution

* `image` (`UiImage`) field is removed from `NodeBundle`, 
* extraction stage queries now make an optional query for `UiImage`, if one is not found, use the image handle that is used as a default by `UiImage`: c019a60b39/crates/bevy_ui/src/ui_node.rs (L464)
* touching up docs for `NodeBundle` to help guide what `NodeBundle` should be used for
* renamed `entity.rs` to `node_bundle.rs` as that gives more of a hint regarding the module's purpose
* separating `camera_config` stuff from the pre-made UI node bundles so that `node_bundle.rs` makes more sense as a module name.
2022-11-05 20:48:15 +00:00
..
mod.rs Cleaning up NodeBundle, and some slight UI module re-organization (#6473) 2022-11-05 20:48:15 +00:00
pipeline.rs Specialize UI pipeline on "hdr-ness" (#6459) 2022-11-03 21:14:03 +00:00
render_pass.rs Use new let-else syntax where possible (#6463) 2022-11-04 21:32:09 +00:00
ui.wgsl adjust cluster index for viewport origin (#5947) 2022-09-15 21:58:14 +00:00