glutOverlayDisplayFunc man page

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)

Referenced By

glutDisplayFunc(3), glutPostOverlayRedisplay(3), glutPostWindowOverlayRedisplay(3).

August 9, 2018