glutSetWindowData - Man Page

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)

Referenced By

glutGetWindowData(3).