Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
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:
"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)