SDL_EGL_GetProcAddress(3)

SDL_EGL_GetProcAddress3

Get an egl library function by name.

Usage

#include "SDL3/SDL.h"

SDL_FunctionPointer SDL_EGL_GetProcAddress(const char *proc);

Header file

Defined in SDL3/SDL_video.h

Overview

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

( SDL_FunctionPointer ) 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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.