1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutGetProcAddress — Determine if an OpenGLUT feature or extension is
5     available.
6

LIBRARY

8     OpenGLUT - openglut
9

SYNOPSIS

11     #include <openglut.h>
12
13     void
14     glutGetProcAddress(const char *procName);
15

PARAMETERS

17      procName     Procedure name.
18

DESCRIPTION

20     Given a function name, searches for the function (or "procedure", hence
21     "Proc") in internal tables.  If the function is found, a pointer to the
22     function is returned.  If the function is not found,  NULL  is returned.
23
24     In addition to an internal OpenGLUT table, this function will also con‐
25     sult glX (on X systems) or wgl (on WIN32 and WINCE), if the OpenGLUT
26     tables do not have the requested function.  It should return any OpenGL,
27     glX, or wgl function if those functions are available.
28

CAVEATS

30     The code makes no effort towards efficiency. It is advised that you cache
31     the pointer retrieved from this function if you need a certain function
32     repeatedly.
33

SEE ALSO

35     glXGetProcAddress(3) wglGetProcAddress(3)
36
37
38
39
40                                     Epoch
Impressum