Rechercher une page de manuel
glutTimerFunc
Langue: en
Version: 157611 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutTimerFunc - Sets the Timer callback for the current window.LIBRARY
OpenGLUT - idletimerSYNOPSIS
In openglut.h Ft void Fn glutTimerFunc unsigned int msec void( *callback )( int data ) int dataPARAMETERS
Bf Em
msec Ef
Milliseconds till invocation.
Bf Em
callback Ef
Client function for timer event.
Bf Em
data Ef
Arbitrary data; passed to Bf Sy
callback Ef
.
DESCRIPTION
After Bf Emat least Ef
Bf Sy
msec Ef
milliseconds, OpenGLUT will call Bf Sy
callback Ef
, passing in your user-supplied Bf Sy
data Ef
parameter. OpenGLUT will call your function only once.
This callback is Bf Em
not Ef
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)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre