API

Function setMaxLights

  • Raise (or lower) the maximum number of scene lights in the shared lights UBO. Must be called BEFORE scene pipelines are compiled — existing pipelines and UBOs bake the cap into their WGSL/layout.

    Parameters

    • n: number

    Returns void