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

    Interface PerfKeepAlive

    Hook the PerformanceMonitor uses to keep the render loop running while it is visible. The monitor needs continuous frames to measure FPS/frame-time, so it request()s a keep-alive when shown and release()s it when hidden or disposed, letting an otherwise on-demand render loop idle again afterward.

    interface PerfKeepAlive {
        request: () => void;
        release: () => void;
    }
    Index
    request: () => void

    Ask the render loop to stay awake (monitor became visible).

    release: () => void

    Allow the render loop to idle again (monitor hidden/disposed).