D
glDrawArraysSethp
Chapter 4
116
glDrawArraySethp is included in display lists. If glDrawArraySethp is entered into a
display list, the necessary array data (determined by the array pointers and enables) is
also entered into the display list. Because the array pointers and enables are client- side
state, their values affect display lists when the lists are created, not when the lists are
executed.
Errors
• GL_INVALID_ENUM is generated if mode is not an accepted value.
• GL_INVALID_VALUE is generated if count is negative.
• GL_INVALID_OPERATION is generated if glDrawArraySethp is executed between
the execution of glBegin and the corresponding glEnd.
See Also
glArrayElement,
glColorPointer,
glDrawArrays,
glDrawElements,
glEdgeFlagPointer,
glGetPointer,
glIndexPointer,
glInterleavedArrays,
glNormalPointer,
glTexCoordPointer,
glVertexPointer