SDL_GetRenderTarget

Get the current render target.

The default render target is the window for which the renderer was created, and is reported a null here.

extern (C) nothrow @nogc extern
SDL_GetRenderTarget

Parameters

renderer SDL_Renderer*

The rendering context.

Return Value

The current render target or null for the default render target.

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

See Also

Meta