Rechercher une page de manuel
glutDisplayFunc
Langue: en
Version: 168551 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutDisplayFunc - Sets the Display callback for the current window.LIBRARY
OpenGLUT - windowcallbackSYNOPSIS
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 Licurrent 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 SyNULL 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)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre