This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Get the index of the OpenGL renderer
int qnxgl_get_index ( qnxglc_t * gc, qnxgl_bufs_t * buf );
qnxgl
This function returns the index of an OpenGL renderer that's owned by a QNXGL context or buffer. If gc is valid (that is, not NULL), then the index for gc's renderer is returned. If gc is NULL, then buf's renderer index is returned. If both buf and gc are NULL, then -1 is returned.
The index of the renderer who owns the gc or buffers, or -1 if there is an error.
Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | No |
"OpenGL" section of the Raw Drawing and Animation chapter in the Photon Programmer's Guide