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

    Function isAdditiveMode

    • Discriminator predicates over BlendingMode. Centralising the mode === 'foo' literal comparisons here keeps the modes string-typed (zero runtime cost) while making intent explicit at call sites and giving us one place to change if the mode enum ever gets reshaped.

      Parameters

      Returns boolean

      true when mode matches the predicate's mode