1GLCLEARINDEX(3G)                                              GLCLEARINDEX(3G)
2
3
4

NAME

6       glClearIndex - specify the clear value for the color index buffers
7
8

C SPECIFICATION

10       void glClearIndex( GLfloat c )
11
12

PARAMETERS

14       c  Specifies  the  index used when the color index buffers are cleared.
15          The initial value is 0.
16

DESCRIPTION

18       glClearIndex specifies the index used by glClear  to  clear  the  color
19       index  buffers.   c is not clamped.  Rather, c is converted to a fixed-
20       point value with unspecified precision  to  the  right  of  the  binary
21       point.   The integer part of this value is then masked with 2m−1, where
22       m is the number of bits in a color index stored in the frame buffer.
23

ERRORS

25       GL_INVALID_OPERATION is generated if glClearIndex is  executed  between
26       the execution of glBegin and the corresponding execution of glEnd.
27

ASSOCIATED GETS

29       glGet with argument GL_INDEX_CLEAR_VALUE
30       glGet with argument GL_INDEX_BITS
31

SEE ALSO

33       glClear(3G)
34
35
36
37                                                              GLCLEARINDEX(3G)
Impressum