Skip to content

WebGL

Type module

Sources

Items from WebGL can be imported/included and used via following ways.

/**
* Import via: WebGL.ts
* Access items like: $webgl.myVariable
*/
import * as $webgl from "@amcharts/amcharts5/WebGL";

Variables

shared

Type ISharedGL | null | undefined

users

Type numberDefault 0

Functions

compile(gl: WebGL2RenderingContext,
type: number,
source: string
)

Returns WebGLShader | undefined