Provided by: opengl-4-man-doc_1.0~svn31251-1build1_all bug

NAME

       glClampColor - specify whether data read via glReadPixels() should be clamped

C SPECIFICATION

       void glClampColor(GLenum target, GLenum clamp);

PARAMETERS

       target
           Target for color clamping.  target must be GL_CLAMP_READ_COLOR.

       clamp
           Specifies whether to apply color clamping.  clamp must be GL_TRUE or GL_FALSE.

DESCRIPTION

       glClampColor controls color clamping that is performed during glReadPixels().  target must
       be GL_CLAMP_READ_COLOR. If clamp is GL_TRUE, read color clamping is enabled; if clamp is
       GL_FALSE, read color clamping is disabled. If clamp is GL_FIXED_ONLY, read color clamping
       is enabled only if the selected read buffer has fixed point components and disabled
       otherwise.

ERRORS

       GL_INVALID_ENUM is generated if target is not GL_CLAMP_READ_COLOR.

       GL_INVALID_ENUM is generated if clamp is not GL_TRUE or GL_FALSE.

ASSOCIATED GETS

       glGet() with argument GL_CLAMP_READ_COLOR.

VERSION SUPPORT

       ┌─────────────┬───────────────────────────────────────────────────────────────────────┐
       │             │                OpenGL Version                                         │
       ├─────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
       │Function2.02.13.03.13.23.34.04.14.24.34.44.5 │
       │/            │     │     │     │     │     │     │     │     │     │     │     │     │
       │Feature      │     │     │     │     │     │     │     │     │     │     │     │     │
       │Name         │     │     │     │     │     │     │     │     │     │     │     │     │
       ├─────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
       │glClampColor │  -  │  -  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │
       └─────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘

SEE ALSO

COPYRIGHT

       Copyright © 2010-2014 Khronos Group. This material may be distributed subject to the terms
       and conditions set forth in the Open Publication License, v 1.0, 8 June 1999.
       http://opencontent.org/openpub/.

COPYRIGHT

       Copyright © 2010-2014 Khronos Group

[FIXME: source]                             07/22/2015                           GLCLAMPCOLOR(3G)