glutuselayer(3) - Linux man page
Name
glutUseLayer - Allows you to switch between normal and layer mode.
Library
OpenGLUT - overlays
Synopsis
#include <openglut.h>
void
glutUseLayer(GLenum layer);
-
Parameters
layer Whether to be in a layer or in the normal window.
Description
By default, OpenGLUT operates in "normal" mode, with respect to layers. If you have a layer open and wish to operate on the layer, you must use glutUseLayer().
layer can take on the following values, indicating the layer mode to use:
- GLUT_NORMAL - GLUT_LAYER
Caveats
Unimplemented.
It is unclear what the consequences are if you are in GLUT_OVERLAY mode and switch to another (or the same) window via glutSetWindow(). What if the target has a layer? What if it doesn't?
See Also
glutestablishoverlay(3) glutremoveoverlay(3) glutpostoverlayredisplay(3) glutpostwindowoverlayredisplay(3) glutshowoverlay(3) gluthideoverlay(3)
BSD Epoch BSD