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

glIsBuffer - determine if a name corresponds to a buffer object

C Specification

GLbooleanglIsBuffer(GLuintbuffer);

Description

glIsBuffer returns GL_TRUE if buffer is currently the name of a buffer object. If buffer is zero, or is a
       non-zero value that is not currently the name of a buffer object, or if an error occurs, glIsBuffer
       returns GL_FALSE.

       A name returned by glGenBuffers(), but not yet associated with a buffer object by calling glBindBuffer(),
       is not the name of a buffer object.

Name

       glIsBuffer - determine if a name corresponds to a buffer object

Parameters

buffer
           Specifies a value that may be the name of a buffer object.

See Also

glBindBuffer(), glDeleteBuffers(), glGenBuffers(), glGet()

Version Support

       ┌────────────┬───────────────────────────────────────────────────────────────────────┐
       │            │                OpenGLVersion                                         │
       ├────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
       │ Function   │ 2.0 │ 2.1 │ 3.0 │ 3.1 │ 3.2 │ 3.3 │ 4.0 │ 4.1 │ 4.2 │ 4.3 │ 4.4 │ 4.5 │
       │ /          │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Feature    │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Name       │     │     │     │     │     │     │     │     │     │     │     │     │
       ├────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
       │ glIsBuffer │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │
       └────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘

See Also