Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

CentOS 7.0 - man page for glutmainloop (centos section 3)

UNTITLED
LOCAL UNTITLED
NAME
glutMainLoop -- The standard GLUT event loop entry point.
LIBRARY
OpenGLUT - mainloop
SYNOPSIS
#include <openglut.h> void glutMainLoop(void);
DESCRIPTION
This is the main driving force for an event-driven OpenGLUT program. It alternates between calling glutMain- LoopEvent() to process pending events and then either sleeping or calling your idle function (see glutIdle- Func()). This function can 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 ExecState changes to GLUT_EXEC_STATE_STOP.
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) Epoch


All times are GMT -4. The time now is 11:07 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password