bevy/crates/bevy_core_pipeline/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
..
blit resolve all internal ambiguities (#10411) 2024-01-09 19:08:15 +00:00
bloom Add pipeline statistics (#9135) 2024-03-17 20:29:35 +00:00
contrast_adaptive_sharpening Check cfg during CI and fix feature typos (#12103) 2024-02-25 15:19:27 +00:00
core_2d Add pipeline statistics (#9135) 2024-03-17 20:29:35 +00:00
core_3d Add pipeline statistics (#9135) 2024-03-17 20:29:35 +00:00
deferred Disentangle bevy_utils/bevy_core's reexported dependencies (#12313) 2024-03-07 02:30:15 +00:00
fullscreen_vertex_shader Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
fxaa Clean up type registrations (#12314) 2024-03-06 16:05:53 +00:00
prepass Add pipeline statistics (#9135) 2024-03-17 20:29:35 +00:00
skybox Pad SkyUniforms to 16 bytes for WASM (#12078) 2024-02-24 07:46:00 +00:00
taa Rename Core Render Graph Labels (#11882) 2024-02-15 23:15:16 +00:00
tonemapping Replace bevy_log's tracing reexport with bevy_utils' (#12254) 2024-03-02 18:38:04 +00:00
upscaling Async pipeline compilation (#10812) 2024-02-05 13:50:50 +00:00
lib.rs Add "all-features = true" to docs.rs metadata for most crates (#12366) 2024-03-08 20:03:09 +00:00
msaa_writeback.rs Port bevy_core_pipeline to LinearRgba (#12116) 2024-02-26 12:25:11 +00:00