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

    A scene+camera+mesh triple wrapping a fullscreen-triangle render. The geometry is built once per instance via the caps-aware factory; the consumer supplies the material and may swap it via setMaterial between renders.

    Index
    geometry: BufferGeometry
    mesh: Mesh
    scene: Scene
    camera: OrthographicCamera
    • Swap the active material. Used by passes that draw the same geometry with multiple shaders (e.g. BloomChain's threshold / downsample / upsample chain).

      Parameters

      • material: Material

      Returns void