Parameters type Specifies the data type of each color index in the array.
If stride is zero the color indexes are understood to be tightly packed in the array. Description glIndexPointerEXT specifies the location and data format of an array of color indexes to use when rendering using the vertex array extension. 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 color index 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 color index array is used when glDrawArraysEXT or glArrayElementEXT is called.