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

    Function getBuiltinColormapTexture

    • Get a built-in colormap texture by name.

      Textures are cached — the same THREE.DataTexture is returned for repeated calls with the same name. This is safe because colormap textures are read-only.

      Parameters

      • name: string

        Built-in colormap name (e.g., "viridis", "green", "magenta")

      Returns DataTexture | undefined

      THREE.DataTexture, or undefined if name is not a built-in colormap