Function webrender::set_profiler_hooks
source ยท pub fn set_profiler_hooks(hooks: Option<&'static dyn ProfilerHooks>)
Expand description
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.