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

glSetPhotonTranslationQNX()

Set the current translation for a QNXGL buffer

Synopsis:

int glSetPhotonTranslationQNX( qnxgl_bufs_t *bufs,
                               PhPoint_t * p );

Arguments:

bufs
A pointer to the qnxgl_bufs_t QNXGL buffers you wish to set the translation for.
p
A pointer to a PhPoint_t that contains the new translation.

Library:

GL

Description:

This function sets the translation Photon is using for a GL buffer. A translation is the number of x and y offset pixels applied draw commands, and is set by PgSetTranslation*().

Returns:

0 on success, -1 on error

Classification:

Neutrino

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

See also:

glGetPhotonTranslationQNX(), PgSetTranslation*(), qnxgl_buffers_create()

"Translating coordinates" and "OpenGL" sections of the Raw Drawing and Animation chapter in the Photon Programmer's Guide


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