Rechercher une page de manuel
glutGetProcAddress
Langue: en
Version: 164725 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutGetProcAddress - Determine if an OpenGLUT feature or extension is available.LIBRARY
OpenGLUT - openglutSYNOPSIS
In openglut.h Ft void Fn glutGetProcAddress const char *procNamePARAMETERS
Bf Em
procName Ef
Procedure name.
DESCRIPTION
Given a function name, searches for the function (or "procedure", hence "Proc") in internal tables. If the function is found, a pointer to the function is returned. If the function is not found, Bf SyNULL Ef
is returned.
In addition to an internal OpenGLUT table, this function will also consult glX (on X systems) or wgl (on WIN32 and WINCE), if the OpenGLUT tables do not have the requested function. It should return any OpenGL, glX, or wgl function if those functions are available.
CAVEATS
The code makes no effort towards efficiency. It is advised that you cache the pointer retrieved from this function if you need a certain function repeatedly.SEE ALSO
glXGetProcAddress(3) wglGetProcAddress(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre