Skip to content

MTY_GLGetProcAddress

chrisd1100 edited this page Aug 25, 2022 · 1 revision

If using MTY_GFX_GL, retrieve a GL function by its name.

A GL context (WGL, GLX, EGL) must be active on the current thread for this function to work properly.

void *MTY_GLGetProcAddress(
    const char * name
);

Parameters

name (const char *)

The name of the GL function, i.e. glGenFramebuffers.

Return value

void *

A pointer a function retrieved from the current GL context, or NULL if the symbol was not found.

Platform support

Windows   Linux  

See also

Module: App

Clone this wiki locally