Skip to main content

render_pass_timing

Function render_pass_timing 

Source
pub fn render_pass_timing() -> Result<String>
Expand description

Render the pass times that a pass_timing_instrument recorded (transform.instrument.RenderTimePassProfiles).

The result has a line per pass timed on this thread, and is empty when none was.

ยงErrors

Returns an InternalError if a pass is still running, as when a pass calls it.