When glDrawArraysEXT is called, count sequential elements from each enabled array are used to construct a sequence of geometric primitives, beginning with element first . Vertex attributes that are modified by glDrawArraysEXT have an unspecified value after glDrawArraysEXT returns. Attributes that aren't modified remain well defined. Operation of glDrawArraysEXT is atomic with respect to error generation. If an error is generated, no other operations take place.
Parameters mode Specifies what kind of primitives to render.
Notes glDrawArraysEXT may be included in display lists. 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. Static array data may be read and cached by the implementation at any time. If static array elements are modified and the arrays are not respecified, the results of any subsequent calls to glDrawArraysEXT are undefined. Although it is not an error to respecify an array between the execution of glBegin and the corresponding execution of glEnd , the result of such respecification is undefined.