GLMINSAMPLESHADING(3G)
π GLMINSAMPLESHADING(3G) β minimum sample shading, bestie β¨
Okay so bestie, this is the manual page for glMinSampleShading, and the manual name is GLMINSAMPLESHADING(3G). We are keeping every single detail, no cap. Let's get into it. π«Ά
πΈ NAME πΈ
glMinSampleShading β specifies minimum rate at which sample shaing takes place. (Yes, shaing β that's the spelling from the original page, bestie π. We keep it.)
π§ C SPECIFICATION π§
void glMinSampleShading(GLfloat value);
π PARAMETERS π
valueβ specifies the rate at which samples are shaded within each covered pixel. That's the whole parameter, periodt.
π₯ DESCRIPTION π₯
Okay so glMinSampleShading specifies the rate at which samples are shaded within a covered pixel. Sample-rate shading is enabled by calling glEnable() with the parameter GL_SAMPLE_SHADING. If GL_MULTISAMPLE or GL_SAMPLE_SHADING is disabled, sample shading has no effect. Otherwise, an implementation must provide at least as many unique color values for each covered fragment as specified by value times samples, where samples is the value of GL_SAMPLES for the current framebuffer. At least 1 sample for each covered fragment is generated. That's the rule, fr fr.
A value of 1.0 indicates that each sample in the framebuffer should be independently shaded. A value of 0.0 effectively allows the GL to ignore sample rate shading. Any value between 0.0 and 1.0 allows the GL to shade only a subset of the total samples within each covered fragment. Which samples are shaded and the algorithm used to select that subset of the fragment's samples is implementation dependent. So the GL picks the subset vibe, iykyk. π
π¦ NOTES π¦
The type of the value parameter was changed from GLclampf to GLfloat. This change is transparent to user code and is described in detail on the removedTypes() page. Slay, backwards compatibility. β¨
π ERRORS π
None. Literally none. Not a single error, bestie. π
π ASSOCIATED GETS π
glGet()with argumentGL_MIN_SAMPLE_SHADING.glGet()with argumentGL_SAMPLES.
π VERSION SUPPORT π
Here's the vibe check by OpenGL version, no cap:
- Function / Feature Name:
glMinSampleShading - OpenGL Version support:
2.0β-;2.1β-;3.0β-;3.1β-;3.2β-;3.3β-;4.0ββ;4.1ββ;4.2ββ;4.3ββ;4.4ββ;4.5ββ.
So: dashes for 2.0 through 3.3, checkmarks for 4.0 through 4.5, exactly like the OG table. π
π SEE ALSO π
removedTypes()
π 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 π
Copyright Β© 2011-2014 Khronos Group.
π Cute sign-off, bestie: source is [FIXME: source], version/date is 08/09/2021, and the manual is GLMINSAMPLESHADING(3G). That's the footer, periodt. β¨π
π¦ 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