Query: glutmainloopevent
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UNTITLEDLOCAL UNTITLEDNAMEglutMainLoopEvent -- Dispatches all pending events.LIBRARYOpenGLUT - mainloopSYNOPSIS#include <openglut.h> void glutMainLoopEvent(void);DESCRIPTIONThe general outline of this function is to first drain the queue of windowsystem events, in most cases dispatching each as it is found. After the queue is empty, we check for timer-based events, coalesced window events (e.g., redisplays), and windows that need to be closed. 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.CAVEATSDoes not necessarily dispatch events that are received after this function starts processing. At first glance, this function may not seem to afford any new capability that you couldn't get with an idle callback or glutLeaveMainLoop(). However there are other GLUT-like libraries that may have their own window event processing loops. Having glutMainLoopEvent() allows you to ask OpenGLUT to do its work in a batch, then return to whatever processing the other library (or libraries) require.SEE ALSOglutIdleFunc(3) glutLeaveMainLoop(3) glutMainLoop(3) Epoch
Related Man Pages |
---|
glutidlefunc(3glut) - redhat |
glutcreatewindow(3) - centos |
glutsetwindow(3) - centos |
glutsetoption(3) - centos |
glutspecialfunc(3) - centos |
Similar Topics in the Unix Linux Community |
---|
Weird 'find' results |
Set hard block limit for user using quota |
How to increment version inside a file? |
Docker learning Phase-I |
Shopt -s histappend |