Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Run the full pipeline: scene → HDR → (bloom) → mega-shader → (FXAA) → finalTarget.

      • applyFxaa = true: mega-shader writes to ldrTarget, FXAA reads ldrTarget and writes to finalTarget.
      • applyFxaa = false: mega-shader writes directly to finalTarget.
      • finalTarget = null: write to the canvas backbuffer.

      The capture paths use applyFxaa = false + an explicit target so they can read the post-tone-mapping LDR buffer without an FXAA pass between mega-shader and readback.

      Parameters

      • ctx: PipelineCtx
      • opts: {
            applyFxaa: boolean;
            finalTarget: WebGLRenderTarget<Texture<unknown, TextureEventMap>> | null;
        }

      Returns void