CentOS 7.0 - man page for glutvisibilityfunc (centos section 3)
|Linux & Unix Commands - Search Man Pages
UNTITLED LOCAL UNTITLED
glutVisibilityFunc -- Sets the Visibility callback for the current window.
OpenGLUT - deprecated
glutVisibilityFunc(void( *callback )( int status ));
callback Client hook for visibility changes.
OpenGLUT may call this function when your window's visbility status has changed. status
can take on two values: GLUT_NOT_VISIBLE or GLUT_VISIBLE . If any pixel of your window
(including descendants) is visible, your window is GLUT_VISIBLE .
The callback is bound to the current window .
This is not a polling mechanism. You are only informed of transitions that OpenGLUT
observes while your callback is in place.
This function appears to be superceded by glutWindowStatusFunc().
This callback is mutually exclusive of glutWindowStatusFunc().
All times are GMT -4. The time now is 11:29 AM.