glutsetwindowdata(3) - Linux man page

Name

glutSetWindowData - Set the user data for the current window

Library

OpenGLUT - window

Synopsis

#include <openglut.h>

void

glutSetWindowData(void* data);

Parameters

data Arbitrary client-supplied pointer.

Description

This associates an arbitrary void* value with the current window . 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)

BSD Epoch BSD