GLGETVERTEXARRAYIV(3G)

  .SH "NAME" glGetVertexArrayiv - retrieve parameters of a vertex array object
  .SH "C SPECIFICATION"

      .HP u void glGetVertexArrayiv(GLuint vaobj, GLenum pname, GLint *param);

  .SH "PARAMETERS"

      .PP vaobj

              specifies the name of the vertex array object to use for the query.

          .RE
          .PP pname

                  Name of the property to use for the query. Must be GL_ELEMENT_ARRAY_BUFFER_BINDING.

              .RE
              .PP param

                      Returns the requested value.

                  .RE

              .SH "DESCRIPTION"

                .PP This function provides a mean of querying properties of an existing vertex array object. The vertex array object does not have to be bound to the rendering context at the time of the call, but must have been bound at least once prior to this call.
                .PP glGetVertexArrayiv can be used to retrieve ID of a buffer object that will be bound to the GL_ELEMENT_ARRAY_BUFFER binding point whenever the queried vertex array object is bound to the rendering context. The binding can be changed for an active vertex array object with a glBindBuffer call.

              .SH "ERRORS"

                .PP GL_INVALID_OPERATION error is generated if vaobj is not the name of an existing vertex array object.
                .PP GL_INVALID_ENUM error is generated if pname is not GL_ELEMENT_ARRAY_BUFFER_BINDING.

              .SH "VERSION SUPPORT"
                    .TS allbox tab(:); l l l l l l l l l l l l l. T{ glGetVertexArrayiv 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 glBindBuffer(), glBindVertexArray(), glGet()

              .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