SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]

SDL_EGL_GetProcAddress

Get an EGL library function by name.

Header File

Defined in <SDL3/SDL_video.h>

Syntax

SDL_FunctionPointer SDL_EGL_GetProcAddress(const char *proc);

Function Parameters

const char * proc the name of an EGL function.

Return Value

(SDL_FunctionPointer) Returns a pointer to the named EGL function. The returned pointer should be cast to the appropriate function signature.

Remarks

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.

Thread Safety

It is safe to call this function from any thread (as long as a unique GL context was made current for that thread).

Version

This function is available since SDL 3.2.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryVideo


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.