1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
4 <refentry id=
"glDeleteVertexArrays">
9 <holder>Khronos Group
</holder>
12 <refentrytitle>glDeleteVertexArrays
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glDeleteVertexArrays
</refname>
17 <refpurpose>delete vertex array objects
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>void
<function>glDeleteVertexArrays
</function></funcdef>
23 <paramdef>GLsizei
<parameter>n
</parameter></paramdef>
24 <paramdef>const GLuint *
<parameter>arrays
</parameter></paramdef>
28 <!-- eqn: ignoring delim $$ -->
29 <refsect1 id=
"parameters"><title>Parameters
</title>
32 <term><parameter>n
</parameter></term>
35 Specifies the number of vertex array objects to be deleted.
40 <term><parameter>arrays
</parameter></term>
43 Specifies the address of an array containing the
<parameter>n
</parameter> names of the objects to be deleted.
49 <refsect1 id=
"description"><title>Description
</title>
51 <function>glDeleteVertexArrays
</function> deletes
<parameter>n
</parameter> vertex array objects whose names are stored in the
52 array addressed by
<parameter>arrays
</parameter>. Once a vertex array object is deleted it has no contents and its name is
53 again unused. If a vertex array object that is currently bound is deleted, the binding for that object reverts to zero
54 and the default vertex array becomes current. Unused names in
<parameter>arrays
</parameter> are silently ignored, as is the value zero.
57 <refsect1 id=
"errors"><title>Errors
</title>
59 <constant>GL_INVALID_VALUE
</constant> is generated if
<parameter>n
</parameter> is negative.
62 <refsect1 id=
"seealso"><title>See Also
</title>
64 <citerefentry><refentrytitle>glGenVertexArrays
</refentrytitle></citerefentry>,
65 <citerefentry><refentrytitle>glIsVertexArray
</refentrytitle></citerefentry>,
66 <citerefentry><refentrytitle>glBindVertexArray
</refentrytitle></citerefentry>
69 <refsect1 id=
"Copyright"><title>Copyright
</title>
71 Copyright
<trademark class=
"copyright"></trademark> 2010 Khronos Group.
72 This material may be distributed subject to the terms and conditions set forth in
73 the Open Publication License, v
1.0,
8 June
1999.
74 <ulink url=
"http://opencontent.org/openpub/">http://opencontent.org/openpub/
</ulink>.