DRAFT |
SDL_GetRenderTarget
Use this function to get the current render target.
Contents
Syntax
SDL_Texture* SDL_GetRenderTarget(SDL_Renderer* renderer)
Function Parameters
renderer |
the rendering context |
Return Value
Returns the current render target or NULL for the default render target.
Code Examples
You can add your code example here
Remarks
The default render target is the window for which the renderer was created.
Version
This function is available since SDL 2.0.0.