UNTITLED LOCAL UNTITLED
NAMEglutUseLayer — 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 ALSOglutEstablishOverlay(3)glutRemoveOverlay(3)glutPostOverlayRedisplay(3)glutPostWindowOverlayRedisplay(3)glutShowOverlay(3)glutHideOverlay(3)
Epoch