Imagination PowerVR SDK Blog

Cost of calling glBindBuffer


#1

Does it just set an internal variable to the passed buffer or does it have to do much more?



#2

Every GL call does slightly more, i.e. first getting a reference to the context that is current to the thread, then some error checking based on the arguments. But apart from that, glBindBuffer should have a small cost.


#3

Is this different for index buffers? As it seems for this all you have to do is bind it.