![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Set the Photon layer for a QNXGL buffer
int glSetPhotonLayerQNX( qnxgl_bufs_t *bufs,
int layer_index );
![]() |
You can only have 1 layer tracking a given buffer at any time. |
GL
This function sets the Photon layer that tracks a QNXGL buffer. Layers are indexed per-display, starting from 0, from back to front in the default overlay order.
0 on success, -1 on error
Neutrino
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
glGetPhotonLayerQNX(), qnxgl_buffers_create()
"OpenGL" and "Layers" sections of the Raw Drawing and Animation chapter in the Photon Programmer's Guide.
![]() |
![]() |
![]() |
![]() |