table of contents
GLVERTEXARRAYELEMENT(3G) | [FIXME: manual] | GLVERTEXARRAYELEMENT(3G) |
NAME¶
glVertexArrayElementBuffer - configures element array buffer binding of a vertex array object
C SPECIFICATION¶
void glVertexArrayElementBuffer(GLuint vaobj, GLuint buffer);
PARAMETERS¶
vaobj
buffer
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.
ASSOCIATED GETS¶
glGet() with argument GL_ELEMENT_ARRAY_BUFFER_BINDING.
glGetVertexArrayiv() with argument GL_ELEMENT_ARRAY_BUFFER_BINDING.
ERRORS¶
GL_INVALID_OPERATION error is generated if vaobj is not the name of an existing vertex array object.
GL_INVALID_OPERATION error is generated if buffer is not zero or the name of an existing buffer object.
VERSION SUPPORT¶
OpenGL Version | ||||||||||||
Function / Feature Name | 2.0 | 2.1 | 3.0 | 3.1 | 3.2 | 3.3 | 4.0 | 4.1 | 4.2 | 4.3 | 4.4 | 4.5 |
glVertexArrayElementBuffer | - | - | - | - | - | - | - | - | - | - | - | ✔ |
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
04/12/2021 | [FIXME: source] |