SDL_EGL_GetProcAddress

Get an EGL library function by name.

If an EGL library is loaded, this function allows applications to get entry points for EGL functions. This is useful to provide to an EGL API and extension loader.

extern (C) nothrow @nogc extern
SDL_EGL_GetProcAddress
(
const(char)* proc
)

Parameters

proc const(char)*

the name of an EGL function.

Return Value

a pointer to the named EGL function. The returned pointer should be cast to the appropriate function signature.

Threadsafety: This function should only be called on the main thread.

See Also

Meta