Query: glutmainloop
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UNTITLEDLOCAL UNTITLEDNAMEglutMainLoop -- The standard GLUT event loop entry point.LIBRARYOpenGLUT - mainloopSYNOPSIS#include <openglut.h> void glutMainLoop(void);DESCRIPTIONThis 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 can return, but GLUT's version of this function never returned. And you must do special things to OpenGLUT to cause OpenG- LUT'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.CAVEATSFor OpenGLUT developers' internal documentation: Runs until the ExecState changes to GLUT_EXEC_STATE_STOP.BUGSTalking to other message systems (e.g., network layers) can be a bit bothersome under the GLUT event model.SEE ALSOglutMainLoopEvent(3) glutLeaveMainLoop(3) glutIdleFunc(3) Epoch