Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

glCreateBuffers - create buffer objects

C Specification

voidglCreateBuffers(GLsizein,GLuint*buffers);

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.

Name

       glCreateBuffers - create buffer objects

Parameters

n
           Specifies the number of buffer objects to create.

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

See Also

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

Version Support

       ┌─────────────────┬───────────────────────────────────────────────────────────────────────┐
       │                 │                OpenGLVersion                                         │
       ├─────────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
       │ Function2.02.13.03.13.23.34.04.14.24.34.44.5 │
       │ /               │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Feature         │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Name            │     │     │     │     │     │     │     │     │     │     │     │     │
       ├─────────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
       │ glCreateBuffers │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  ✔  │
       └─────────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘

See Also