Log entry for a single render bin, made up of multiple draw calls.

interface RenderBinStats {
    drawCalls: DrawCallStats[];
    gpuTimeMs?: number;
    name: string;
    timeMs?: TimeMs;
}

Properties

drawCalls: DrawCallStats[]

Draw calls made within this render bin.

gpuTimeMs?: number

GPU time (ms) for this render bin, measured with EXT_disjoint_timer_query_webgl2. Filled in 1–2 frames after the bin ran, once the GPU has reported the query result. Undefined when the extension is unavailable or the result is still pending.

name: string

Name of the render bin.

timeMs?: TimeMs

Time range for this render bin.