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

qnxgl_swap_buffers()

Swap the color buffers in a QNXGL buffer

Synopsis:

void qnxgl_swap_buffers( qnxgl_bufs_t * bufs );

Arguments:

bufs
A pointer to the qnxgl_bufs_t QNXGL buffer you wish to swap.

Library:

qnxgl

Description:

This function tells the OpenGL renderer that you're done rendering to the current color buffer, and you wish to use the next color buffer to render into. This function ensures that the current color buffer is made visible and then renders all subsequent OpenGL commands for contexts that reference this QNXGL buffer in the next color buffer.

Classification:

Neutrino

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

See also:

qnxgl_buffers_create(), qnxgl_buffers_destroy()

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


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