Description glNormalPointerEXT specifies the location and data format of an array of normals to use when rendering. Static elements may be modified by the application, but once they are modified, the application must explicitly respecify the array before using it for any rendering. When a normal array is specified, type , stride , count and pointer are saved as client-side state, and static array elements may be cached by the implementation. If enabled, the normal array is used when glDrawArraysEXT or glArrayElementEXT is called. Use glArrayElementEXT to specify primitives by indexing vertexes and vertex attributes.
Parameters type Specifies the the data type of each coordinate in the array.
Notes Non-static array elements are not accessed until glArrayElementEXT or glDrawArraysEXT is executed. By default the normal array is disabled and it won't be accessed when glArrayElementEXT or glDrawArraysEXT is called. Although, it is not an error to call glNormalPointerEXT between the execution of glBegin and the corresponding execution of glEnd , the results are undefined. Since the normal array parameters are client side state, they are not saved or restored by glPushAttrib and glPopAttrib . The glArrayElementEXT subroutine, glColorPointerEXT subroutine, glDrawArraysEXT subroutine, glEdgeFlagPointerEXT subroutine, glGetPointervEXT subroutine, glIndexPointerEXT subroutine, glTexCoordPointerEXT subroutine, glVertexPointerEXT subroutine.