GL_NUMSAMPLES(3G)
okay so this is the GL_NUMSAMPLES(3G) page from the OpenGL manual β section 3G, bestie β and the header has a lil [FIXME: manual] placeholder because apparently even Khronos pages have unfinished homework. β¨
πΈ NAME πΈ
gl_NumSamples β contains the total number of samples in the framebuffer. periodt. π
π DECLARATION π
Actual declaration:
in bool gl_NumSamples ;
And the raw source line is this exact messy girl:
in bool gl_NumSamples ;.SH "DESCRIPTION"
(that .SH "DESCRIPTION" bit is formatting stuff glued onto the line, not part of the variable β no cap. π)
π DESCRIPTION π
gl_NumSamples is a fragment language input variable that contains the number of samples in the framebuffer, or 1 if rendering to a non-multisample framebuffer. It is the sample count of the framebuffer regardless of whether multisample rasterization is enabled or not. Lowkey simple, highkey useful. π¦
π¦ VERSION SUPPORT π¦
Variable Name: gl_NumSamples
OpenGL Shading Language Version: exact entries below, bestie:
1.10β-1.20β-1.30β-1.40β-1.50β-3.30β-4.00ββ4.10ββ4.20ββ4.30ββ4.40ββ4.50ββ
π₯ SEE ALSO π₯
gl_SamplePosition()gl_SampleID()
π COPYRIGHT π
Copyright Β© 2011-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 (again, yes really) π
Copyright Β© 2011-2014 Khronos Group
xoxo, your Unix bestie π
β source/version: [FIXME: source]; date: 08/09/2021; manual: GL_NUMSAMPLES(3G). π
π¦ 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