Jump to content
  • Advertisement
Sign in to follow this  
Tommato

OpenGL Using VAO

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

[font=Helvetica][size=2]Hi All[/font][font=Helvetica][size=2]
[/font][font=Helvetica][size=2]
[/font][font=Helvetica][size=2]I'm reading about VAO but up to now don't understand too much ;)[/font][font=Helvetica][size=2]
[/font][font=Helvetica][size=2]Example: I've an old OpenGL code draws via glDrawElements and [/font][font=Helvetica][size=2]glSetVertexPointer, glSetNormalPointer etc. Should I replace [/font][font=Helvetica][size=2]it with VAO and will it be faster/better?[/font][font=Helvetica][size=2]
[/font][font=Helvetica][size=2]
[/font][font=Helvetica][size=2]Thanks[/font][font=Helvetica][size=2]
[/font][font=Helvetica][size=2]Tom[/font]

Share this post


Link to post
Share on other sites
Advertisement
Before VAO, we had to call glBindBuffer and the glVertexAttribPointer calls.
With VAO, you just bind the VAO (single GL call) and then draw (glDrawElements or whatever).

VAO is a GL 3.0 feature.

Share this post


Link to post
Share on other sites
[color=#1C2837][size=2]Ola V-man,

We are learning and trying, as soon we figured out, I will reply with news!

Thanks a lot

Tom

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!