[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.

glSetPhotonLayerQNX()

Set the Photon layer for a QNXGL buffer

Synopsis:

int glSetPhotonLayerQNX( qnxgl_bufs_t *bufs,
                         int layer_index );

Arguments:

bufs
A pointer to the qnxgl_bufs_t QNXGL buffers you wish to modify.
layer_index
The index of the layer you wish to have track this buffer. Set this argument to -1 for no layer.
Note: You can only have 1 layer tracking a given buffer at any time.

Library:

GL

Description:

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.

Returns:

0 on success, -1 on error

Classification:

Neutrino

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

See also:

glGetPhotonLayerQNX(), qnxgl_buffers_create()

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


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