1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutTimerFunc — Sets the Timer callback for the current window.
5

LIBRARY

7     OpenGLUT - idletimer
8

SYNOPSIS

10     #include <openglut.h>
11
12     void
13     glutTimerFunc(unsigned int msec, void( *callback )( int data ),
14         int data);
15

PARAMETERS

17      msec         Milliseconds till invocation.
18
19      callback     Client function for timer event.
20
21      data         Arbitrary data; passed to  callback  .
22

DESCRIPTION

24     After  at least   msec  milliseconds, OpenGLUT will call  callback  ,
25     passing in your user-supplied  data  parameter.  OpenGLUT will call your
26     function only once.
27
28     This callback is  not   bound to any window.
29

CAVEATS

31     Unlike most other callbacks, timers only occur once.
32
33     Unlike most other callbacks, you cannot deregister a timer callback.
34
35     Unlike most other callbacks, you can register an arbitrary number of
36     timers.
37

SEE ALSO

39     glutIdleFunc(3) glutMainLoop(3) glutMainLoopEvent(3)
40
41
42
43
44                                     Epoch
Impressum