glutSetWindowData (3) - Linux Manuals

glutSetWindowData: Set the user data for the current window

NAME

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)