GLUTOVERLAYDISPLAYFUNC(3)

NAME
glutOverlayDisplayFunc - Defines the display hook for an overlay.

LIBRARY
OpenGLUT - windowcallback

SYNOPSIS
#include <openglut.h>
void
glutOverlayDisplayFunc(void( *callback )( void ));

PARAMETERS

callback Client hook for overlay redisplay.

DESCRIPTION
callback is invoked by OpenGLUT to refresh an overlay, if OpenGLUT thinks that this is necessary. Generally, very similar to glutDisplayFunc(), save that:

- The redisplay is triggered differently. - OpenGLUT sets the layer for you. - You do not need to have, and can deregister, this callback.

This callback is bound to both

the current window and the layer .

BUGS
OpenGLUT does not implement layers at this time.

SEE ALSO
glutDisplayFunc(3) glutPostOverlayRedisplay(3) glutEstablishOverlay(3) glutUseLayer(3)