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

    Options for createPostProcessing.

    interface CreatePostProcessingOptions {
        renderer: Renderer;
        capabilities: RendererCapabilities;
        scene: Scene;
        camera: LuxarCamera;
        onResize: () => void;
    }
    Index
    renderer: Renderer
    capabilities: RendererCapabilities
    scene: Scene
    camera: LuxarCamera
    onResize: () => void

    Callback fired whenever the manager reallocates its render-target pyramid (window resize, SSAA toggle, MSAA toggle, DPR change). The factory restores the camera projection from the logical display size before invoking this hook; hosts use it to refresh material uniforms that cache renderer.getDrawingBufferSize().