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

    Function getCustomColormapCacheStats

    • Snapshot of the custom-LUT cache counters. Cumulative since process start. Exposed for the data monitor and diagnostics. The shape is stable: { size, maxSize, hits, misses, collisions, evictions }.

      Hit rate = hits / (hits + misses). A low hit rate after many lookups means the LRU isn't doing much (the working set exceeds maxSize) or fingerprint collisions are forcing rebuilds.

      Returns {
          size: number;
          maxSize: number;
          hits: number;
          misses: number;
          collisions: number;
          evictions: number;
      }