N
glNormalPointer
Chapter 12
303
glNormalPointer is typically implemented on the client side.
Since the normal array parameters are client-side state, they are not saved or restored
by glPushAttrib and glPopAttrib. Use glPushClientAttrib and glPopClientAttribinstead.
Errors
• GL_INVALID_ENUM is generated if type is not an accepted value.
• GL_INVALID_VALUE is generated if stride is negative.
Associated Gets
glIsEnabled with argument GL_NORMAL_ARRAY
glGet with argument GL_NORMAL_ARRAY_TYPE
glGet with argument GL_NORMAL_ARRAY_STRIDE
glGetPointerv with argument GL_NORMAL_ARRAY_POINTER
See Also
glArrayElement,
glColorPointer,
glDrawArrays,
glDrawElements,
glEdgeFlagPointer,
glEnable,
glGetPointerv,
glIndexPointer,
glInterleavedArrays,
glPopClientAttrib,
glPushClientAttrib,
glTexCoordPointer,
glVertexPointer