glutlayerget(3) - Linux man page

Name

glutLayerGet - Allows you to get some overlay state/option variables.

Library

OpenGLUT - overlays

Synopsis

#include <openglut.h>

int

glutLayerGet(GLenum eWhat);

Parameters

eWhat Enumerated parameter ID.

Description

Returns some useful information about layers. Or, it would be useful if layers were implemented... eWhat may be given any of the following values:

- GLUT_HAS_OVERLAY

- GLUT_LAYER_IN_USE

- GLUT_NORMAL_DAMAGED
0 unless the window system has told us that the normal layer is damaged (glutPostRedisplay() does not affect this).

- GLUT_OVERLAY_DAMAGED
-1 if no layer in use.

- GLUT_OVERLAY_POSSIBLE

- GLUT_TRANSPARENT_INDEX
-1 if no layer in use.

All information relates to the current window and any overlay that it may have.

See Also

glutsetoption(3) glutget(3) glutdeviceget(3) glutgetmodifiers(3)

BSD Epoch BSD