OpenGL C Quick Reference

void glutIdleFunc( void (*func)(void) )

Sets up a function to be called when no window system events are being received.


void glutSwapBuffers( void )

Swaps the buffers of the current window, if it is double buffered.


void glutVisibilityFunc( void (*func)(int state) )

Sets the visibility callback function for the current window.