icetGLIsInitialized(3)

πŸ¦‹ icetGLIsInitialized β€” NAME πŸ¦‹

okay so this is icetGLIsInitialized(3) from the IceT Reference manual, and it's literally just here to answer one (1) question: is the IceT OpenGL layer actually initialized or not? bestie. πŸ’…

icetGLIsInitialized β€” determine if the IceT OpenGL layer is initialized


✨ Synopsis ✨

like, the whole vibe is two lines, we love a short king:

#include <IceTGL.h>

IceTBoolean icetGLIsInitialized(   void   );

πŸ’– Description πŸ’–

so the way this works is: you call this little function to find out whether icetGLInitialize was ever called for the current IceT context. that's it, that's the whole job 🫢

and real talk, this one matters, because if icetGLIsInitialized returns false, then rendering with the OpenGL layer is not gonna work. no cap. it's giving "you forgot to init, bestie" 😭


🌈 Return Value 🌈

  • returns ICET_TRUE if the OpenGL layer has been initialized for the current context πŸ‘‘
  • returns ICET_FALSE otherwise πŸ™ˆ

πŸŽ€ Errors πŸŽ€

None. not a single one. she's unproblematic ✨


🌸 Warnings 🌸

None. no red flags here, we're safe 🧚


πŸ’€ Bugs πŸ’€

None known. iconic behaviour, honestly.


Copyright (C)2010 Sandia Corporation

Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software.

This source code is released under the New BSD License.

yes, that's all real, please don't skip it, the legal girlies worked hard πŸ’œ

πŸ”₯ See Also πŸ”₯


and that's the whole page! mwah πŸ’‹ this was IceT Reference, dated August 9, 2010 β€” yeah she's an elder but she still slays, periodt πŸŽ€πŸ’–