GLVERTEXARRAYELEMENT(3G)

    .SH "NAME" glVertexArrayElementBuffer - configures element array buffer binding of a vertex array object
    .SH "C SPECIFICATION"

            .HP u void glVertexArrayElementBuffer(GLuint vaobj, GLuint buffer);

    .SH "PARAMETERS"

            .PP vaobj

                        Specifies the name of the vertex array object.

                .RE
                .PP buffer

                            Specifies the name of the buffer object to use for the element array buffer binding.

                    .RE

            .SH "DESCRIPTION"
                .PP glVertexArrayElementBuffer binds a buffer object with id buffer to the element array buffer bind point of a vertex array object with id vaobj. If buffer is zero, any existing element array buffer binding to vaobj is removed.

            .SH "ASSOCIATED GETS"

            .PP glGet() with argument GL_ELEMENT_ARRAY_BUFFER_BINDING.
            .PP glGetVertexArrayiv() with argument GL_ELEMENT_ARRAY_BUFFER_BINDING.

            .SH "ERRORS"
                .PP GL_INVALID_OPERATION error is generated if vaobj is not the name of an existing vertex array object.
                .PP GL_INVALID_OPERATION error is generated if buffer is not zero or the name of an existing buffer object.

            .SH "VERSION SUPPORT"
                .TS allbox tab(:); l l l l l l l l l l l l l. T{ glVertexArrayElementBuffer T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}

            .SH "SEE ALSO"
                .PP glGet(), glGetVertexArrayiv()

            .SH "COPYRIGHT"
                .PP Copyright © 2014 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 © 2014 Khronos Group