Module bevy_render::diagnostic
source · Expand description
Infrastructure for recording render diagnostics.
For more info, see RenderDiagnosticsPlugin
.
Structs§
- Guard returned by
RecordDiagnostics::pass_span
. - Enables collecting render diagnostics, such as CPU/GPU elapsed time per render pass, as well as pipeline statistics (number of primitives, number of shader invocations, etc).
- Guard returned by
RecordDiagnostics::time_span
.
Traits§
- Allows recording diagnostic spans.