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

    Function reduceGpuByteBudgetForContextLoss

    • Halve the budget (down to a floor) in response to a WebGL context-loss event — a strong sign the previous budget over-committed VRAM. Returns the new budget. The LOD registry reads getGpuByteBudget() each frame, so the tighter budget takes effect immediately (it will evict resident levels back under the new ceiling).

      Returns number