FANDOM


DefinitionEdit

The disable() method disables various capabilities.

SyntaxEdit

gl.disable(cap)

ParametersEdit

ExamplesEdit

// Disables depth testing
gl.disable(gl.DEPTH_TEST);

See alsoEdit

Community content is available under CC-BY-SA unless otherwise noted.