Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Unregister every pick material from materialManager without disposing the underlying GPU object. Used after WebGL context-loss — see PickingSystem.clearRegistrationsForRebuild for the contract.

      Calls unregister unconditionally on every non-null pick material. materialManager.unregister drops the material from ALL registries and is idempotent, so it is safe for camera-aware entries (all four pick materials, in registeredMaterials) and for anything that ever lands in staticMaterials instead. Gating on isCameraAwareMaterial here would silently skip the latter and leak it across every context-restore cycle.

      Parameters

      Returns void