glBindBuffersBase

glBindBuffersBase: man4/glBindBuffersBase.xml

glBindBuffersBase binds a set of count buffer objects whose names are given in the array buffers to the count consecutive binding points starting from index index of the array of targets specified by target. If buffers is null then glBindBuffersBase unbinds any buffers that are currently bound to the referenced binding points. Assuming no errors are generated, it is equivalent to the following pseudo-code, which calls glBindBufferBase :

for (i = 0; i < count; i++) {
    if (buffers != NULL) {
        glBindBufferBase(target, first + i, buffers[i]);
    } else {
        glBindBufferBase(target, first + i, 0);
    }
}
More...
@OpenGL_Version(OGLIntroducedIn.V4P4)
@OpenGL_Extension("GL_ARB_multi_bind")
fn_glBindBuffersBase glBindBuffersBase;

Detailed Description

glBindBuffersBase is available only if the GL version is 4.4 or higher.

See Also

glGenBuffers, glDeleteBuffers, glBindBuffer, glBindBufferBase, glBindBufferRange, glBindBuffersRange, glMapBuffer, glUnmapBuffer

Meta