GLAF
OpenGL Advanced Functionality
Capabilities
void glaf_Version(GLint *major, GLint *minor, GLint *release) Returns the GLAF major, minor, and release version numbers.
void glaf_OpenGLVersion(GLint *major, GLint *minor, GLint *release) Returns the OpenGL major, minor, and release version numbers. Examples: OpenGL 1.0 has 1,0,0. OpenGL 1.2.1 has 1,2,1.
GLboolean glaf_IsOpenGLExtensionSupported(char *extName) Returns GL_TRUE if the OpenGL Extension whose name is *extName is supported by the system, or GL_FALSE otherwise. The *extName string must follow the OpenGL extensions naming scheme (ie: "GL_type_extension", like GL_EXT_convolution, for example). This function parses the extensions string, and is provided just in case you need to actually check for an extension. Most users will never call this function, because GLAF does all this work automatically for all supported features. The code for parsing the extensions string was taken from the book OpenGL
on Silicon Graphics Systems.
|
Copyright (C) 2001 César Blecua Udías