Ubuntu Manpages

glInvalidateBufferData

invalidate the content of a buffer object's data store

void glInvalidateBufferData(GLuint buffer);

buffer

The name of a buffer object whose data store to invalidate.

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.

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.

glGetBufferParameter() with argument GL_BUFFER_SIZE

glInvalidateTexSubImage(),, glInvalidateTexImage(), glInvalidateBufferSubData(), glInvalidateFramebuffer(), glInvalidateSubFramebuffer().

Copyright © 2012 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/.

opengl.org