Crate puffin_egui

Crate puffin_egui 

Source
Expand description

Bindings for showing puffin profile scopes in egui.

Usage:

puffin_egui::profiler_window(&egui_ctx);

Re-exports§

pub use egui;
pub use puffin;

Structs§

AvailableFrames
The frames we can chose between when selecting what frame(s) to view.
GlobalProfilerUi
Show puffin::GlobalProfiler, i.e. profile the app we are running in.
Paused
ProfilerUi
Contains settings for the profiler.
SelectedFrames
Selected frames ready to be viewed. Never empty.
Streams
Multiple streams for one thread.

Enums§

MaybeMutRef
A reference to a value that is maybe mutable.
View

Functions§

profiler_ui
Show the profiler.
profiler_window
Show an egui::Window with the profiler contents.
show_viewport_if_enabled
Show the puffin profiler if puffin::are_scopes_on is true, i.e. if profiling is enabled for your app.