Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Composite every visible overlay onto the capture canvas. No-op when the overlay manager has nothing to draw.

      glCanvas is the renderer's DOM element — its bounding rect maps CSS pixels to capture pixels (see OverlayCaptureMetrics) and is the coordinate frame for HTML-overlay positioning.

      Parameters

      • canvas: HTMLCanvasElement
      • ctx: CanvasRenderingContext2D
      • overlayManager: OverlayManager
      • glCanvas: HTMLCanvasElement
      • viewport: ViewportSize = ...

      Returns void