![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Get the clipping rectangles that are to be applied to a QNXGL buffer
int glGetPhotonClippingQNX( qnxgl_bufs_t * bufs,
PhRect_t * rects,
int max )
GL
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().
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.
Neutrino
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
glSetPhotonClippingQNX(), PhRect_t, qnxgl_buffers_create()
"OpenGL" section of the Raw Drawing and Animation chapter in the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |