get_proc_address


Description:


public unowned FuncPtr get_proc_address (string name)

Gets a pointer to a given GL or GL ES extension function.

This acts as a wrapper around glXGetProcAddress or whatever is the appropriate function for the current backend.

Note:

This function should not be used to query core opengl API symbols since eglGetProcAddress for example doesn't allow this and and may return a junk pointer if you do.

Parameters:

name

the name of the function.

Returns:

a pointer to the requested function or null if the function is not available.


Namespace: Cogl
Package: cogl-1.0



2022 vala-language.org