GLUDELETETESS(3G)

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

πŸ’– GLUDELETETESS πŸ’–

okay bestie, so this is a page from the 3G manual β€” that's the OpenGL Utility library section, iykyk β€” and it's literally just one tiny little function whose whole job is to say bye-bye to a tessellation object. cute, right? ✨


🌸 NAME 🌸

gluDeleteTess β€” destroy a tessellation object πŸ’…


✨ C SPECIFICATION ✨

void gluDeleteTess( GLUtesselator* tess )

like, that's the whole thing. short. sweet. iconic. πŸ‘‘


πŸŽ€ PARAMETERS πŸŽ€

  • tess β€” Specifies the tessellation object to destroy. bestie, this is the one you want gone. hand it over and let it go πŸ¦‹

πŸ’œ DESCRIPTION πŸ’œ

So gluDeleteTess destroys the indicated tessellation object β€” the one you made earlier with gluNewTess, you remember her 🌸 β€” and it frees up any memory that it used.

That's it. That's the whole function. You built a tessellator, you did your polygon things, and now you're closing the tab on it and handing the RAM back to the universe. no cap, it's literally just good housekeeping. ✨

not me forgetting to call this and leaking memory for all eternity πŸ’€ clean up after yourself, bestie, the allocator is watching πŸ™ˆ

🫢 SEE ALSO 🫢

  • gluBeginPolygon(3G)
  • gluNewTess(3G)
  • gluTessCallback(3G)

like the whole friend group. go say hi πŸ’–


and that's the vibe check, bestie! this one's filed under GLUDELETETESS(3G) in the 3G manual β€” you're all caught up, now go forth and free your tessellators πŸŒˆβ­πŸ’…

πŸ“¦ where this page comes from