GLSAMPLEMASKI(3G)
okay so you clicked into the GLSAMPLEMASKI(3G) page from [FIXME: manual], and it's literally all about glSampleMaski π buckle up bestie, this one's short but iconic.
β¨ NAME β¨
glSampleMaski β set the value of a sub-word of the sample mask π
π C SPECIFICATION π
void glSampleMaski(GLuint maskNumber, GLbitfield mask);
πΈ PARAMETERS πΈ
maskNumberβ specifies which 32-bit sub-word of the sample mask to update. pick your little slice, bestie πmaskβ specifies the new value of the mask sub-word. that's the fresh value, periodt.
π¦ DESCRIPTION π¦
okay so glSampleMaski sets one 32-bit sub-word of the multi-word sample mask, GL_SAMPLE_MASK_VALUE. no cap, that's the whole vibe.
maskIndex specifies which 32-bit sub-word of the sample mask to update, and mask specifies the new value to use for that sub-word. maskIndex must be less than the value of GL_MAX_SAMPLE_MASK_WORDS. Bit B of mask word M corresponds to sample 32 x M + B. iykyk π₯
π NOTES π
this function glSampleMaski is available only if the GL version is 3.2 or greater, or if the ARB_texture_multisample extension is supported. that's the vibe check, bestie π«Ά
π¨ ERRORS π¨
warning, bestie:GL_INVALID_VALUEis generated ifmaskIndexis greater than or equal to the value ofGL_MAX_SAMPLE_MASK_WORDS. do not pass go, do not collect $200 π
π VERSION SUPPORT π
okay so here's the support grid, row by row β function / feature name: glSampleMaski β¨
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 π
glGenRenderbuffers()glBindRenderbuffer()glRenderbufferStorageMultisample()glFramebufferRenderbuffer()glDeleteRenderbuffers()
π 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
okay that's the page, bestie! source/version: [FIXME: source]; date: 08/09/2021; manual: GLSAMPLEMASKI(3G). go forth and mask those samples π
β¨
π¦ 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