X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=doc%2Ffreeglut_user_interface.html;fp=doc%2Ffreeglut_user_interface.html;h=6dcacd597cfe57f228b1c266825c71233a546966;hb=e43be3bc7a883b0178b886fee4c47f36f4e37fde;hp=074f2cc1361b9bec472fcd57cc17f2f13627a5dd;hpb=9d66916bab11e22ff2b670638be3a50e604897a1;p=freeglut
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.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: +
++
+ +- GLUT_FPS - specifies a time interval (in milliseconds) for +reporting framerate messages to stderr. For example, if FREEGLUT_FPS +is set to 5000, every 5 seconds a message will be printed to stderr +showing the current frame rate. The frame rate is measured by +counting the number of times glutSwapBuffers() is called over the time +interval. +
21.0 Implementation Notes