API

Interface RenderTaskGpuTiming

GPU time measured for one frame-graph task in one rendered frame.

interface RenderTaskGpuTiming {
    durationMs: number;
    index: number;
    name: string;
}
Index
durationMs: number

GPU duration for this task in milliseconds. Task intervals can overlap and are not additive.

index: number

Execution-order index within the measured frame. Useful when several tasks share the same name.

name: string

The task's existing frame-graph label (Task.name, e.g. "shadow", "scene", "post-process").