GLUCHECKEXTENSION(3G)
π GLUCHECKEXTENSION (3G) β¨
okay bestie, welcome to the GLUCHECKEXTENSION(3G) page β yes the title is doing all caps but we can still make it cute π
πΈ NAME πΈ
gluCheckExtension β figures out if an extension name is actually supported π¦
β¨ C SPECIFICATION β¨
GLboolean gluCheckExtension( const GLubyte *extName,
const GLubyte *extString )
like. that's it. that's the whole vibe. π
π PARAMETERS π
extNameβ the extension name you're asking about, bestie. just one name.extStringβ a space-separated list of the extension names that are supported. so like, the whole roster. π
π DESCRIPTION π
gluCheckExtension returns GL_TRUE if extName is supported, and otherwise GL_FALSE gets returned. simple as that, no cap. β
this is the move when you wanna check for the presence of OpenGL, GLU, or GLX extension names β you pass in the extension strings that come back from glGetString, gluGetString, glXGetClientString, glXQueryExtensionsString, or glXQueryServerString, respectively, as your extString. yep, respectively. we're being precise here. π«Ά
π NOTES π
okay so the little gotchas, listen up:
- cases where one extension name is a substring of another one are correctly handled. the way that it does NOT get confused?? iconic. π₯
- there may or may not be leading or trailing blanks in
extString. either way. we don't judge. π - extension names should not contain embedded spaces. like, please. just don't. π
- all strings are null-terminated. every single one. periodt. π
π SEE ALSO π
glGetString(3G)gluGetString(3G)glXGetClientString(3G)glXQueryExtensionsString(3G)glXQueryServerString(3G)
go read those too, they're giving main character energy π
and that's the whole page, bestie!! the footer is just GLUCHECKEXTENSION(3G) again β that's the manual name and the source/version line, and ngl there's no date up in here, so that's all she wrote. mwah. ππ¦
π¦ where this page comes from
- centos-stream 9: gl-manpages 1.1-24.20190306.el9 Β· MIT and Open Publication
- fedora 43: gl-manpages 1.1-34.20190306.fc43 Β· Apache-2.0 AND HPND AND HPND-sell-variant AND MIT AND OpenPBS-2.3 AND SGI-B-2.0 AND W3C-19980720 AND X11
- fedora 44: gl-manpages 1.1-35.20190306.fc44 Β· Apache-2.0 AND HPND AND HPND-sell-variant AND MIT AND OpenPBS-2.3 AND SGI-B-2.0 AND W3C-19980720 AND X11
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms