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

    Function isColormapActive

    • Whether a material is currently rendering in colormap (LUT) mode — the USE_COLORMAP shader define is the source of truth (set/cleared by updateColormapTexture). In this mode the display range drives the LUT value window and gamma warps the value pre-lookup, so neither should be applied to the output color (see the material shaders).

      Used by layer-apply.ts to pick the colormap-vs-direct route, and by the unit tests covering it.

      Parameters

      Returns boolean