Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
glGetPhotonClippingQNX ()
Get the clipping rectangles that are to be applied to a QNXGL buffer
Synopsis:
int glGetPhotonClippingQNX( qnxgl_bufs_t * bufs,
PhRect_t * rects,
int max )
Arguments:
- bufs
- A pointer to the qnxgl_bufs_t QNXGL buffer you want to query.
- rects
- A pointer to an array of PhRect_t structures, which the function fills in with clipping rectangles.
- max
- The maximum number of rectangles to enter into the rects array.
Library:
GL
Description:
Use this function to query the clipping rectangles that Photon will apply to a set of QNXGL buffers. You create QNXGL buffers with qnxgl_buffers_create().
Returns:
The number of rectangles, or -1 if there were more rectangles than max. If there are more than max rectangles, the array is still filled up to max entries.
Classification:
Neutrino
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
glSetPhotonClippingQNX(), PhRect_t, qnxgl_buffers_create()
"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)