1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutGameModeGet — Return the value of a game mode parameter
5

LIBRARY

7     OpenGLUT - gamemode
8

SYNOPSIS

10     #include <openglut.h>
11
12     int
13     glutGameModeGet(GLenum pname);
14

PARAMETERS

16      pname      The parameter value to be returned
17

DESCRIPTION

19      pname  is one of:
20
21      -  GLUT_GAME_MODE_ACTIVE
22     Return non-zero if we are presently in gamemode.
23
24      -  GLUT_GAME_MODE_POSSIBLE
25     Return whether the requested gamemode settings are viable.  (May also
26     actually change the mode?)  Does not necessarily tell you whether enter‐
27     ing gamemode will have any effect.
28
29      -  GLUT_GAME_MODE_WIDTH
30     Return the game mode width. (in pixels)
31
32      -  GLUT_GAME_MODE_HEIGHT
33     Return the game mode height. (in pixels)
34
35      -  GLUT_GAME_MODE_PIXEL_DEPTH
36     Return the game mode pixel depth. (in bits)
37
38      -  GLUT_GAME_MODE_REFRESH_RATE
39     Return the game mode vertical refresh frequency. (in Hz)
40
41      -  GLUT_GAME_MODE_DISPLAY_CHANGED
42     Return non-zero if we are presently in gamemode.  (Same as
43     GLUT_GAME_MODE_ACTIVE.)
44
45     If  pname  is unknown, a warning is printed and a value of
46      -1 is returned.
47

TODO

49     Documentation
50
51     OpenGLUT intrepretation of GLUT_GAME_MODE_DISPLAY_CHANGED
52

SEE ALSO

54     glutGameModeString(3) glutEnterGameMode(3) glutLeaveGameMode(3)
55     glutGameModeGet(3)
56
57
58
59
60                                     Epoch
Impressum