Query: glutuselayer
OS: mojave
Section: 3glut
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
glutUseLayer(3GLUT) GLUT glutUseLayer(3GLUT)NAMEglutUseLayer - changes the layer in use for the current window.SYNTAX#include <GLUT/glut.h> void glutUseLayer(GLenum layer);ARGUMENTSlayer Either GLUT_NORMAL or GLUT_OVERLAY, selecting the normal plane or overlay respectively.DESCRIPTIONglutUseLayer changes the per-window layer in use for the current window, selecting either the normal plane or overlay. The overlay should only be specified if an overlay exists, however windows without an overlay may still call glutUseLayer(GLUT_NORMAL). OpenGL commands for the window are directed to the current layer in use. To query the layer in use for a window, call glutLayerGet(GLUT_LAYER_IN_USE).SEE ALSOglutEstablishOverlay, glutSetWindowAUTHORMark J. Kilgard (mjk@nvidia.com)GLUT3.7 glutUseLayer(3GLUT)