Need a 3D graph? Try the 3DSurface Viewer! Draw 3D graphs with free calculus software from Bright Ideas Software.
GLE32 Ver. 4 Manual
  Skip Navigation Links
Math ToolsExpand Math Tools
DevelopersExpand Developers
About BISExpand About BIS
  Skip Navigation LinksHome --> Developers --> GLE32 Version 4 --> GLE32 Manual --> OpenGL Extensions Search:
Skip Navigation Links

OpenGL® and OpenGL|ES are trademarks of Silicon Graphics, Inc.





OpenGL Extensions

This version of the GLE32 library introduces support for OpenGL extensions on Windows. The library does not support every extension, just the ones I frequently use myself. Initialization of the various API is split into a (hopefully logical) set of init functions, outlined below. The exact API function names should match the official documentation; when in doubt look at the gle32v4Extensions.h file.

A set of utility functions to aid in the general use of extensions is also included; these are also documented below.


Extension Utilities

Function

  

Description

BOOL CheckExtensionString (char* extensions, char* extension)  Checks for the presence of a particular extension name in an extension string. No spaces are allowed in the individual extension name.
void GetGLVersionNumbers (char* version, int& iMajorVer, int& iMinorVer, int& iSubVer)  Extract the integer representations from the GL version string.
void DumpGLInfoTextFile (char* filename, HDC dc)  Queries the various permutations of glGetString and wglGetExtensionsString and places the responses in a text file.

API Initialization Functions

BOOL InitializeVer1_2CoreAPI ()  Adds support for 3D textures and glDrawRangeElements.
BOOL InitializeExtendedPixelFormatAPI ()  (WGL_ARB_pixel_format) Although WGL_ARB_pixel_format hasn't been promoted, it is integral to multisampling and other functionality, some of which has been promoted. This function is called internally by InitializeMultitextureAPI and InitializePBufferAPI.
BOOL InitializeMultitextureAPI ()  (GL_ARB_multitexture) Promoted to the core @ 1.2.1.
BOOL InitializeSwapControlAPI ()  (WGL_EXT_swap_control) Used to control refresh rate in games.
BOOL InitializeMultisamplingAPI ()  (GL_ARB_multisample) Promoted to the core @ 1.3. As noted above, this calls InitializeExtendedPixelFormatAPI.
BOOL InitializeTextureCompressionAPI ()  (GL_ARB_texture_compression) Promoted to the core @ 1.3.
BOOL InitializeTransposeMatrixAPI ()  (GL_ARB_transpose_matrix) Promoted to the core @ 1.3.
BOOL InitializeBufferRegionAPI ()  (WGL_ARB_buffer_region)
BOOL InitializePBufferAPI ()  (WGL_ARB_pbuffer) As noted above, this calls InitializeExtendedPixelFormatAPI.
BOOL InitializeRenderToTextureAPI ()  (WGL_ARB_render_texture)
BOOL InitializeCompiledArraysAPI ()  (GL_EXT_compiled_vertex_array)
BOOL InitializeVer1_4BlendingAPI ()  (GL_EXT_blend_func_separate, GL_EXT_blend_color and GL_EXT_blend_minmax)
BOOL InitializePointParameterAPI ()  (GL_ARB_point_parameters) Promoted to the core @ 1.4.
BOOL InitializeFogCoordinateAPI ()  (GL_EXT_fog_coord) Promoted to the core @ 1.4.
BOOL InitializeSecondaryColorAPI ()  (GL_EXT_secondary_color) Promoted to the core @ 1.4.
BOOL InitializeVertexBufferObjectAPI ()  (GL_ARB_vertex_buffer_object) Promoted to the core @ 1.5.
BOOL InitializeShaderAPIs ()  (GL_ARB_shader_objects, GL_ARB_vertex_shader and GL_ARB_fragment_shader) GL_ARB_fragment_shader was promoted to the core @ 1.5, the other two at 2.0.

Back To Top



Copyright© 2001-2008 by Bright Ideas Software®. All rights reserved.