glInterleavedArrays()
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?
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.
InterleavedArrays does the equivalent of the corresponding *Pointer and EnableClientState calls. Its really just a convenience function.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement