Compact render summary for the last WebGPU frame rendered for one View.

interface WebGPUViewRenderStats {
    commandState: WebGPUViewCommandEncoderStats;
    cpuTime: WebGPUViewRenderCPUTimeStats;
    frameTimeMs: number;
    numBatches: number;
    numDrawCalls: number;
    numMeshesUsingRTCFallback: number;
    numMeshesWithRTCTile: number;
    numPrimitives: number;
    numRTCTileMatrixUploads: number;
    numRTCTiles: number;
    renderBins: WebGPUViewRenderBinStats[];
    renderBundleStats: WebGPUViewRenderBundleStats;
}

Properties

WebGPU command encoder state-change and indirect draw-call counts.

CPU timing breakdown for the frame.

frameTimeMs: number

Total measured frame CPU time, in milliseconds.

numBatches: number

Total packed batches submitted for the View.

numDrawCalls: number

Total draw calls submitted for the View.

numMeshesUsingRTCFallback: number

Number of meshes rendered through the origin tile fallback.

numMeshesWithRTCTile: number

Number of meshes rendered with an assigned RTC tile.

numPrimitives: number

Total triangle or edge primitives submitted for the View.

numRTCTileMatrixUploads: number

Number of RTC tile matrix uploads performed for the rendered frame.

numRTCTiles: number

Number of RTC tiles tracked for the rendered frame.

Per-bin draw-call and primitive counts.

renderBundleStats: WebGPUViewRenderBundleStats

Render-bundle cache activity for the View.