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

    Function installDebugPerfInstruments

    • Turn on the debug perf instruments.

      • Lazy-LOD-load per-stage timing plus additive per-level ladder timing (__luxarDebug.getLodLoadStats()): the lazy ensureLoaded loads run outside any updateView cycle, so the UpdateProfiler never captures them.
      • The scene.getObjectByName call counter (patches a three prototype).
      • The renderer.info sampler behind getPerf().rendererInfo: between frames Three's autoReset leaves only the last post-processing pass in it. The renderer is read through getRenderer at every frame, so it may resolve to nothing until the app has built one. Re-installing replaces the prior subscription.

      Parameters

      Returns void