GL_ARRAY_BUFFER_BINDING usage

Hi all guys, I’m a new entry and I’ve a question for you :stuck_out_tongue:

I need to know the meaning of the GL_ARRAY_BUFFER_BINDING status, I noticed that this status can only be used in the glIsEnabled() function and not in the glEnable() function.

So, what I can control testing the GL_ARRAY_BUFFER_BINDING status with the glIsEnable function? What is its purpose?

Thanks for your help :slight_smile:

Giacomo

“the queriable name of the buffer binding corresponding to the target ARRAY_BUFFER”

GL_ARRAY_BUFFER_BINDING should be queried with glGetIntegerv, not glIsEnabled. It can be used to query the name (GLuint) of the buffer previously bound with glBindBuffer(GL_ARRAY_BUFFER, x).

Hi Xmas and thanks for your help!

I controlled the specifications of OpenGL ES 1.1: the GL_ARRAY_BUFFER_BINDING is a present in the glIsEnabled() function and glGetIntegerv is not a function of OpenGL ES.
Look at this link please:
http://www.khronos.org/opengles/documen … index.html

What do you think about this?

Thank you, bye!

I think this reference manual needs fixing. A lot.

Look at the real specification PDF:
http://www.khronos.org/cgi-bin/fetch/fe … s_spec_1_1
based on:
http://www.opengl.org/documentation/spe … spec15.pdf

I downloaded the pdf and I think you are right, the reference of my link needs a fixing :stuck_out_tongue:

Thanks a lot for you help!

Giacomo

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.