This is the documentation of version 1.0.0-rc.2. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias MapEffectsPassUniforms

    MapEffectsPassUniforms: Record<string, number | readonly [number, number]>

    The uniforms a MapEffectsPass reads, by the name its shader declares. A number sets a float, a pair a vec2. Only those two types can be set, because WebGL silently refuses a float for an int or bool uniform, which then stays 0.