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.
Type Parameters
Section titled “Type Parameters”N extends Attributes = Attributes
E extends Attributes = Attributes
G extends Attributes = Attributes
Parameters
Section titled “Parameters”WebGL2RenderingContext
pickingBuffer
Section titled “pickingBuffer”WebGLFramebuffer | null
renderer
Section titled “renderer”Sigma<N, E, G>
nodePrimitives
Section titled “nodePrimitives”NodePrimitives | undefined
antialias
Section titled “antialias”boolean
Returns
Section titled “Returns”GeneratedNodeProgram<N, E, G>