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=
"glInvalidateBufferData">
9 <holder>Khronos Group
</holder>
12 <refentrytitle>glInvalidateBufferData
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glInvalidateBufferData
</refname>
17 <refpurpose>invalidate the content of a buffer object's data store
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>void
<function>glInvalidateBufferData
</function></funcdef>
23 <paramdef>GLuint
<parameter>buffer
</parameter></paramdef>
27 <refsect1 id=
"parameters"><title>Parameters
</title>
30 <term><parameter>buffer
</parameter></term>
33 The name of a buffer object whose data store to invalidate.
39 <refsect1 id=
"description"><title>Description
</title>
41 <function>glInvalidateBufferData
</function> invalidates all of the
42 content of the data store of a buffer object. After invalidation, the content
43 of the buffer's data store becomes undefined.
46 <refsect1 id=
"errors"><title>Errors
</title>
48 <constant>GL_INVALID_VALUE
</constant> is generated if
<parameter>buffer
</parameter> is not the
49 name of an existing buffer object.
52 <constant>GL_INVALID_OPERATION
</constant> is generated if any part of
<parameter>buffer
</parameter>
56 <refsect1 id=
"associatedgets"><title>Associated Gets
</title>
58 <citerefentry><refentrytitle>glGetBufferParameter
</refentrytitle></citerefentry> with argument
<constant>GL_BUFFER_SIZE
</constant>
61 <refsect1 id=
"seealso"><title>See Also
</title>
63 <citerefentry><refentrytitle>glInvalidateTexSubImage
</refentrytitle></citerefentry>,,
64 <citerefentry><refentrytitle>glInvalidateTexImage
</refentrytitle></citerefentry>,
65 <citerefentry><refentrytitle>glInvalidateBufferSubData
</refentrytitle></citerefentry>,
66 <citerefentry><refentrytitle>glInvalidateFramebuffer
</refentrytitle></citerefentry>,
67 <citerefentry><refentrytitle>glInvalidateSubFramebuffer
</refentrytitle></citerefentry>.
70 <refsect1 id=
"Copyright"><title>Copyright
</title>
72 Copyright
<trademark class=
"copyright"></trademark> 2012 Khronos Group.
73 This material may be distributed subject to the terms and conditions set forth in
74 the Open Publication License, v
1.0,
8 June
1999.
75 <ulink url=
"http://opencontent.org/openpub/">http://opencontent.org/openpub/
</ulink>.