Jump to content
  • Advertisement
Sign in to follow this  

help understanding glMultiDrawArrays()

This topic is 4565 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Can anyone help to clarify glMultiDrawArrays() which I don't exactly understand. I'm wondering if it'll help me to draw many smaller vertex arrays instead of one big vertex array where I'd normally use glDrawArrays(). I want to break this one big vertex array I have down into hundreds of smaller vertex arrays so that I can call glLoadName() (and do picking on them) for each element I draw and do it somehow efficently fast so I was wondering about glMutliDrawArrays(). I may be totally off here and maybe this has something to do w/ the 7 arrays where you have to enable client state for, but I don't know. I look at the opengl refs and I don't understand what primcount means either. Any help much appreciated.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!