When a color array is specified, size , type , stride , pointer and ptrstride are saved as client side state. Instead, it causes the first array element of each array to be used for each vertex. Also, a negative value can be used for stride, which allows the user to move through each array in reverse order. The color array is initially disabled. See the descriptions of these routines for more information on their use.
Parameters size Specifies the number of components per color.
It must be 3 or 4. The initial value is 0. The initial value is 0. Execution of glColorPointerListIBM is not allowed between glBegin and the corresponding glEnd , but an error may or may not be generated. If an error is not generated, the operation is undefined.