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

    Function runWithMaterialManager

    • Run fn with materialManager resolving to manager.

      The node-factory and commit paths are shared by every host but reach the materials through the module export, so the host that owns a loader brackets its synchronous node-creation and commit calls with its own manager: a LuxarLayer's nodes then get the layer's capabilities, camera broadcast and disposal, never the app's. Synchronous by contract — node creation and the commit stage never await — and re-entrant (the previous scope is restored).

      Type Parameters

      • T

      Parameters

      Returns T