glDisableVertexAttribArray Function

Syntax

GL_APICALL void GL_APIENTRY glDisableVertexAttribArray(
     GLuint index
);

Arguments

Name Description
in index Attribute number to disable

Return Values

No values are returned.

Description

Disables a vertex attribute array.

You can set index to a value that is greater than 0 and at least one less than the value that can be obtained by glGetIntegerv with GL_MAX_VERTEX_ATTRIBS specified.

This function generates the following errors.

GL_INVALID_VALUE index was set to an invalid value.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL