GLUTOVERLAYDISPLAYFUNC

Section: C Library Functions (3)
Updated: LOCAL
Index Return to Main Contents

BSD mandoc
 

NAME

glutOverlayDisplayFunc - Defines the display hook for an overlay.  

LIBRARY

OpenGLUT - windowcallback  

SYNOPSIS

In openglut.h Ft void Fn glutOverlayDisplayFunc void( *callback )( void )  

PARAMETERS

Bf Em
 callback Ef
    Client hook for overlay redisplay.  

DESCRIPTION

Bf Sy
 callback Ef
 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 Bf Em
 both Ef
  the Bf Li
 current window Ef
  and the Bf Li
 layer Ef
 .

 

BUGS

OpenGLUT does not implement layers at this time.

 

SEE ALSO

glutDisplayFunc(3) glutPostOverlayRedisplay(3) glutEstablishOverlay(3) glutUseLayer(3)