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=
"glDeleteQueries">
9 <holder>Sams Publishing
</holder>
12 <refentrytitle>glDeleteQueries
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glDeleteQueries
</refname>
17 <refpurpose>delete named query objects
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>void
<function>glDeleteQueries
</function></funcdef>
23 <paramdef>GLsizei
<parameter>n
</parameter></paramdef>
24 <paramdef>const GLuint *
<parameter>ids
</parameter></paramdef>
28 <refsect1 id=
"parameters"><title>Parameters
</title>
31 <term><parameter>n
</parameter></term>
34 Specifies the number of query objects to be deleted.
39 <term><parameter>ids
</parameter></term>
42 Specifies an array of query objects to be deleted.
48 <refsect1 id=
"description"><title>Description
</title>
50 <function>glDeleteQueries
</function> deletes
<parameter>n
</parameter> query objects named by the elements of the array
<parameter>ids
</parameter>.
51 After a query object is deleted, it has no contents,
52 and its name is free for reuse (for example by
<citerefentry><refentrytitle>glGenQueries
</refentrytitle></citerefentry>).
55 <function>glDeleteQueries
</function> silently ignores
0's and names that do not correspond to
56 existing query objects.
59 <refsect1 id=
"notes"><title>Notes
</title>
61 <function>glDeleteQueries
</function> is available only if the GL version is
1.5 or greater.
64 <refsect1 id=
"errors"><title>Errors
</title>
66 <constant>GL_INVALID_VALUE
</constant> is generated if
<parameter>n
</parameter> is negative.
69 <constant>GL_INVALID_OPERATION
</constant> is generated if
<function>glDeleteQueries
</function> is executed
70 between the execution of
<citerefentry><refentrytitle>glBegin
</refentrytitle></citerefentry> and the corresponding
71 execution of
<citerefentry><refentrytitle>glEnd
</refentrytitle></citerefentry>.
74 <refsect1 id=
"associatedgets"><title>Associated Gets
</title>
76 <citerefentry><refentrytitle>glIsQuery
</refentrytitle></citerefentry>
79 <refsect1 id=
"seealso"><title>See Also
</title>
81 <citerefentry><refentrytitle>glBeginQuery
</refentrytitle></citerefentry>,
82 <citerefentry><refentrytitle>glEndQuery
</refentrytitle></citerefentry>,
83 <citerefentry><refentrytitle>glGenQueries
</refentrytitle></citerefentry>,
84 <citerefentry><refentrytitle>glGetQueryiv
</refentrytitle></citerefentry>,
85 <citerefentry><refentrytitle>glGetQueryObject
</refentrytitle></citerefentry>
88 <refsect1 id=
"Copyright"><title>Copyright
</title>
90 Copyright
<trademark class=
"copyright"></trademark> 2005 Addison-Wesley.
91 This material may be distributed subject to the terms and conditions set forth in
92 the Open Publication License, v
1.0,
8 June
1999.
93 <ulink url=
"http://opencontent.org/openpub/">http://opencontent.org/openpub/
</ulink>.