E
glEnableClientState
If enabled, the vertex array is enabled for writing and used during rendering when
glDrawArrays or glDrawElements is called. See glVertexPointer.
Notes
glEnableClientState is available only if the GL version is 1.1 or greater.
Errors
•
See Also
glArrayElement,
glColorPointer,
glDrawArrays,
glDrawElements,
glEdgeFlagPointer,
glEnable,
glGetPointer,
glIndexPointer,
glInterleavedArrays,
glNormalPointer,
glTexCoordPointer,
glVertexPointer
138
GL_INVALID_ENUM is generated if cap is not an accepted value.
glEnableClientState is not allowed between the execution of glBegin and the
corresponding glEnd, but an error may or may not be generated. If no error is
generated, the behavior is undefined.
Chapter 5