Query: glutdisplayfunc
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UNTITLEDLOCAL UNTITLEDNAMEglutDisplayFunc -- Sets the Display callback for the current window.LIBRARYOpenGLUT - windowcallbackSYNOPSIS#include <openglut.h> void glutDisplayFunc(void( *callback )( void ));PARAMETERScallback Client function for normal redisplay event.DESCRIPTIONSets the display callback for the current window . All windows, including subwindows, must have a display callback registered. OpenG- LUT will call the callback function whenever it thinks that the window may require updating. This callback is bound to the current window .CAVEATSUnlike most callbacks, it is illegal to try to disable the display callback by setting it to NULL . Multiple redisplays may be coalesced into a single event for invoking the callback only once.SEE ALSOglutPostRedisplay(3) glutOverlayDisplayFunc(3) Epoch