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

glSetPhotonClippingQNX()

Set the list of clipping rectangles for a QNXGL buffer

Synopsis:

int glSetPhotonClippingQNX( qnxgl_bufs_t *  bufs,
                            PhRect_t *  rects,
                            int  num )

Arguments:

bufs
A pointer to the qnxgl_bufs_t QNXGL buffers the function applies the clipping to.
rects
An array of PhRect_t, which contain the clipping rectangles to apply to the QNXGL buffer bufs.
num
The number of rectangles in the rects array.

Library:

GL

Description:

This function sets the clipping rectangles for the QNXGL buffers bufs.

Returns:

The number of rectangles, or -1 on error.

Classification:

Neutrino

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

See also:

glGetPhotonClippingQNX(), PhRect_t, qnxgl_buffers_create()

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


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