[][src]Function webrender::set_profiler_hooks

pub fn set_profiler_hooks(hooks: Option<&'static dyn ProfilerHooks>)

Set the profiler callbacks, or None to disable the profiler. This function must only ever be called before any WR instances have been created, or the hooks will not be set.