AllegroGL provides two ways to access OpenGL extensions: It's native extension library and some versatile portable routines.
If you want to get more control on extensions or if you want to use an extension that is not supported by AllegroGL then you can use the routines : allegro_gl_is_extension_supported() and allegro_gl_get_proc_address(). They provide a way to determine if an extension is available and to get its address. These routines are available on every platforms that AllegroGL supports
|
OpenGL extensions handlers helper. Defines a function pointer type. This macro is almost equivalent to a typedef. It is intended to hide some platform-specific machinery in order to keep code portable.
|
|
This function is an helper to determine whether an OpenGL extension is available or not. Example:
|
|
Helper to get the address of an OpenGL symbol
Example: How to get the function
|
|
List of OpenGL extensions supported by AllegroGL. Each entry of this structure is an int which is either set to 1, if the corresponding extension is available on the host system, or 0 otherwise. Extension names use only the base name. For example, GL_ARB_multitexture should be refered to by:
Definition at line 48 of file glext.c. Referenced by allegro_gl_make_texture_ex(). |
|
List of WGL extensions supported by AllegroGL.
|