GLISLIST(3G)

πŸ“¦ version 1.1, in centos-stream 9, fedora 43, fedora 44

πŸ’– GLISLIST β€” the glIsList page, but make it make sense πŸ’–

okay bestie, so this is a page from section 3G of the manual (that's the OpenGL library section, iykyk ✨). Sit down, grab a strawberry πŸ“, and let's talk about how to find out if a name is actually a display-list name.


πŸŽ€ NAME πŸŽ€

glIsList β€” the little detective that tells you whether a name corresponds to a display-list πŸ”βœ¨


πŸ’… C SPECIFICATION πŸ’…

GLboolean glIsList( GLuint list )

that's it. one function, one argument, returns a GLboolean. iconic behavior, no notes πŸ‘‘


πŸ¦‹ PARAMETERS πŸ¦‹

  • list β€” Specifies a potential display-list name. key word: potential. we don't know yet, that's literally the whole point of this function, that's the vibe check 🌸

✨ DESCRIPTION ✨

So here's the tea πŸ«–: glIsList returns GL_TRUE if list is the name of a display list, and returns GL_FALSE otherwise. That's the entire plot. no cap. πŸŽ€

like, you hand it a name, it tells you yes or no. main character energy from a boolean. periodt πŸ’…


πŸ’€ ERRORS πŸ’€

🚨 GL_INVALID_OPERATION is generated if glIsList is executed between the execution of glBegin and the corresponding execution of glEnd. 🚨

translating: do not call this bad boy while you're inside a glBegin/glEnd block. not the time, not the place. you will get an error and honestly you'll deserve it πŸ™ˆπŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, bestie, they're the whole friend group fr fr:

  • glCallList(3G)
  • glCallLists(3G)
  • glDeleteLists(3G)
  • glGenLists(3G)
  • glNewList(3G)

okay and that's the whole page 🌈 thanks for coming to my TED talk. this was GLISLIST(3G), and yes the footer is literally just the title again β€” the manpage said its own name twice, which is such a Leo move πŸ’…πŸ’– slay, stay hydrated, and go check your display list names 🧚✨

πŸ“¦ where this page comes from