Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
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]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)