Provided by: opengl-4-man-doc_1.0~svn33624-1_all
NAME
glInvalidateBufferData - invalidate the content of a buffer object's data store
C SPECIFICATION
void glInvalidateBufferData(GLuint buffer);
PARAMETERS
buffer The name of a buffer object whose data store to invalidate.
DESCRIPTION
glInvalidateBufferData invalidates all of the content of the data store of a buffer object. After invalidation, the content of the buffer's data store becomes undefined.
ERRORS
GL_INVALID_VALUE is generated if buffer is not the name of an existing buffer object. GL_INVALID_OPERATION is generated if any part of buffer is currently mapped.
ASSOCIATED GETS
glGetBufferParameter() with argument GL_BUFFER_SIZE
VERSION SUPPORT
┌───────────────────────┬───────────────────────────────────────────────────────────────────────┐ │ │ OpenGL Version │ ├───────────────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤ │Function │ 2.0 │ 2.1 │ 3.0 │ 3.1 │ 3.2 │ 3.3 │ 4.0 │ 4.1 │ 4.2 │ 4.3 │ 4.4 │ 4.5 │ │/ │ │ │ │ │ │ │ │ │ │ │ │ │ │Feature │ │ │ │ │ │ │ │ │ │ │ │ │ │Name │ │ │ │ │ │ │ │ │ │ │ │ │ ├───────────────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ │glInvalidateBufferData │ - │ - │ - │ - │ - │ - │ - │ - │ - │ ✔ │ ✔ │ ✔ │ └───────────────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
SEE ALSO
glInvalidateTexSubImage(),, glInvalidateTexImage(), glInvalidateBufferSubData(), glInvalidateFramebuffer(), glInvalidateSubFramebuffer().
COPYRIGHT
Copyright © 2013-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 © 2013-2014 Khronos Group [FIXME: source] 01/03/2018 GLINVALIDATEBUFFERDA(3G)