glutGetWindowData (3) - Linux Man Pages
glutGetWindowData: Get the user data for the current window
Command to display
glutGetWindowData manual in Linux:
$ man 3 glutGetWindowData
- Get the user data for the current window
OpenGLUT - window
Fn glutGetWindowData void
This function will return whatever
associated with the
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.
keep track of the
s in a
global list and search for the
that list. But this is quicker than searching a data
structure, and allows you to avoid the use of globals for this.
Pages related to glutGetWindowData