logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_EGL_GetProcAddress - Get an EGL library function by name.

Availability

       This function is available since SDL 3.2.0.

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.

Header File

       Defined in SDL3/SDL_video.h

Name

       SDL_EGL_GetProcAddress - Get an EGL library function by name.

Return Value

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

See Also

(3), SDL_EGL_GetCurrentDisplay(3)

Simple Directmedia Layer                           SDL 3.2.10                          SDL_EGL_GetProcAddress(3)

Synopsis

#include"SDL3/SDL.h"SDL_FunctionPointerSDL_EGL_GetProcAddress(constchar*proc);

Thread Safety

       This function should only be called on the main thread.

return

See Also