From: Brian Paul Date: Wed, 18 Jun 2003 14:07:17 +0000 (+0000) Subject: added glutGetProcAddress and GLUT_FPS info X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=e43be3bc7a883b0178b886fee4c47f36f4e37fde;p=freeglut added glutGetProcAddress and GLUT_FPS info git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@75 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/doc/freeglut_user_interface.html b/doc/freeglut_user_interface.html index 074f2cc..6dcacd5 100644 --- a/doc/freeglut_user_interface.html +++ b/doc/freeglut_user_interface.html @@ -144,7 +144,8 @@ Functions
13.3  glutDeviceGet
13.4  glutGetModifiers
13.5  glutLayerGet -
13.6  glutExtensionSupported +
13.6  glutExtensionSupported +
13.7  glutGetProcAddress


14.0  Font Rendering Functions

14.1  glutBitmapCharacter @@ -269,7 +270,15 @@ in pixels for bitmapped fonts and in OpenGL units for the stroke fonts. 3.4.4  Geometry Rendering Two functions have been added to render a wireframe and a solid rhombic dodecahedron. +

+3.4.5  Extension Function Queries

+glutGetProcAddress is a wrapper for the glXGetProcAddressARB and +wglGetProcAddress functions.

+ + + + 4.0  Initialization Functions

@@ -810,6 +819,33 @@ have them fixed.

13.6  glutExtensionSupported

+

+13.7  glutGetProcAddress

+

+glutGetProcAddress returns a pointer to a named GL or FreeGLUT function. +

+

Usage +

void *glutGetProcAddress ( const char *procName ) ; +

procName        Name of +an OpenGL or GLUT function. +

+

Description +

glutGetProcAddress is useful for dealing with OpenGL extensions. +If an application calls OpenGL extension functions directly, that application +will only link/run with an OpenGL library that supports the extension. +By using a function pointer returned from glutGetProcAddress(), the +application will avoid this hard dependency and be more portable and +interoperate better with various implementations of OpenGL. +

+

+Both OpenGL functions and FreeGLUT functions can be queried with this function. +

+

+NOTE: this function is not supported in GLUT. +

+ + +

14.0  Font Rendering Functions

Freeglut supports two types of font rendering:  bitmap fonts, @@ -1307,6 +1343,19 @@ is the famous OpenGL teapot [add reference].

20.0  Usage Notes

+

+The following environment variables are recognized by FreeGLUT: +

+ + +

21.0  Implementation Notes