Get the EGL surface associated with the window.
Defined in SDL_video.h, but apps should use #include <SDL3/SDL.h>
SDL_EGLSurface SDL_EGL_GetWindowEGLSurface(SDL_Window *window);
window | the window to query |
Returns the EGLSurface pointer associated with the window, or NULL on failure.
This function is available since SDL 3.0.0.
CategoryAPI, CategoryAPIFunction