EN
本內容沒有您的語言版本,但有英文版本。

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

 

 

顯示:
© 2014 Microsoft