Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
GLPH_LOAD_FUNCS_GC(), GLPH_LOAD_FUNCS_IDX()
Load GLPh functions
Synopsis:
#define GLPH_LOAD_FUNCS_GC ( gc ) ... #define GLPH_LOAD_FUNCS_IDX ( n ) ...
Arguments:
- gc
- GLPH_LOAD_FUNCS_GC() only. A QNXGL context, as returned by qnxgl_buffers_create(), to load the functions from.
- n
- GLPH_LOAD_FUNCS_IDX() only. The index of an OpenGL renderer to load the functions from.
Library:
GL
Description:
Use these macros to load GLPh extension functions based on a QNXGL context (gc) or renderer index (n). You should call one of these macros after creating your first graphics context and have detected GL_QNX_glph in the extensions string (using glGetString(GL_EXTENSIONS)). These macros assume that the source file has already declared the function pointers, for example using GLPH_DECLARE_FUNCS or GLPH_DECLARE_EXTERN_FUNCS.
Classification:
Neutrino
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
GLPH_DECLARE_FUNCS, GLPH_DECLARE_EXTERN_FUNCS.
"OpenGL" section of the Raw Drawing and Animation chapter in the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)