glBindBufferBase

glBindBufferBase: man4/glBindBufferBase.xml

glBindBufferBase binds the buffer object buffer to the binding point at index index of the array of targets specified by target. Each target represents an indexed array of buffer binding points, as well as a single general binding point that can be used by other buffer manipulation functions such as glBindBuffer or glMapBuffer. In addition to binding buffer to the indexed buffer binding target, glBindBufferBase also binds buffer to the generic buffer binding point specified by target.

Calling glBindBufferBase is equivalent to calling glBindBufferRange with offset zero and size equal to the size of the buffer. The GL_ATOMIC_COUNTER_BUFFER target is available only if the GL version is 4.2 or greater. The GL_SHADER_STORAGE_BUFFER target is available only if the GL version is 4.3 or greater.

@OpenGL_Version(OGLIntroducedIn.V3P0)
@OpenGL_Extension("GL_ARB_uniform_buffer_object")
fn_glBindBufferBase glBindBufferBase;

See Also

glGenBuffers, glDeleteBuffers, glBindBuffer, glBindBufferRange, glMapBuffer, glUnmapBuffer,

Meta