Jump to content
  • Advertisement
Sign in to follow this  
Daishim

OpenGL glInterleavedArrays()

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

Using glInterleaved arrays causes OpenGL to enable the specified client states (ie GL_C3F_V3F enables color and vertex arrays), however, once the drawing has finshed, am I right in saying that the states are still active. So if I have a non-interleaved array of vertex and texture coordinates that is drawn after a glInterleavedArray() do I need to manually disable all the states not-used states?

Share this post


Link to post
Share on other sites
Advertisement
Yes the arrays implicitly enabled remain enabled and you are responsible for disabling them.

InterleavedArrays does the equivalent of the corresponding *Pointer and EnableClientState calls. Its really just a convenience function.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!