Function: bindWebGLLayer()
bindWebGLLayer(
id
,renderer
,ProgramClass
): () =>void
This function helps to bind a custom layer program to a Sigma instance. It returns a cleanup function.
Parameters
• id: string
• renderer: Sigma
<Attributes
, Attributes
, Attributes
>
• ProgramClass: WebGLLayerProgramType
Returns
Function
Returns
void