centos man page for gluttimerfunc

Query: gluttimerfunc

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UNTITLED
LOCAL UNTITLED
NAME
glutTimerFunc -- Sets the Timer callback for the current window.
LIBRARY
OpenGLUT - idletimer
SYNOPSIS
#include <openglut.h> void glutTimerFunc(unsigned int msec, void( *callback )( int data ), int data);
PARAMETERS
msec Milliseconds till invocation. callback Client function for timer event. data Arbitrary data; passed to callback .
DESCRIPTION
After at least msec milliseconds, OpenGLUT will call callback , passing in your user-supplied data parameter. OpenGLUT will call your function only once. This callback is not bound to any window.
CAVEATS
Unlike most other callbacks, timers only occur once. Unlike most other callbacks, you cannot deregister a timer callback. Unlike most other callbacks, you can register an arbitrary number of timers.
SEE ALSO
glutIdleFunc(3) glutMainLoop(3) glutMainLoopEvent(3) Epoch
Related Man Pages
glutspaceballmotionfunc(3glut) - redhat
glutcreatesubwindow(3) - centos
glutmousefunc(3) - centos
glutpopwindow(3) - centos
glutsetwindow(3) - centos
Similar Topics in the Unix Linux Community
Error: GL/glut.h: No such file or directory
How to Decode an image using openGL