开发者

Rendering multiple VBOs in one draw call in OpenGL

开发者 https://www.devze.com 2023-03-01 00:21 出处:网络
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?

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?

  1. How do I bind multiple VBOs
  2. Is there a version of glMultiDrawElements for sets开发者_Go百科 of VBOs?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消