SDL_GetRenderer

Get the renderer associated with a window.

extern (C) nothrow @nogc extern
SDL_GetRenderer

Parameters

window SDL_Window*

The window to query.

Return Value

The rendering context on success or null on failure; call SDL_GetError for more information.

Threadsafety: It is safe to call this function from any thread.

Meta