Skip to content
sigma.js sigma.js
v4.0.6 Docs Examples GitHub 12.2K

generateNodeProgram

generateNodeProgram<N, E, G>(gl, pickingBuffer, renderer, nodePrimitives, antialias): GeneratedNodeProgram<N, E, G>

Defined in: packages/sigma/src/primitives/parser.ts:312

Generates the full node program suite from a primitives declaration. Wraps createNodeProgram with primitive parsing and tacks on the declared graphic variables.

N extends Attributes = Attributes

E extends Attributes = Attributes

G extends Attributes = Attributes

WebGL2RenderingContext

WebGLFramebuffer | null

Sigma<N, E, G>

NodePrimitives | undefined

boolean

GeneratedNodeProgram<N, E, G>