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

qnxgl_get_func()

Get a pointer to an OpenGL extension function

Synopsis:

void* qnxgl_get_func(
  const char *  func,
  qnxglc_t *  gc,
  int  n );

Arguments:

func
The name of the function you wish to find an address for.
gc
The QNXGL context that you wish to get the function for.
n
The OpenGL renderer's index that you wish to get the function for.

Library:

qnxgl

Description:

This function returns a pointer to an OpenGL function. You primarily use this to access extension functions once an OpenGL extension has been detected.

If gc is NULL, then the function uses n to determine which renderer to query for the function.

Returns:

The pointer to the function you requested, or NULL on failure.

Classification:

Neutrino

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

See also:

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


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