Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Return the DPR currently applied to renderer sizing.

      A null override means "track the live ceiling" — the live window.devicePixelRatio whenever high DPR is allowed, and the cap otherwise. Keeping that meaning (rather than "track the live native") is what preserves the no-reallocation fast path in AdaptiveDPRManager.syncNativeDPR; see computePixelRatioOverride.

      Parameters

      • override: number | null

      Returns number