glutUseLayer - Man Page

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)

Referenced By

glutEstablishOverlay(3), glutHideOverlay(3), glutOverlayDisplayFunc(3), glutPostOverlayRedisplay(3), glutPostWindowOverlayRedisplay(3), glutRemoveOverlay(3), glutShowOverlay(3).