GLUTDISPLAYFUNC

Section: C Library Functions (3)
Updated: LOCAL
Page Index

BSD mandoc
 

NAME

glutDisplayFunc - Sets the Display callback for the current window.  

LIBRARY

OpenGLUT - windowcallback  

SYNOPSIS

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

PARAMETERS

Bf Em
 callback Ef
    Client function for normal redisplay event.  

DESCRIPTION

Sets the display callback for the Bf Li
 current window Ef
 . All windows, including subwindows, Bf Em
 must Ef
  have a display callback registered. OpenGLUT will call the Bf Sy
 callback Ef
 function whenever it thinks that the window may require updating.

This callback is bound to the Bf Li
 current window Ef
 .

 

CAVEATS

Unlike most callbacks, it is illegal to try to disable the display callback by setting it to Bf Sy
 NULL Ef
 .

Multiple redisplays may be coalesced into a single event for invoking the Bf Sy
 callback Ef
 only once.

 

SEE ALSO

glutPostRedisplay(3) glutOverlayDisplayFunc(3)


 

Index

NAME
LIBRARY
SYNOPSIS
PARAMETERS
DESCRIPTION
CAVEATS
SEE ALSO
LinuxReviews : manual page archive : man3