This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Load GLPh functions
#define GLPH_LOAD_FUNCS_GC ( gc ) ... #define GLPH_LOAD_FUNCS_IDX ( n ) ...
GL
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.
Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | No |
GLPH_DECLARE_FUNCS, GLPH_DECLARE_EXTERN_FUNCS.
"OpenGL" section of the Raw Drawing and Animation chapter in the Photon Programmer's Guide