SDL_EGL_GetProcAddress - Man Page
Get an EGL library function by name.
Synopsis
#include <SDL3/SDL_video.h> SDL_FunctionPointer SDL_EGL_GetProcAddress(const char *proc);
Description
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.
Function Parameters
- proc
the name of an EGL function.
Return Value
Returns a pointer to the named EGL function. The returned pointer should be cast to the appropriate function signature.
Thread Safety
This function should only be called on the main thread.
Availability
This function is available since SDL 3.2.0.
See Also
Info
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS