Data Fields | |
const char * | name |
Name of the function. | |
const char * | parameter_signature |
Text string that describes the types of the parameters passed to the named function. | |
unsigned | dispatch_offset |
Offset in the dispatch table where the pointer to the real function is located. | |
_glapi_proc | dispatch_stub |
Pointer to the dispatch stub for the named function. |
const char* _glapi_function::name |
Name of the function.
const char* _glapi_function::parameter_signature |
Text string that describes the types of the parameters passed to the named function.
Parameter types are converted to characters using the following rules:
GLint
, GLuint
, and GLenum
GLfloat
and GLclampf
GLdouble
and GLclampd
unsigned _glapi_function::dispatch_offset |
Offset in the dispatch table where the pointer to the real function is located.
If the driver has not requested that the named function be added to the dispatch table, this will have the value ~0.
Pointer to the dispatch stub for the named function.
NULL
. However, it would be better to only allocate the entry-point stub when the application requests the function via glXGetProcAddress
. This would save memory for all the functions that the driver exports but that the application never wants to call.