bevy/crates/bevy_pbr/src
LeshaInc 737b719dda
Add pipeline statistics (#9135)
# Objective

It's useful to have access to render pipeline statistics, since they
provide more information than FPS alone. For example, the number of
drawn triangles can be used to debug culling and LODs. The number of
fragment shader invocations can provide a more stable alternative metric
than GPU elapsed time.

See also: Render node GPU timing overlay #8067, which doesn't provide
pipeline statistics, but adds a nice overlay.

## Solution

Add `RenderDiagnosticsPlugin`, which enables collecting pipeline
statistics and CPU & GPU timings.

---

## Changelog

- Add `RenderDiagnosticsPlugin`
- Add `RenderContext::diagnostic_recorder` method

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-03-17 20:29:35 +00:00
..
deferred Rename Core Render Graph Labels (#11882) 2024-02-15 23:15:16 +00:00
light Extracting ambient light from light.rs, and creating light directory (#12369) 2024-03-13 01:24:00 +00:00
light_probe Disable irradiance volumes on WebGL and WebGPU. (#11909) 2024-02-17 01:49:46 +00:00
lightmap Intern mesh vertex buffer layouts so that we don't have to compare them over and over. (#12216) 2024-03-01 20:56:21 +00:00
prepass bevy_reflect: Remove U32Visitor (#12433) 2024-03-12 06:19:29 +00:00
render Add pipeline statistics (#9135) 2024-03-17 20:29:35 +00:00
ssao Rename Core Render Graph Labels (#11882) 2024-02-15 23:15:16 +00:00
bundle.rs Move EntityHash related types into bevy_ecs (#11498) 2024-02-12 15:02:24 +00:00
extended_material.rs Intern mesh vertex buffer layouts so that we don't have to compare them over and over. (#12216) 2024-03-01 20:56:21 +00:00
fog.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
lib.rs Add "all-features = true" to docs.rs metadata for most crates (#12366) 2024-03-08 20:03:09 +00:00
material.rs stop retrying removed assets (#12505) 2024-03-16 04:49:16 +00:00
parallax.rs
pbr_material.rs update comment on emissive field of StandardMaterial struct to mention large color channel values (#12248) 2024-03-05 16:15:28 +00:00
wireframe.rs Intern mesh vertex buffer layouts so that we don't have to compare them over and over. (#12216) 2024-03-01 20:56:21 +00:00