Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

disableVertexAttribArray method

Turns off a vertex attribute array at a specific index position.

IE11

 

Syntax

WebGLRenderingContext.disableVertexAttribArray(index);

Parameters

index [in]

Type: Number

Index of the vertex attribute to disable.

Return value

This method does not return a value.

Remarks

WebGL errorDescription
gl.INVALID_VALUEIf the index is negative or greater than the gl.MAX_VERTEX_ATTRIBS.

 

All vertex attribute arrays are disabled by default.

See also

WebGLRenderingContext

 

 

Show:
© 2015 Microsoft