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

bindWebGLLayer

bindWebGLLayer(id, renderer, ProgramClass): () => void

Defined in: packages/layer-webgl/src/bind-webgl-layer.ts:10

Binds a custom layer program to a Sigma instance at the given depth layer position. The depth name must be declared in the primitives depthLayers array. Returns a cleanup function.

Parameters

id

string

renderer

Sigma

ProgramClass

WebGLLayerProgramType

Returns

() => void