#pragma section-numbers off #pragma camelcase off || DRAFT|| ##*^*^*^*^*See http://wiki.libsdl.org/moin.cgi/SGFunctions for details on editing this page*^*^*^*^* = SDL_GetRenderTarget = Use this function to get the current render target. <> == Syntax == {{{#!highlight cpp 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 == {{{#!highlight cpp You can add your code example here }}} ##Leave this section as-is unless you have a code example to put in. In that case, replace You can add your code example here with your code example following the Style Guide instructions. Leave the rest of the markup alone and delete this comment. == Remarks == The default render target is the window for which the renderer was created. == Version == This function is available since SDL 2.0.0. == Related Functions == .[[SDL_SetRenderTarget]] ---- [[CategoryAPI]], [[CategoryRender]] ##See the Style Guide for instructions on editing the footer.