Name

glutUseLayer  -  changes  the layer in use for the current
window.

Python Specification

glutUseLayer
	glutUseLayer(layer) -> None

C Specification

void glutUseLayer(GLenum layer);

Parameters

layer     Either GLUT_NORMAL  or  GLUT_OVERLAY,  selecting
          the normal plane or overlay respectively.

Description

glutUseLayer  changes  the per-window layer in use for the
current window, selecting either the normal plane or over-
lay.  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  glutLayer-
Get(GLUT_LAYER_IN_USE).

See Also

glutEstablishOverlay, glutSetWindow

Author

Mark J. Kilgard (mjk@nvidia.com)

:: Documentation :: References :: GLUT ::
:: Index (n/a) ::