Cogl.Renderer.get_proc_address

### Method

# Cogl Rendererget_proc_address

#### Declaration [src]

    void*
    cogl_renderer_get_proc_address (
      CoglRenderer* renderer,
      const char* name
    )

#### Description [src]

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.

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`

  Type: `const char*`

  The name of the function.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `void*`

A pointer to the requested function or `NULL` if the function is not available.

The returned data is owned by the instance.
The return value can be `NULL`.