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 WebGL_API/Types specifying the index of the vertex attribute to disable.
Return value
None (undefined).
Examples
gl.disableVertexAttribArray(0);
Specifications
Browser compatibility
See also
- WebGLRenderingContext.enableVertexAttribArray()
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
