Scroll to navigation

SDL_EGL_GetProcAddress(3) SDL3 FUNCTIONS SDL_EGL_GetProcAddress(3)

NAME

SDL_EGL_GetProcAddress - Get an EGL library function by name.

HEADER FILE

Defined in SDL3/SDL_video.h

SYNOPSIS

#include "SDL3/SDL.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

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.

AVAILABILITY

This function is available since SDL 3.1.3.

SEE ALSO

(3), SDL_EGL_GetCurrentDisplay(3)

SDL 3.1.6 Simple Directmedia Layer