SDL_EGL_GetWindowSurface

Get the EGL surface associated with the window.

extern (C) nothrow @nogc extern
SDL_EGL_GetWindowSurface

Parameters

window SDL_Window*

the window to query.

Return Value

the EGLSurface pointer associated with the window, or NULL on failure.

Threadsafety: This function should only be called on the main thread.

Meta