glutgetwindowdata(3) centos man page | unix.com

Man Page: glutgetwindowdata

Operating Environment: centos

Section: 3

UNTITLED
LOCAL UNTITLED
NAME
glutGetWindowData -- Get the user data for the current window
LIBRARY
OpenGLUT - window
SYNOPSIS
#include <openglut.h> void* glutGetWindowData(void);
DESCRIPTION
This function will return whatever void* value is associated with the current window via glutSetWindowData(). This is NULL if you did not associate a pointer with your window. This can be useful in a situation where you have a single callback function performing services for many windows. You could keep track of the window id s in a global list and search for the current window in that list. But this is quicker than searching a data structure, and allows you to avoid the use of globals for this.
SEE ALSO
glutSetWindowData(3) Epoch
Related Man Pages
glutvisibilityfunc(3glut) - redhat
glutsetcursor(3) - centos
glutsetoption(3) - centos
glutspecialfunc(3) - centos
glutvisibilityfunc(3glut) - suse
Similar Topics in the Unix Linux Community
How to increment version inside a file?
DB2 convert digits to binary format
Shopt -s histappend
CentOS 6 ran out of space, need to reclaim it
[TIP] Processing YAML files with yq