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

glSetPhotonRenderSurfaceQNX()

Change the color buffer for a QNXGL buffer

Synopsis:

int glSetPhotonRenderSurfaceQNX(
               qnxgl_bufs_t *bufs,
               PgSurface_t *  surf,
               int  buffer_index );

Arguments:

bufs
A pointer to the qnxgl_bufs_t QNXGL buffers you wish to modify.
surf
A pointer to a PgSurface_t that replaces the current color buffer.
buffer_index
The index of the color buffer to replace.

Library:

GL

Description:

This function replaces a color buffer in a QNXGL buffer with a new PgSurface_t color buffer.

Returns:

0 on success, -1 on error

Classification:

Neutrino

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

See also:

qnxgl_buffers_create()

"OpenGL" section of the Raw Drawing and Animation chapter in the Photon Programmer's Guide


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