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

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] [Contents] [Index] [Next]