rename upstream-man-pages to upstream-doc
[clinton/guile-figl.git] / upstream-doc / man3 / glDeleteVertexArrays.xml
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">
5 <refmeta>
6 <refmetainfo>
7 <copyright>
8 <year>2010</year>
9 <holder>Khronos Group</holder>
10 </copyright>
11 </refmetainfo>
12 <refentrytitle>glDeleteVertexArrays</refentrytitle>
13 <manvolnum>3G</manvolnum>
14 </refmeta>
15 <refnamediv>
16 <refname>glDeleteVertexArrays</refname>
17 <refpurpose>delete vertex array objects</refpurpose>
18 </refnamediv>
19 <refsynopsisdiv><title>C Specification</title>
20 <funcsynopsis>
21 <funcprototype>
22 <funcdef>void <function>glDeleteVertexArrays</function></funcdef>
23 <paramdef>GLsizei <parameter>n</parameter></paramdef>
24 <paramdef>const GLuint *<parameter>arrays</parameter></paramdef>
25 </funcprototype>
26 </funcsynopsis>
27 </refsynopsisdiv>
28 <!-- eqn: ignoring delim $$ -->
29 <refsect1 id="parameters"><title>Parameters</title>
30 <variablelist>
31 <varlistentry>
32 <term><parameter>n</parameter></term>
33 <listitem>
34 <para>
35 Specifies the number of vertex array objects to be deleted.
36 </para>
37 </listitem>
38 </varlistentry>
39 <varlistentry>
40 <term><parameter>arrays</parameter></term>
41 <listitem>
42 <para>
43 Specifies the address of an array containing the <parameter>n</parameter> names of the objects to be deleted.
44 </para>
45 </listitem>
46 </varlistentry>
47 </variablelist>
48 </refsect1>
49 <refsect1 id="description"><title>Description</title>
50 <para>
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.
55 </para>
56 </refsect1>
57 <refsect1 id="errors"><title>Errors</title>
58 <para>
59 <constant>GL_INVALID_VALUE</constant> is generated if <parameter>n</parameter> is negative.
60 </para>
61 </refsect1>
62 <refsect1 id="seealso"><title>See Also</title>
63 <para>
64 <citerefentry><refentrytitle>glGenVertexArrays</refentrytitle></citerefentry>,
65 <citerefentry><refentrytitle>glIsVertexArray</refentrytitle></citerefentry>,
66 <citerefentry><refentrytitle>glBindVertexArray</refentrytitle></citerefentry>
67 </para>
68 </refsect1>
69 <refsect1 id="Copyright"><title>Copyright</title>
70 <para>
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>.
75 </para>
76 </refsect1>
77 </refentry>