glcDataPointer(3G)
glcDataPointer - assign a value to GLC_DATA_POINTER
Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.
NAME glcDataPointer - assign a value to GLC_DATA_POINTER C SPECIFICATION void glcDataPointer( GLvoid *inPointer ) PARAMETERS inPointer Specifies the value to assign to GLC_DATA_POINTER. DESCRIPTION glcDataPointer assigns the value inPointer to the variable GLC_DATA_POINTER. It is used for access to client data from a callback function. glcDataPointer provides a way to store in a GLC context a pointer to arbitrary application data. A GLC callback function can subsequently use the command glcGetPointer(GLC_DATA_POINTER) to obtain access to these data in a thread-safe manner. ERRORS GLC_STATE_ERROR is generated if the issuing thread has no current GLC context. ASSOCIATED GETS glcGetPointer with argument GLC_DATA_POINTER