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

collectAttributes

collectAttributes(_layers): AttributeSpecification[]

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

Collects all attributes for the buffer. Note: Position, size, and layer attributes are fetched from textures, so only nodeIndex and id are needed as per-instance buffer attributes.

Parameters

_layers

FragmentLayer[]

Returns

AttributeSpecification[]