Skip to main content

flatten_scopes

Function flatten_scopes 

Source
pub(crate) fn flatten_scopes(
    scopes: &[GpuTimerQueryResult],
    out: &mut Vec<(String, f64)>,
)
Available on crate feature preview only.
Expand description

Flatten a wgpu-profiler scope tree into (label, μs) pairs.