GLUTUSELAYER

Section: C Library Functions (3)
Updated: LOCAL
Page Index

BSD mandoc
 

NAME

glutUseLayer - Allows you to switch between normal and layer mode.  

LIBRARY

OpenGLUT - overlays  

SYNOPSIS

In openglut.h Ft void Fn glutUseLayer GLenum layer  

PARAMETERS

Bf Em
 layer Ef
    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().

Bf Sy
 layer Ef
 can take on the following values, indicating the layer mode to use:


 -  Bf Sy
 GLUT_NORMAL Ef
 
 -  Bf Sy
 GLUT_LAYER Ef
 

 

CAVEATS

Unimplemented.

It is unclear what the consequences are if you are in Bf Sy
 GLUT_OVERLAY Ef
 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)


 

Index

NAME
LIBRARY
SYNOPSIS
PARAMETERS
DESCRIPTION
CAVEATS
SEE ALSO