1UNTITLED LOCAL UNTITLED
2
4 glutSetWindowData — Set the user data for the current window
5
7 OpenGLUT - window
8
10 #include <openglut.h>
11
12 void
13 glutSetWindowData(void* data);
14
16 data Arbitrary client-supplied pointer.
17
19 This associates an arbitrary void* value with the current window .
20 This is especially useful in client-side callbacks that service many win‐
21 dows, if the client needs to know more about the window than OpenGLUT
22 normally will provide.
23
25 glutGetWindowData(3)
26
27
28
29
30 Epoch