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

loadProgram

loadProgram(gl, shaders): WebGLProgram

Defined in: packages/sigma/src/rendering/utils.ts:105

Function used to load a program.

Parameters

gl

WebGL2RenderingContext

shaders

WebGLShader[]

Returns

WebGLProgram