GLVERTEXARRAYELEMENT(3G)
π NAME π
okay so bestie, this is glVertexArrayElementBuffer, and it lives in manual section 3G β yes, the 3G is part of the whole vibe. It configures the element array buffer binding of a vertex array object. Lowkey a tiny function, highkey important. β¨
β¨ C SPECIFICATION β¨
void glVertexArrayElementBuffer(GLuint vaobj, GLuint buffer);
π PARAMETERS π
vaobjβ specifies the name of the vertex array object. This is the VAO bestie whose element array buffer binding we're messing with. π«Άbufferβ specifies the name of the buffer object to use for the element array buffer binding. This is the buffer that's about to get attached. π
πΈ DESCRIPTION πΈ
glVertexArrayElementBuffer binds a buffer object with id buffer to the element array buffer bind point of a vertex array object with id vaobj.
If buffer is zero, any existing element array buffer binding to vaobj is removed. Not me deleting the binding β yes, exactly that. π
π¦ ASSOCIATED GETS π¦
glGet()with argumentGL_ELEMENT_ARRAY_BUFFER_BINDING.glGetVertexArrayiv()with argumentGL_ELEMENT_ARRAY_BUFFER_BINDING.
π ERRORS π
- A
GL_INVALID_OPERATIONerror is generated ifvaobjis not the name of an existing vertex array object. - A
GL_INVALID_OPERATIONerror is generated ifbufferis not zero or the name of an existing buffer object.
bestie, those are GL_INVALID_OPERATION situations β not a drill, okay? π
π VERSION SUPPORT π
The table is giving "OpenGL Version" energy. The Function / Feature Name column is glVertexArrayElementBuffer, and here is the whole row in list form so nobody has to squint at box-drawing characters:
2.0β-2.1β-3.0β-3.1β-3.2β-3.3β-4.0β-4.1β-4.2β-4.3β-4.4β-4.5ββ
periodt. only 4.5 is marked β in this row, bestie. π
π SEE ALSO π
glGet()glGetVertexArrayiv()
π COPYRIGHT π
Copyright Β© 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 Β© 2014 Khronos Group
and that's the entire page, bestie β brought to you by [FIXME: source], dated 08/09/2021, and filed under GLVERTEXARRAYELEMENT(3G). π
β¨
π¦ 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