1UNTITLED LOCAL UNTITLED
2
4 glutOverlayDisplayFunc — Defines the display hook for an overlay.
5
7 OpenGLUT - windowcallback
8
10 #include <openglut.h>
11
12 void
13 glutOverlayDisplayFunc(void( *callback )( void ));
14
16 callback Client hook for overlay redisplay.
17
19 callback is invoked by OpenGLUT to refresh an overlay, if OpenGLUT
20 thinks that this is necessary. Generally, very similar to glutDisplay‐
21 Func(), save that:
22
23 - The redisplay is triggered differently.
24 - OpenGLUT sets the layer for you.
25 - You do not need to have, and can deregister, this callback.
26
27 This callback is bound to both the current window and the layer .
28
30 OpenGLUT does not implement layers at this time.
31
33 glutDisplayFunc(3) glutPostOverlayRedisplay(3) glutEstablishOverlay(3)
34 glutUseLayer(3)
35
36
37
38
39 Epoch