glutsetmenudata(3) - Linux man page

Name

glutSetMenuData - Store menu user data pointer

Library

OpenGLUT - menus

Synopsis

#include <openglut.h>

void

glutSetMenuData(void *data);

Parameters

data Client pointer data

Description

glutSetMenuData() associates an arbitrary user data pointer, data, with the current menu . OpenGLUT does not interpret this pointer in any way, but merely stores it for you in the menu structure.

See Also

glutgetmenudata(3)

BSD Epoch BSD