currentBuffer

Returns the name of the OpenGL buffer object bound to the specified target buffer.

Return

the currently bound buffer object, or 0 if no buffer object is bound

Parameters

target

the target buffer, either GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER