Unix and Linux Discussions Tagged with game |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
5,562 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
1,391 |
Programming |
|
|
|
0 |
10,623 |
News, Links, Events and Announcements |
|
|
|
7 |
7,053 |
Shell Programming and Scripting |
|
|
|
0 |
1,041 |
Software Releases - RSS News |
|
|
|
0 |
784 |
Software Releases - RSS News |
|
|
|
0 |
737 |
Software Releases - RSS News |
|
|
|
0 |
685 |
Software Releases - RSS News |
|
|
|
0 |
849 |
Software Releases - RSS News |
|
|
|
0 |
1,648 |
Malware Advisories (RSS) |
|
|
|
0 |
1,320 |
Malware Advisories (RSS) |
|
|
|
0 |
1,160 |
Malware Advisories (RSS) |
|
|
|
0 |
1,516 |
Malware Advisories (RSS) |
|
|
|
0 |
1,201 |
Malware Advisories (RSS) |
|
|
|
0 |
1,171 |
Malware Advisories (RSS) |
|
|
|
0 |
1,429 |
Malware Advisories (RSS) |
|
|
|
0 |
1,152 |
Malware Advisories (RSS) |
|
|
|
0 |
1,176 |
Malware Advisories (RSS) |
|
|
|
0 |
1,141 |
Malware Advisories (RSS) |
|
|
|
2 |
1,950 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
0 |
1,030 |
Software Releases - RSS News |
|
|
|
0 |
879 |
Software Releases - RSS News |
|
|
|
0 |
918 |
Software Releases - RSS News |
|
|
|
0 |
827 |
Software Releases - RSS News |
|
|
|
2 |
2,890 |
Programming |
|
|
|
4 |
2,185 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
6,158 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,979 |
UNIX for Dummies Questions & Answers |
glutGameModeGet(3GLUT) GLUT glutGameModeGet(3GLUT)
NAME
glutGameModeGet - retrieves GLUT device information represented by integers.
SYNTAX
int glutGameModeGet(GLenum info);
ARGUMENTS
info Name of game mode information to retrieve.
GLUT_GAME_MODE_ACTIVE
Non-zero if GLUT's game mode is active; zero if not active. Game mode is not active initially. Game mode becomes active when glu-
tEnterGameMode is called. Game mode becomes inactive when glutLeaveGameMode is called.
GLUT_GAME_MODE_POSSIBLE
Non-zero if the game mode string last specified to glutGameModeString is a possible game mode configuration; zero otherwise. Being
"possible" does not guarantee that if game mode is entered with glutEnterGameMode that the display settings will actually changed.
GLUT_GAME_MODE_DISPLAY_CHANGED should be called once game mode is entered to determine if the display mode is actually changed.
GLUT_GAME_MODE_WIDTH
Width in pixels of the screen when game mode is activated.
GLUT_GAME_MODE_HEIGHT
Height in pixels of the screen when game mode is activated.
GLUT_GAME_MODE_PIXEL_DEPTH
Pixel depth of the screen when game mode is activiated.
GLUT_GAME_MODE_REFRESH_RATE
Screen refresh rate in cyles per second (hertz) when game mode is activated. Zero is returned if the refresh rate is unknown or
cannot be queried.
GLUT_GAME_MODE_DISPLAY_CHANGED
Non-zero if entering game mode actually changed the display settings. If the game mode string is not possible or the display mode
could not be changed for any other reason, zero is returned.
DESCRIPTION
glutGameModeGet retrieves GLUT game mode information represented by integers. The info parameter determines what type of game mode informa-
tion to return. Requesting game mode information for an invalid GLUT game mode information name returns negative one.
SEE ALSO
glutGet, glutDeviceGet, glutLayerGet, glutGameModeString, glutEnterGameMode, glutLeaveGameMode
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutGameModeGet(3GLUT)