glCreateBuffers — create buffer objects
void glCreateBuffers( | GLsizei n, |
GLuint *buffers) ; |
n
Specifies the number of buffer objects to create.
buffers
Specifies an array in which names of the new buffer objects are stored.
glCreateBuffers
returns n
previously unused buffer names in buffers
, each representing a new buffer object initialized as if it had been bound to an unspecified target.
GL_INVALID_VALUE
is generated if n
is negative.
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 |
glCreateBuffers | - | - | - | - | - | - | - | - | - | - | - | ✔ |
glGenBuffers, glBindBufferBase, glBindBufferRange, glMapBuffer, glUnmapBuffer, glDeleteBuffers, glGet, glIsBuffer
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. https://opencontent.org/openpub/.