manpagez: man pages & more
man glutUseLayer(3)
Home | html | info | man
glutUseLayer(3GLUT)                  GLUT                  glutUseLayer(3GLUT)




NAME

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


SYNTAX

       void glutUseLayer(GLenum layer);


ARGUMENTS

       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  win-
       dow,  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   glutLayer-
       Get(GLUT_LAYER_IN_USE).


SEE ALSO

       glutEstablishOverlay(3), glutSetWindow(3)


AUTHOR

       Mark J. Kilgard (mjk@nvidia.com)



GLUT                                  3.7                  glutUseLayer(3GLUT)

Mac OS X 10.6 - Generated Thu Sep 17 20:20:45 CDT 2009
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.