Changes the layer in use for the current window.
glutUseLayer 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 Glut.glutUseLayer(Glut.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 Glut.glutLayerGet(Glut.GLUT_LAYER_IN_USE)
.
Glut Class | Tao.FreeGlut Namespace | glutEstablishOverlay | glutSetWindow