isEnabled method

GLboolean isEnabled(
  1. GLenum cap
)

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);