GLINVALIDATEBUFFERDA(3G)
β¨ NAME β¨
okay so this page is GLINVALIDATEBUFFERDA(3G), and the function is glInvalidateBufferData. Its whole job is invalidating the content of a buffer objectβs data store. No cap. π
πΈ C SPECIFICATION πΈ
void glInvalidateBufferData(GLuint buffer);
π PARAMETERS π
bufferβ the name of a buffer object whose data store to invalidate. Thatβs the vibe, bestie.
π 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 β like, do not trust it, do not expect your old data back, itβs giving βno thoughts, head emptyβ π.
π₯ ERRORS π₯
GL_INVALID_VALUEis generated ifbufferis not the name of an existing buffer object. Basically if you made up a buffer name, GL is like βwho is she?β πGL_INVALID_OPERATIONis generated if any part ofbufferis currently mapped. Mapped buffer + invalidation = nope, not today.
π¦ ASSOCIATED GETS π¦
glGetBufferParameter()with argumentGL_BUFFER_SIZEβ thatβs the getter bff youβd use here.
π VERSION SUPPORT π
The original had a whole table, and since weβre not doing tables, hereβs the exact tea in list form. Function / Feature Name: glInvalidateBufferData. Across the OpenGL versions:
- OpenGL
2.0:- - OpenGL
2.1:- - OpenGL
3.0:- - OpenGL
3.1:- - OpenGL
3.2:- - OpenGL
3.3:- - OpenGL
4.0:- - OpenGL
4.1:- - OpenGL
4.2:- - OpenGL
4.3:β - OpenGL
4.4:β - OpenGL
4.5:β
π SEE ALSO π
The original literally lists these bad girls: glInvalidateTexSubImage(),, glInvalidateTexImage(), glInvalidateBufferSubData(), glInvalidateFramebuffer(), glInvalidateSubFramebuffer(). Yes, the double comma is in the original, and we are preserving it because details are sacred π«Ά.
π 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
ok bye bestie π
this page is from [FIXME: source], dated 08/09/2021, and the manual tag is GLINVALIDATEBUFFERDA(3G). slay, stay invalidated β¨
π¦ where this page comes from
- centos-stream 9: gl-manpages 1.1-24.20190306.el9 Β· MIT and Open Publication
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms