Jump to content
  • Advertisement
Sign in to follow this  
mrr

OpenGL Opengl 4 VAO BO ?

This topic is 2655 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

Hello

Do I need a buffer object for every little thing I want to draw? (that is irritating!!)

Also do the buffer objects need to be inside a VAO or is that optional ?

Share this post


Link to post
Share on other sites
Advertisement

Hello

Do I need a buffer object for every little thing I want to draw? (that is irritating!!)

Also do the buffer objects need to be inside a VAO or is that optional ?


No, put multiple items into one buffer and draw a specific range with glDrawArrays.

VAOs are optional.

Share this post


Link to post
Share on other sites

[quote name='mrr' timestamp='1302288677' post='4796059']
Hello

Do I need a buffer object for every little thing I want to draw? (that is irritating!!)

Also do the buffer objects need to be inside a VAO or is that optional ?


No, put multiple items into one buffer and draw a specific range with glDrawArrays.

VAOs are optional.
[/quote]

Ok, thanks.

Share this post


Link to post
Share on other sites

You could make a backwards compatible context and use all the "oldies".


I am using the compatible profile, but I try to remove all deprecated functions anyway.



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!