|
⇤ ← Revision 1 as of 2013-10-31 21:46:13
Size: 1465
Comment: Added page for SDL_GetRenderTarget( ) using content from header.
|
← Revision 2 as of 2016-05-11 20:38:39 ⇥
Size: 1257
Comment: Added remark.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 39: | Line 39: |
| ''You can add useful comments here'' ##Leave this section as-is unless you have a remark to put in. In that case, replace ''You can add useful comments here'' with your remark(s) following the Style Guide instructions. Leave the rest of the markup alone and delete this comment. |
The default render target is the window for which the renderer was created. |
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.
