Function sdl2_sys::SDL_GetRenderTarget
source ยท pub unsafe extern "C" fn SDL_GetRenderTarget(
renderer: *mut SDL_Renderer,
) -> *mut SDL_Texture
Expand description
Get the current render target.
The default render target is the window for which the renderer was created, and is reported a NULL here.
\param renderer the rendering context \returns the current render target or NULL for the default render target.
\since This function is available since SDL 2.0.0.
\sa SDL_SetRenderTarget