From OpenGL Reference
Jump to navigation Jump to search

Create buffer objects.

C Specification[edit]

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.

Version Support[edit]

 glCreateBuffers  4.5+

See Also[edit]

 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.