Hi all based on the theory of almost books an basic POO... each object has a Draw() method and in the body, of this method we have a Drawelement() and some buffer binding with the vertex, texture coord...etc... BUT here is the thing, if we do in that way... we will have some performance issue... becaouse, each object had a opengl call to draw it... so my question is how we can optimize this... one solution is send all the vertext text coord info to a pipeline manager, gather all the vertext and dispach all the vertex to a "pipeline manager class" and that class render all the scene with on glDrawElement, what do you think on that, do you have any example of that or some other optimization to minimize the glDrawCalls ??
thanks in advance