1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutDisplayFunc — Sets the Display callback for the current window.
5

LIBRARY

7     OpenGLUT - windowcallback
8

SYNOPSIS

10     #include <openglut.h>
11
12     void
13     glutDisplayFunc(void( *callback )( void ));
14

PARAMETERS

16      callback     Client function for normal redisplay event.
17

DESCRIPTION

19     Sets the display callback for the  current window  .  All windows,
20     including subwindows,  must   have a display callback registered.  OpenG‐
21     LUT will call the  callback  function whenever it thinks that the window
22     may require updating.
23
24     This callback is bound to the  current window  .
25

CAVEATS

27     Unlike most callbacks, it is illegal to try to disable the display call‐
28     back by setting it to  NULL  .
29
30     Multiple redisplays may be coalesced into a single event for invoking the
31      callback  only once.
32

SEE ALSO

34     glutPostRedisplay(3) glutOverlayDisplayFunc(3)
35
36
37
38
39                                     Epoch
Impressum