[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

glGetPhotonLayerQNX()

Get the layer that is tracking a QNXGL buffer

Synopsis:

int glGetPhotonLayerQNX( qnxgl_bufs_t *  bufs,
                         int *  layer_index )

Arguments:

bufs
A pointer to the qnxgl_bufs_t QNXGL buffer you want to query.
layer_index
A pointer to an int where the function can store the layer index.

Library:

GL

Description:

This function gets the index for the layer that is tracking a QNXGL buffer. Layers are indexed per-display, starting from 0, from back to front in the default overlay order.

Returns:

0 on success, -1 on error

Classification:

Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread No

See also:

glSetPhotonLayerQNX(), qnxgl_buffers_create()

"OpenGL" and "Layers" sections of the Raw Drawing and Animation chapter in the Photon Programmer's Guide.


[Previous] [Contents] [Index] [Next]