Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
qnxgl_get_index()
Get the index of the OpenGL renderer
Synopsis:
int qnxgl_get_index ( qnxglc_t * gc, qnxgl_bufs_t * buf );
Arguments:
- gc
- A pointer to a QNXGL context structure.
- buf
- A pointer to a QNXGL buffers structure.
Library:
qnxgl
Description:
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.
Returns:
The index of the renderer who owns the gc or buffers, or -1 if there is an error.
Classification:
Neutrino
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
"OpenGL" section of the Raw Drawing and Animation chapter in the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)