Skip to main content

Module diagnostic

Module diagnostic 

Source
Expand description

Infrastructure for recording render diagnostics.

For more info, see RenderDiagnosticsPlugin.

Structs§

DiagnosticsRecorder
Records diagnostics into QuerySet’s keeping track of the mapping between spans and indices to the corresponding entries in the QuerySet.
ErasedRenderAssetDiagnosticPlugin
Collects diagnostics for a ErasedRenderAsset.
MeshAllocatorDiagnosticPlugin
PassSpanGuard
Guard returned by RecordDiagnostics::pass_span.
RenderAssetDiagnosticPlugin
RenderDiagnosticsPlugin
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).
TimeSpanGuard
Guard returned by RecordDiagnostics::time_span.

Traits§

RecordDiagnostics
Allows recording diagnostic spans.

Functions§

begin_diagnostics_frame
Starts the diagnostics recorder for the frame.
resolve_encoder
Resolves the encoder used for diagnostic recording