WebGLRenderingContext: disableVertexAttribArray() method
WebGL
WebGL
The WebGLRenderingContext.disableVertexAttribArray()
method of the WebGL API turns the generic
vertex attribute array off at a given index position.
Syntax
disableVertexAttribArray(index)
Parameters
index- : A GLuint specifying the index of the vertex attribute to disable.
Return value
None (undefined).
Examples
gl.disableVertexAttribArray(0);
Specifications
Browser compatibility
See also
- WebGLRenderingContext.enableVertexAttribArray()