GLISPROGRAMPIPELINE(3G)

🌸 NAME 🌸

okay so this is GLISPROGRAMPIPELINE(3G), bestie β€” the manual page that answers the iconic question: does this name correspond to a program pipeline object? πŸŽ€

glIsProgramPipeline β€” determine if a name corresponds to a program pipeline object. πŸ’…

πŸ“œ C SPECIFICATION πŸ“œ

GLboolean glIsProgramPipeline(GLuint pipeline);

πŸŽ€ PARAMETERS πŸŽ€

  • pipeline β€” a value that may be the name of a program pipeline object. Basically, the name you're vibe-checking πŸ‘€

✨ DESCRIPTION ✨

okay so glIsProgramPipeline returns GL_TRUE if pipeline is currently the name of a program pipeline object. Slay. βœ…

If pipeline is zero, or if pipeline is not the name of a program pipeline object, or if an error occurs, glIsProgramPipeline returns GL_FALSE. No cap. ❌

And the sneaky little detail: if pipeline is a name returned by glGenProgramPipelines(), but that name has not yet been bound through a call to glBindProgramPipeline(), then the name is not a program pipeline object and glIsProgramPipeline returns GL_FALSE. So don't get it twisted β€” generated but unbound is giving β€œnot yet, bestie” πŸ« πŸ’…

🌈 VERSION SUPPORT 🌈

The version-support matrix, minus the table because we're keeping it cute: Function / Feature Name: glIsProgramPipeline; OpenGL Version columns are:

  • glIsProgramPipeline across OpenGL versions:
    • 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 πŸ¦‹

  • glGenProgramPipelines()
  • glBindProgramPipeline()
  • glDeleteProgramPipelines()

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


that's the whole tea β˜• β€” source/version vibes: [FIXME: source], date 08/09/2021, still serving the GLISPROGRAMPIPELINE(3G) manual page. mwah πŸ’‹

πŸ“¦ where this page comes from