Function SDL_EGL_GetProcAddress
pub unsafe extern "C" fn SDL_EGL_GetProcAddress(
proc: *const i8,
) -> Option<unsafe extern "C" fn()> ⓘ
Available on crate feature
dep_sdl3
only.Expand description
Get an EGL library function by name.
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.
§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.