trackRenderer()
Report the renderer's loading steps into a tracker: pass the result as createRenderer(gpu, scene, { onLoad: trackRenderer(load) }). Each start adds one item to its phase (opening a task if none is open) and each end ticks it with the variant as the label; the task ends when every started step...
function trackRenderer(load: LoadTracker): RendererLoadCallback;Defined in: engine/src/load.ts:481
Report the renderer's loading steps into a tracker: pass the result as
createRenderer(gpu, scene, { onLoad: trackRenderer(load) }). Each start adds one item to its
phase (opening a task if none is open) and each end ticks it with the variant as the label;
the task ends when every started step has ended. Pipelines compiled lazily on a later frame
reopen the pipelines phase, so they show up in the timeline as the stall they are.
Parameters
| Parameter | Type |
|---|---|
load | LoadTracker |