Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Composite an HTML overlay by serializing its DOM into an <svg><foreignObject> data URL and drawing the resulting Image. The data URL decodes synchronously in modern browsers; if the decode hasn't happened yet (rare), we log and skip the frame.

      Parameters

      • ctx: CanvasRenderingContext2D
      • el: HTMLDivElement
      • glCanvas: HTMLCanvasElement

      Returns void