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

    Compile-time configuration for megaWebGPUFactory. Mirrors the GLSL #define set; toggling any field triggers a re-call of the factory (which builds a new NodeMaterial).

    interface MegaTSLConfig {
        useLensDistortion?: boolean;
        useBloom?: boolean;
        useDetectorNoise?: boolean;
        useVignette?: boolean;
        toneMappingMode?: LuxarToneMappingMode;
        captureRawHDR?: boolean;
        captureLinearLDR?: boolean;
    }
    Index
    useLensDistortion?: boolean
    useBloom?: boolean
    useDetectorNoise?: boolean
    useVignette?: boolean
    toneMappingMode?: LuxarToneMappingMode
    captureRawHDR?: boolean

    Output the linear-HDR sample (post-bloom) and skip everything else.

    captureLinearLDR?: boolean

    Skip ONLY the final sRGB encoding step.