GLISSAMPLER(3G)

✨ NAME ✨

Bestie, welcome to the GLISSAMPLER(3G) manual page πŸ’… β€” yes, the header has [FIXME: manual] energy, but we’re still slaying. This function is glIsSampler β€” determine if a name corresponds to a sampler object. Periodt. πŸŽ€

🌸 C SPECIFICATION 🌸

GLboolean glIsSampler(GLuint id);

πŸ“ PARAMETERS πŸ“

  • id β€” specifies a value that may be the name of a sampler object. That’s the whole vibe: you hand it a maybe-name and it checks. ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

glIsSampler returns GL_TRUE if id is currently the name of a sampler object.

If id is zero, or is a non-zero value that is not currently the name of a sampler object, or if an error occurs, glIsSampler returns GL_FALSE.

A name returned by glGenSamplers(), is the name of a sampler object. No cap, that’s the rule. 🫢

πŸ’œ NOTES πŸ’œ

glIsSampler is available only if the GL version is 3.3 or higher. πŸ“Œ

πŸ‘‘ VERSION SUPPORT πŸ‘‘

The grid is headed OpenGL Version, and the row is Function / Feature Name β†’ glIsSampler. Here’s the tea, one version at a time:

  • 2.0 β€” -
  • 2.1 β€” -
  • 3.0 β€” -
  • 3.1 β€” -
  • 3.2 β€” βœ”
  • 3.3 β€” βœ”
  • 4.0 β€” βœ”
  • 4.1 β€” βœ”
  • 4.2 β€” βœ”
  • 4.3 β€” βœ”
  • 4.4 β€” βœ”
  • 4.5 β€” βœ”

🌈 SEE ALSO 🌈

  • glGenSamplers()
  • glBindSampler()
  • glDeleteSamplers()

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 Β© 2010-2014 Khronos Group


Okay bestie, that’s the page β€” footer energy is [FIXME: source] and 08/09/2021, and yeah, it’s the GLISSAMPLER(3G) page. Go forth and sampler-check responsibly πŸ’–πŸ«Ά

πŸ“¦ where this page comes from