GLBINDVERTEXARRAY(3G)

    .SH "NAME" glBindVertexArray - bind a vertex array object
    .SH "C SPECIFICATION"

            .HP u void glBindVertexArray(GLuint array);

    .SH "PARAMETERS"

        .PP array

                    Specifies the name of the vertex array to bind.

            .RE

        .SH "DESCRIPTION"
            .PP glBindVertexArray binds the vertex array object with name array. array is the name of a vertex array object previously returned from a call to glGenVertexArrays(), or zero to bind the default vertex array object binding.
            .PP If no vertex array object with name array exists, one is created when array is first bound. If the bind is successful no change is made to the state of the vertex array object, and any previous vertex array object binding is broken.

        .SH "ERRORS"
            .PP GL_INVALID_OPERATION is generated if array is not zero or the name of a vertex array object previously returned from a call to glGenVertexArrays().

        .SH "API VERSION SUPPORT"

            .TS allbox tab(:); l l l l l. T{ glBindVertexArray T}:T{ T}:T{ T}:T{ T}:T{ T}

        .SH "SEE ALSO"
            .PP glGenVertexArrays(), glDeleteVertexArrays() glVertexAttribPointer() glEnableVertexAttribArray()

        .SH "COPYRIGHT"
            .PP Copyright © 2010-2015 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.

COPYRIGHT
Copyright © 2010-2015 Khronos Group