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

GeneratedEdgeShaders

Defined in: packages/sigma/src/rendering/edges/types.ts:578

Generated shader metadata from the edge shader generator.

Properties

attributes

attributes: object[]

Defined in: packages/sigma/src/rendering/edges/types.ts:588

List of attribute specifications

name

name: string

size

size: number

type

type: number


constantAttributes

constantAttributes: object[]

Defined in: packages/sigma/src/rendering/edges/types.ts:597

Constant attribute specification

name

name: string

size

size: number

type

type: number


constantData

constantData: number[][]

Defined in: packages/sigma/src/rendering/edges/types.ts:595

Constant attribute data (for tessellation) - single-path mode


constantDataPerCombination?

optional constantDataPerCombination?: Map<string, number[][]>

Defined in: packages/sigma/src/rendering/edges/types.ts:613

Constant data per path/head/tail combination. Key format: “pathName:headName:tailName” Only present in multi-path mode.


fragmentShader

fragmentShader: string

Defined in: packages/sigma/src/rendering/edges/types.ts:582

Complete fragment shader source


prePassVertexShader

prePassVertexShader: string

Defined in: packages/sigma/src/rendering/edges/types.ts:584

Pre-pass vertex shader source (transform feedback)


uniforms

uniforms: string[]

Defined in: packages/sigma/src/rendering/edges/types.ts:586

List of uniform names used


vertexCountsPerCombination?

optional vertexCountsPerCombination?: Map<string, number>

Defined in: packages/sigma/src/rendering/edges/types.ts:606

Vertex counts per path/head/tail combination. Key format: “pathName:headName:tailName” Only present in multi-path mode.


vertexShader

vertexShader: string

Defined in: packages/sigma/src/rendering/edges/types.ts:580

Complete vertex shader source


verticesPerEdge

verticesPerEdge: number

Defined in: packages/sigma/src/rendering/edges/types.ts:593

Number of vertices per edge instance (single-path mode only). In multi-path mode, use vertexCountsPerCombination instead.