- specify the clear value for the color index buffers



C SPECIFICATION


PARAMETERS

       _param1  Specifies  the  index  used  when the color index
                buffers are cleared.  The initial value is 0.


DESCRIPTION

       glClearIndex specifies the index used by glClear to  clear
       the color index buffers.  _param1 is not clamped.  Rather,
       _param1 is converted to a fixed-point value with  unspeci-
       fied  precision  to  the  right  of the binary point.  The
       integer part of this value is then masked with 2m-1, where
       m  is  the  number  of bits in a color index stored in the
       frame buffer.


ERRORS

       GL_INVALID_OPERATION is generated if glClearIndex is  exe-
       cuted between the execution of glBegin and the correspond-
       ing execution of glEnd.


ASSOCIATED GETS

       glGet with argument GL_INDEX_CLEAR_VALUE
       glGet with argument GL_INDEX_BITS


SEE ALSO

       glClear



                                                                1