GLCLAMPCOLOR(3G)
π glClampColor: clamp it, bestie π
okay so this is GLCLAMPCOLOR(3G) from the [FIXME: manual] manual, and itβs literally all about one function: glClampColor. Itβs giving βone job, very specific vibeβ energy π
β¨
πΈ 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.targetmust beGL_CLAMP_READ_COLOR. πclampβ Specifies whether to apply color clamping.clampmust beGL_TRUEorGL_FALSE. β¨
π DESCRIPTION π
glClampColor controls color clamping that is performed during glReadPixels(). Vibe check: 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_ENUMis generated iftargetis notGL_CLAMP_READ_COLOR.GL_INVALID_ENUMis generated ifclampis notGL_TRUEorGL_FALSE.
π ASSOCIATED GETS π
glGet() with argument GL_CLAMP_READ_COLOR.
π VERSION SUPPORT π
OpenGL version support for the function/feature name glClampColor, no cap:
- Function / Feature Name:
glClampColor - OpenGL 2.0:
- - OpenGL 2.1:
- - OpenGL 3.0:
β - OpenGL 3.1:
β - OpenGL 3.2:
β - OpenGL 3.3:
β - OpenGL 4.0:
β - OpenGL 4.1:
β - OpenGL 4.2:
β - OpenGL 4.3:
β - OpenGL 4.4:
β - OpenGL 4.5:
β
π SEE ALSO π
This section is empty in the original β literally no references listed, bestie. π¦
π 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
Thatβs the whole page, bestie. Footer vibes: [FIXME: source], dated 08/09/2021 β periodt. bye bestie π«Άπ
π¦ where this page comes from
- centos-stream 9: gl-manpages 1.1-24.20190306.el9 Β· MIT and Open Publication
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms