WebGLExtensions

View source

Constructor


constructor ( gl: WebGL2RenderingContext )

View source

Parameters

Name Description Default
gl — —

Properties


Methods


has ( name: string ) : boolean

View source

Check if an extension is supported.

Parameters

Name Description Default
name — —

initAll ( ) : void

View source

Initialize all supported extensions at once