Rechercher une page de manuel
glutMainLoop
Langue: en
Version: 162195 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutMainLoop - The standard GLUT event loop entry point.LIBRARY
OpenGLUT - mainloopSYNOPSIS
In openglut.h Ft void Fn glutMainLoop voidDESCRIPTION
This is the main driving force for an event-driven OpenGLUT program. It alternates between calling glutMainLoopEvent() to process pending events and then either sleeping or calling your idle function (see glutIdleFunc()).This function Bf Li
can Ef
return, but GLUT's version of this function never returned. And you must do special things to OpenGLUT to cause OpenGLUT's version to return.
The cross-reference section for this function's documentation should ideally contain every callback, but the list would be tediously long and prone to omissions.
CAVEATS
For OpenGLUT developers' internal documentation: Runs until the Bf SyExecState Ef
changes to Bf Sy
GLUT_EXEC_STATE_STOP. Ef
BUGS
Talking to other message systems (e.g., network layers) can be a bit bothersome under the GLUT event model.SEE ALSO
glutMainLoopEvent(3) glutLeaveMainLoop(3) glutIdleFunc(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre