Question about glBindBufferBase

Greetings,

do I see right that glBindBufferBase( GL_UNIFORM_BUFFER,… ) also implicitly performs glBindBuffer (GL_UNIFORM_BUFFER,…) ?

Regards

Yes it does, but you really should avoid using it that way.

I only ask because I’m tracking OpenGL target binding state on cpu side and I need to be aware of implicit state changes.

Bind state tracking is another thing you should avoid doing. Unless it’s for debugging purposes, it’s generally a better idea to just exercise coding discipline.

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