[−][src]Function sdl2_sys::SDL_SetRenderTarget
pub unsafe extern "C" fn SDL_SetRenderTarget(
renderer: *mut SDL_Renderer,
texture: *mut SDL_Texture
) -> c_int
\brief Set a texture as the current rendering target.
\param renderer The renderer. \param texture The targeted texture, which must be created with the SDL_TEXTUREACCESS_TARGET flag, or NULL for the default render target
\return 0 on success, or -1 on error
\sa SDL_GetRenderTarget()