Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Module core/app/debug/renderer-info-sampler

    Per-frame renderer.info sampler for the debug/perf surface.

    Three resets renderer.info.render at the start of every render() call (with the default autoReset), so by the time a probe reads it between frames it holds only the LAST pass of the post-processing chain (a single full-screen quad: calls: 1, triangles: 1). Reading it at frame-end — emitted by the animation loop right after postProcessing.render() — sees the whole frame's counters before the next reset. On the WebGPU backend the counters may lag one frame; they are diagnostics, not assertions.

    Allocation-free on the hot path: one snapshot object is mutated in place per frame and copied only when read.

    RendererInfoSnapshot
    RendererInfoSource
    installRendererInfoSampler
    uninstallRendererInfoSampler
    getRendererInfoSnapshot