Wiki Page Content

DRAFT

SDL_GetRenderTarget

Use this function to get the current render target.

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.


CategoryAPI, CategoryRender

None: SDL_GetRenderTarget (last edited 2016-05-11 20:38:39 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit