Rendering multiple VBOs in one draw call in OpenGL
Question
I have a few hundred VBOs. I want to only draw a subset of the VBOs each frame.
Is there anything faster than binding and drawing each VBO? Is there a batched draw command for multiple VBOs?
- How do I bind multiple VBOs
- Is there a version of
glMultiDrawElements
for sets of VBOs?
Solution
AFAIK there is not, because there is only one GL_ARRAY_BUFFER binding point and only one buffer can be bound to it at anytime.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow