glutSetWindowData – Set the user data for the current window
Library
OpenGLUT – window
Synopsis
In openglut.h Ft void Fn glutSetWindowData void* data
Parameters
Bf Em
data Ef
Arbitrary client-supplied pointer.
Description
This associates an arbitrary Bf Sy
void* Ef
value with the Bf Li
current window Ef
. This is especially useful in client-side callbacks that service many windows, if the client needs to know more about the window than OpenGLUT normally will provide.
See Also
glutGetWindowData(3)