isEnabled method
The WebGLRenderingContext.isEnabled() method of the
WebGL API
tests whether a specific WebGL
capability is enabled or not for this context.
By default, all capabilities except gl.DITHER are
disabled.
Implementation
external GLboolean isEnabled(GLenum cap);