bevy/crates/bevy_render/src
Carter Anderson de677dbfc9 Use more ergonomic span syntax (#4246)
Tracing added support for "inline span entering", which cuts down on a lot of complexity:

```rust
let span = info_span!("my_span").entered();
```

This adapts our code to use this pattern where possible, and updates our docs to recommend it.

This produces equivalent tracing behavior. Here is a side by side profile of "before" and "after" these changes.
![image](https://user-images.githubusercontent.com/2694663/158912137-b0aa6dc8-c603-425f-880f-6ccf5ad1b7ef.png)
2022-03-18 04:19:21 +00:00
..
camera use marker components for cameras instead of name strings (#3635) 2022-03-12 00:41:06 +00:00
color Add conversions from Color to u32 (#4088) 2022-03-08 00:46:03 +00:00
mesh Mesh vertex buffer layouts (#3959) 2022-02-23 23:21:13 +00:00
primitives Fixed the frustum-sphere collision and added tests (#4035) 2022-03-08 00:30:41 +00:00
render_graph improve error messages for render graph runner (#3930) 2022-03-07 09:09:24 +00:00
render_phase Expose draw indirect (#4056) 2022-02-28 10:26:49 +00:00
render_resource remove Events from bevy_app, they now live in bevy_ecs (#4066) 2022-03-01 19:33:56 +00:00
renderer Use more ergonomic span syntax (#4246) 2022-03-18 04:19:21 +00:00
texture KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
view Split bevy_hierarchy out from bevy_transform (#4168) 2022-03-15 01:54:05 +00:00
lib.rs Use more ergonomic span syntax (#4246) 2022-03-18 04:19:21 +00:00
render_asset.rs Obviate the need for RunSystem, and remove it (#3817) 2022-03-15 02:16:55 +00:00
render_component.rs Obviate the need for RunSystem, and remove it (#3817) 2022-03-15 02:16:55 +00:00
settings.rs bevy_render: Use RenderDevice to get limits/features and expose AdapterInfo (#3931) 2022-02-16 21:17:37 +00:00