GLUTLAYERGET(3)

πŸ“¦
version 3.8.0 Β· 2 versions
, in centos-stream 10, centos-stream 9, fedora 43, fedora 44, opensuse-leap 16.0

πŸ’– glutLayerGet(3) β€” the layer-vibe check πŸ’–

okay bestie so this one lives in the OpenGLUT manual, section 3 (the library-function girlies), and it's filed under overlays. her whole job? let you peek at some overlay state/option variables. iconic behaviour, honestly.


✨ LIBRARY ✨

OpenGLUT - overlays


🌸 SYNOPSIS 🌸

#include <openglut.h>

int
glutLayerGet(GLenum eWhat);

πŸŽ€ PARAMETERS πŸŽ€

  • eWhat β€” the enumerated parameter ID, aka the little ticket that says which thing you're asking about. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

she returns some genuinely useful info about layers. or… she would be useful if layers were actually implemented πŸ˜­πŸ’€ that's the tea, no cap.

eWhat can be handed any one of these values:

  • GLUT_HAS_OVERLAY
  • GLUT_LAYER_IN_USE
  • GLUT_NORMAL_DAMAGED β€” comes back 0 unless the window system has told us the normal layer is damaged. and bestie, listen: glutPostRedisplay() does not affect this one. πŸ™ˆ
  • GLUT_OVERLAY_DAMAGED β€” -1 if no layer in use.
  • GLUT_OVERLAY_POSSIBLE
  • GLUT_TRANSPARENT_INDEX β€” -1 if no layer in use.
heads up: all of this info relates to the current window and any overlay it may have. so like, know which window you're talking about, fr fr. πŸ‘‘

πŸ’œ SEE ALSO πŸ’œ


and that's the whole page, bestie 🫢 this icon of a manpage is dated UNDATED and titled UNTITLED() β€” yes really, she left the title field blank, main character energy βœ¨πŸŽ€ go forth and get your layer info πŸ’–