glCreateBuffers - OpenGL 4 Reference Pages

## Name

glCreateBuffers — create buffer objects

## C Specification

`void glCreateBuffers(` | GLsizei n,
| GLuint *buffers`)`;

## Parameters

`n`

  Specifies the number of buffer objects to create.

`buffers`

  Specifies an array in which names of the new buffer objects are stored.

## Description

`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.

## Errors

`GL_INVALID_VALUE` is generated if `n` is negative.

## 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
`glCreateBuffers` | - | - | - | - | - | - | - | - | - | - | - | ✔

## See Also

glGenBuffers, glBindBufferBase, glBindBufferRange, glMapBuffer, glUnmapBuffer, glDeleteBuffers, glGet, glIsBuffer

## 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/.