glutEnterGameMode

enters and leaves GLUT's game mode.

Signature

glutEnterGameMode( )-> int
glutEnterGameMode( ) -> <class 'ctypes.c_int'>
glutEnterGameMode(  ) -> c_int
glutLeaveGameMode( )-> void
glutLeaveGameMode( )
glutLeaveGameMode(  ) -> None

See Also

glutGameModeGet glutGameModeString glutInitDisplayString

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glutEnterGameMode
{LGPL} PyUI pyui/renderers/openglGlut.py Lines: 50
{LGPL} PyUI2 renderers/openglGlut.py Lines: 50
{LGPL} PyUI2 system/glutdevice.py Lines: 46
glutLeaveGameMode
{LGPL} PyUI pyui/renderers/openglGlut.py Lines: 150
{LGPL} PyUI2 renderers/openglGlut.py Lines: 150
{LGPL} PyUI2 system/glutdevice.py Lines: 107