GL_SAMPLEMASKIN(3G)
β¨ GL_SAMPLEMASKIN(3G) β¨
okay bestie, this is the GL_SAMPLEMASKIN(3G) page β the header even says [FIXME: manual], no cap. Itβs giving shader-era main character energy, and weβre keeping every detail π
.
πΈ NAME πΈ
gl_SampleMaskIn β contains the computed sample coverage mask for the current fragment. Periodt.
π DECLARATION π
The original declaration line is literally this, weird .SH artifact and all β copying it exactly so nothing gets lost:
in int gl_SampleMaskIn[] ;.SH "DESCRIPTION"
π DESCRIPTION π
gl_SampleMaskIn is a fragment language thingy that tells you the set of samples covered by the primitive generating the fragment during multisample rasterization. It has a sample bit set if and only if the sample is considered covered for this fragment shader invocation.
Bit B of mask gl_SampleMask[M] corresponds to sample 32 * M + B. The array has ceil(s / 32) elements, where s is the maximum number of color samples supported by the implementation. slay, math π
.
π VERSION SUPPORT π
Vibe check for the variable name gl_SampleMaskIn across OpenGL Shading Language Version columns β yes, every single one is here:
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_SampleMask()gl_SampleID()gl_SamplePosition()gl_FragCoord()
π 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
made with [FIXME: source] Β· 08/09/2021 Β· GL_SAMPLEMASKIN(3G) vibes π«Άπ
π¦ 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