gl.ClearIndex(c)
gl.ClearIndex()
specifies the index used by gl.Clear() to clear the color index buffers. c
is
not clamped. Rather, c
is converted to a fixed-point value with unspecified precision to the right of the
binary point. The integer part of this value is then masked with 2^m-1 , where m is the number of bits in
a color index stored in the frame buffer.
Please consult an OpenGL reference manual for more information.
#GL_INVALID_OPERATION
is generated if gl.ClearIndex()
is executed between the execution of gl.Begin() and the corresponding execution of gl.End()
#GL_INDEX_CLEAR_VALUE
gl.Get() with argument #GL_INDEX_BITS