glutLayerGet man page

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)

 

Referenced By

glutDeviceGet(3), glutGet(3), glutGetModifiers(3), glutSetOption(3).

October 14, 2017