|
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. |