GLCLEARSTENCIL(3G)
πΈ NAME πΈ
okay bestie, this is GLCLEARSTENCIL(3G) β the manual page for glClearStencil, aka specify the clear value for the stencil buffer. π
β¨
π§ C SPECIFICATION π§
void glClearStencil( GLint s )
π PARAMETERS π
sβ specifies the index used when the stencil buffer is cleared. The initial value is0. π«Ά
π DESCRIPTION π
glClearStencil specifies the index used by glClear to clear the stencil buffer. no cap. β¨
<pink>s</pink> is masked with 2mβ1, where <purple>m</purple> is the number of bits in the stencil buffer. that masking detail is literally the whole vibe check, bestie. π
π ERRORS π
GL_INVALID_OPERATIONis generated ifglClearStencilis executed between the execution ofglBeginand the corresponding execution ofglEnd. π¨
okay so this is the βnot while youβre insideglBegin/glEnd, bestieβ rule. do not test it unless you enjoyGL_INVALID_OPERATIONdrama. π
π ASSOCIATED GETS π
glGetwith argumentGL_STENCIL_CLEAR_VALUEπglGetwith argumentGL_STENCIL_BITSπ
π SEE ALSO π
glClear(3G)πglStencilFunc(3G)π¦glStencilOp(3G)πglStencilMask(3G)π
thatβs the whole page, bestie β GLCLEARSTENCIL(3G) from the 3G OpenGL manual pages. the original footer didnβt print a separate source/version or date line, so Iβm not inventing one. πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: Mesa-libGL-devel 24.1.7-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms