EasyManua.ls Logo

HP b2600

HP b2600
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
C
glColorPointer
Chapter 3
67
Execution of glColorPointer is not allowed between the execution of glBegin and the
corresponding execution of glEnd, but an error may or may not be generated. If no error
is generated, the operation is undefined.
glColorPointer is typically implemented on the client side.
Color array parameters are client-side state and are therefore not saved or restored by
glPushAttrib and glPopAttrib. Use glPushClientAttrib and glPopClientAttrib instead.
Errors
GL_INVALID_VALUE is generated if size is not 3 or 4.
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_COLOR_ARRAY
glGet with argument GL_COLOR_ARRAY_SIZE
glGet with argument GL_COLOR_ARRAY_TYPE
glGet with argument GL_COLOR_ARRAY_STRIDE
glGetPointerv with argument GL_COLOR_ARRAY_POINTER
See Also
glArrayElement,
glDrawArrays,
glDrawElements,
glEdgeFlagPointer,
glEnable,
glGetPointer,
glIndexPointer,
glInterleavedArrays,
glNormalPointer,
glPopClientAttrib,
glPushClientAttrib,
glTexCoordPointer,
glVertexPointer

Table of Contents

Other manuals for HP b2600

Related product manuals