Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

collectUniforms

collectUniforms(shapes, layers): string[]

Defined in: packages/sigma/src/rendering/nodes/generator.ts:399

Collects all uniforms from shapes and layers, with deduplication.

Parameters

shapes

SDFShape[]

layers

FragmentLayer[]

Returns

string[]