Function Get-Proc-Address
(
get-proc-address < procname > )
Parameters
procname
A null terminated ISO 8859-1 string containing the name of an OpenGL⢠extension function.
Return values
The function returns the pointer to the specified OpenGL⢠function if it is supported, otherwise
NULL is returned.
Description
The function acquires the pointer to an OpenGL⢠extension function. Some (but not all) OpenGLâ¢
extensions define new API functions, which are usually not available through normal linking. It is
therefore necessary to get access to those API functions at runtime.
Notes
An OpenGL⢠context must be created before this function can be called (i.e. an OpenGL⢠window
must have been opened with glfwOpenWindow).
Some systems do not support dynamic function pointer retrieval, in which case glfwGetProcAddress
will always return NULL.