Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > bf9e3bc1aec7873c087fb2ccd927873f > files > 89

sdl2-docs-2.0.10-1.mga7.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: SDL_render.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">SDL_render.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="SDL__stdinc_8h_source.html">SDL_stdinc.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="SDL__rect_8h_source.html">SDL_rect.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="SDL__video_8h_source.html">SDL_video.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="begin__code_8h_source.html">begin_code.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="close__code_8h_source.html">close_code.h</a>&quot;</code><br />
</div>
<p><a href="SDL__render_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSDL__RendererInfo.html">SDL_RendererInfo</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Information on the capabilities of a render driver or context.  <a href="structSDL__RendererInfo.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a6d745185e6d2287d8a9a622d8b65dfce"><td class="memItemLeft" align="right" valign="top"><a id="a6d745185e6d2287d8a9a622d8b65dfce"></a>
typedef struct <a class="el" href="structSDL__RendererInfo.html">SDL_RendererInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a6d745185e6d2287d8a9a622d8b65dfce">SDL_RendererInfo</a></td></tr>
<tr class="memdesc:a6d745185e6d2287d8a9a622d8b65dfce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Information on the capabilities of a render driver or context. <br /></td></tr>
<tr class="separator:a6d745185e6d2287d8a9a622d8b65dfce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf0bf7d020754fc614fe06552ea4d5d4"><td class="memItemLeft" align="right" valign="top"><a id="aaf0bf7d020754fc614fe06552ea4d5d4"></a>
typedef struct SDL_Renderer&#160;</td><td class="memItemRight" valign="bottom"><b>SDL_Renderer</b></td></tr>
<tr class="separator:aaf0bf7d020754fc614fe06552ea4d5d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17850d7f1f5de457727cb3cf66b3a7f5"><td class="memItemLeft" align="right" valign="top"><a id="a17850d7f1f5de457727cb3cf66b3a7f5"></a>
typedef struct SDL_Texture&#160;</td><td class="memItemRight" valign="bottom"><b>SDL_Texture</b></td></tr>
<tr class="separator:a17850d7f1f5de457727cb3cf66b3a7f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a3a6e51bbee5fd3f8ee0c9f7504ae4130"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a3a6e51bbee5fd3f8ee0c9f7504ae4130">SDL_RendererFlags</a> { <a class="el" href="SDL__render_8h.html#a3a6e51bbee5fd3f8ee0c9f7504ae4130a02efc6cb7656c03d7a7d0164aced7e84">SDL_RENDERER_SOFTWARE</a> = 0x00000001, 
<a class="el" href="SDL__render_8h.html#a3a6e51bbee5fd3f8ee0c9f7504ae4130a1268ba2faaf6d9c7c7b71fc550f4248a">SDL_RENDERER_ACCELERATED</a> = 0x00000002, 
<a class="el" href="SDL__render_8h.html#a3a6e51bbee5fd3f8ee0c9f7504ae4130a12abcfe685ff444f0fc727db981a0c83">SDL_RENDERER_PRESENTVSYNC</a> = 0x00000004, 
<a class="el" href="SDL__render_8h.html#a3a6e51bbee5fd3f8ee0c9f7504ae4130a77aa48df9c4f56f0b1c66c406da3ab81">SDL_RENDERER_TARGETTEXTURE</a> = 0x00000008
 }</td></tr>
<tr class="memdesc:a3a6e51bbee5fd3f8ee0c9f7504ae4130"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flags used when creating a rendering context.  <a href="SDL__render_8h.html#a3a6e51bbee5fd3f8ee0c9f7504ae4130">More...</a><br /></td></tr>
<tr class="separator:a3a6e51bbee5fd3f8ee0c9f7504ae4130"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b8417d7af279e8a0d4a51233da99bc9"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a6b8417d7af279e8a0d4a51233da99bc9">SDL_TextureAccess</a> { <a class="el" href="SDL__render_8h.html#a6b8417d7af279e8a0d4a51233da99bc9a07c9015fe5cf4e0737d2836acdf00a34">SDL_TEXTUREACCESS_STATIC</a>, 
<a class="el" href="SDL__render_8h.html#a6b8417d7af279e8a0d4a51233da99bc9a19a4751f16e6b411aeb9c835d6c061b4">SDL_TEXTUREACCESS_STREAMING</a>, 
<a class="el" href="SDL__render_8h.html#a6b8417d7af279e8a0d4a51233da99bc9a52249f41ca2ec4971ec96ee395868a9a">SDL_TEXTUREACCESS_TARGET</a>
 }</td></tr>
<tr class="memdesc:a6b8417d7af279e8a0d4a51233da99bc9"><td class="mdescLeft">&#160;</td><td class="mdescRight">The access pattern allowed for a texture.  <a href="SDL__render_8h.html#a6b8417d7af279e8a0d4a51233da99bc9">More...</a><br /></td></tr>
<tr class="separator:a6b8417d7af279e8a0d4a51233da99bc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d8aacd15cb2cb24e61ae1905e7a5ab5"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a8d8aacd15cb2cb24e61ae1905e7a5ab5">SDL_TextureModulate</a> { <a class="el" href="SDL__render_8h.html#a8d8aacd15cb2cb24e61ae1905e7a5ab5a3c1a49753bd4e0a8cfa7c64ed5a4b0df">SDL_TEXTUREMODULATE_NONE</a> = 0x00000000, 
<a class="el" href="SDL__render_8h.html#a8d8aacd15cb2cb24e61ae1905e7a5ab5a5a9d122094526405306483d856caa21e">SDL_TEXTUREMODULATE_COLOR</a> = 0x00000001, 
<a class="el" href="SDL__render_8h.html#a8d8aacd15cb2cb24e61ae1905e7a5ab5a431abaf1e024cd43df94a967ba1e836f">SDL_TEXTUREMODULATE_ALPHA</a> = 0x00000002
 }</td></tr>
<tr class="memdesc:a8d8aacd15cb2cb24e61ae1905e7a5ab5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The texture channel modulation used in <a class="el" href="SDL__render_8h.html#a4b6c2353384c7b7128fd5960b24f2ae6" title="Copy a portion of the texture to the current rendering target.">SDL_RenderCopy()</a>.  <a href="SDL__render_8h.html#a8d8aacd15cb2cb24e61ae1905e7a5ab5">More...</a><br /></td></tr>
<tr class="separator:a8d8aacd15cb2cb24e61ae1905e7a5ab5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6280e56838e0e684caa0869c7c973c12"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a6280e56838e0e684caa0869c7c973c12">SDL_RendererFlip</a> { <a class="el" href="SDL__render_8h.html#a6280e56838e0e684caa0869c7c973c12a580b026a6ad4e3493677ad47f3bd939a">SDL_FLIP_NONE</a> = 0x00000000, 
<a class="el" href="SDL__render_8h.html#a6280e56838e0e684caa0869c7c973c12acfc2af6936e75fa246c98d316425c0ce">SDL_FLIP_HORIZONTAL</a> = 0x00000001, 
<a class="el" href="SDL__render_8h.html#a6280e56838e0e684caa0869c7c973c12a27ec807eec1d9adffced6a70cd85ef01">SDL_FLIP_VERTICAL</a> = 0x00000002
 }</td></tr>
<tr class="memdesc:a6280e56838e0e684caa0869c7c973c12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flip constants for SDL_RenderCopyEx.  <a href="SDL__render_8h.html#a6280e56838e0e684caa0869c7c973c12">More...</a><br /></td></tr>
<tr class="separator:a6280e56838e0e684caa0869c7c973c12"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a4dd8a7e6e6f0948541a1ff6b2ecff192"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a4dd8a7e6e6f0948541a1ff6b2ecff192">SDL_GetNumRenderDrivers</a> (void)</td></tr>
<tr class="memdesc:a4dd8a7e6e6f0948541a1ff6b2ecff192"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of 2D rendering drivers available for the current display.  <a href="#a4dd8a7e6e6f0948541a1ff6b2ecff192">More...</a><br /></td></tr>
<tr class="separator:a4dd8a7e6e6f0948541a1ff6b2ecff192"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9a7e1ca629863212c2c1b17112f65bd"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#aa9a7e1ca629863212c2c1b17112f65bd">SDL_GetRenderDriverInfo</a> (int index, <a class="el" href="structSDL__RendererInfo.html">SDL_RendererInfo</a> *info)</td></tr>
<tr class="memdesc:aa9a7e1ca629863212c2c1b17112f65bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get information about a specific 2D rendering driver for the current display.  <a href="#aa9a7e1ca629863212c2c1b17112f65bd">More...</a><br /></td></tr>
<tr class="separator:aa9a7e1ca629863212c2c1b17112f65bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3aa070e5cda5bab246621f7efc9f143"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#ac3aa070e5cda5bab246621f7efc9f143">SDL_CreateWindowAndRenderer</a> (int width, int height, Uint32 window_flags, <a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> **window, SDL_Renderer **renderer)</td></tr>
<tr class="memdesc:ac3aa070e5cda5bab246621f7efc9f143"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a window and default renderer.  <a href="#ac3aa070e5cda5bab246621f7efc9f143">More...</a><br /></td></tr>
<tr class="separator:ac3aa070e5cda5bab246621f7efc9f143"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8db1ba55c15a3477d71f6a793cee54f1"><td class="memItemLeft" align="right" valign="top">DECLSPEC SDL_Renderer *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a8db1ba55c15a3477d71f6a793cee54f1">SDL_CreateRenderer</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, int index, Uint32 flags)</td></tr>
<tr class="memdesc:a8db1ba55c15a3477d71f6a793cee54f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a 2D rendering context for a window.  <a href="#a8db1ba55c15a3477d71f6a793cee54f1">More...</a><br /></td></tr>
<tr class="separator:a8db1ba55c15a3477d71f6a793cee54f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a26a4aa0d2baa4c150ee1e080d1eeee"><td class="memItemLeft" align="right" valign="top">DECLSPEC SDL_Renderer *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a1a26a4aa0d2baa4c150ee1e080d1eeee">SDL_CreateSoftwareRenderer</a> (<a class="el" href="structSDL__Surface.html">SDL_Surface</a> *surface)</td></tr>
<tr class="memdesc:a1a26a4aa0d2baa4c150ee1e080d1eeee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a 2D software rendering context for a surface.  <a href="#a1a26a4aa0d2baa4c150ee1e080d1eeee">More...</a><br /></td></tr>
<tr class="separator:a1a26a4aa0d2baa4c150ee1e080d1eeee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8e17e5235991e1da5a53a90f1d53d11"><td class="memItemLeft" align="right" valign="top"><a id="ab8e17e5235991e1da5a53a90f1d53d11"></a>
DECLSPEC SDL_Renderer *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#ab8e17e5235991e1da5a53a90f1d53d11">SDL_GetRenderer</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:ab8e17e5235991e1da5a53a90f1d53d11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the renderer associated with a window. <br /></td></tr>
<tr class="separator:ab8e17e5235991e1da5a53a90f1d53d11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdc8a35ce033f5111843ac9518dc47a4"><td class="memItemLeft" align="right" valign="top"><a id="afdc8a35ce033f5111843ac9518dc47a4"></a>
DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#afdc8a35ce033f5111843ac9518dc47a4">SDL_GetRendererInfo</a> (SDL_Renderer *renderer, <a class="el" href="structSDL__RendererInfo.html">SDL_RendererInfo</a> *info)</td></tr>
<tr class="memdesc:afdc8a35ce033f5111843ac9518dc47a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get information about a rendering context. <br /></td></tr>
<tr class="separator:afdc8a35ce033f5111843ac9518dc47a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfc0c9a50d9d1870ab7d271b7a73d8ab"><td class="memItemLeft" align="right" valign="top"><a id="abfc0c9a50d9d1870ab7d271b7a73d8ab"></a>
DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#abfc0c9a50d9d1870ab7d271b7a73d8ab">SDL_GetRendererOutputSize</a> (SDL_Renderer *renderer, int *w, int *h)</td></tr>
<tr class="memdesc:abfc0c9a50d9d1870ab7d271b7a73d8ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the output size in pixels of a rendering context. <br /></td></tr>
<tr class="separator:abfc0c9a50d9d1870ab7d271b7a73d8ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5ff70c980ec23b05a95e0435bd55b4a"><td class="memItemLeft" align="right" valign="top">DECLSPEC SDL_Texture *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#ab5ff70c980ec23b05a95e0435bd55b4a">SDL_CreateTexture</a> (SDL_Renderer *renderer, Uint32 format, int access, int w, int h)</td></tr>
<tr class="memdesc:ab5ff70c980ec23b05a95e0435bd55b4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a texture for a rendering context.  <a href="#ab5ff70c980ec23b05a95e0435bd55b4a">More...</a><br /></td></tr>
<tr class="separator:ab5ff70c980ec23b05a95e0435bd55b4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c75234b90965e9db70947fbe91a5840"><td class="memItemLeft" align="right" valign="top">DECLSPEC SDL_Texture *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a0c75234b90965e9db70947fbe91a5840">SDL_CreateTextureFromSurface</a> (SDL_Renderer *renderer, <a class="el" href="structSDL__Surface.html">SDL_Surface</a> *surface)</td></tr>
<tr class="memdesc:a0c75234b90965e9db70947fbe91a5840"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a texture from an existing surface.  <a href="#a0c75234b90965e9db70947fbe91a5840">More...</a><br /></td></tr>
<tr class="separator:a0c75234b90965e9db70947fbe91a5840"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aade777757bfc3b98bf3ef742b1d8a052"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#aade777757bfc3b98bf3ef742b1d8a052">SDL_QueryTexture</a> (SDL_Texture *texture, Uint32 *format, int *access, int *w, int *h)</td></tr>
<tr class="memdesc:aade777757bfc3b98bf3ef742b1d8a052"><td class="mdescLeft">&#160;</td><td class="mdescRight">Query the attributes of a texture.  <a href="#aade777757bfc3b98bf3ef742b1d8a052">More...</a><br /></td></tr>
<tr class="separator:aade777757bfc3b98bf3ef742b1d8a052"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a348399db33c03a7882cef0c6e6c1756f"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a348399db33c03a7882cef0c6e6c1756f">SDL_SetTextureColorMod</a> (SDL_Texture *texture, Uint8 r, Uint8 g, Uint8 b)</td></tr>
<tr class="memdesc:a348399db33c03a7882cef0c6e6c1756f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set an additional color value used in render copy operations.  <a href="#a348399db33c03a7882cef0c6e6c1756f">More...</a><br /></td></tr>
<tr class="separator:a348399db33c03a7882cef0c6e6c1756f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa70e4ce3a875399d4291dca23e687b11"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#aa70e4ce3a875399d4291dca23e687b11">SDL_GetTextureColorMod</a> (SDL_Texture *texture, Uint8 *r, Uint8 *g, Uint8 *b)</td></tr>
<tr class="memdesc:aa70e4ce3a875399d4291dca23e687b11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the additional color value used in render copy operations.  <a href="#aa70e4ce3a875399d4291dca23e687b11">More...</a><br /></td></tr>
<tr class="separator:aa70e4ce3a875399d4291dca23e687b11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cc3302a4c7fb3b37e8fd5263a80758b"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a1cc3302a4c7fb3b37e8fd5263a80758b">SDL_SetTextureAlphaMod</a> (SDL_Texture *texture, Uint8 alpha)</td></tr>
<tr class="memdesc:a1cc3302a4c7fb3b37e8fd5263a80758b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set an additional alpha value used in render copy operations.  <a href="#a1cc3302a4c7fb3b37e8fd5263a80758b">More...</a><br /></td></tr>
<tr class="separator:a1cc3302a4c7fb3b37e8fd5263a80758b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d9a9e945ec95f30e5c48ce305de33ad"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a4d9a9e945ec95f30e5c48ce305de33ad">SDL_GetTextureAlphaMod</a> (SDL_Texture *texture, Uint8 *alpha)</td></tr>
<tr class="memdesc:a4d9a9e945ec95f30e5c48ce305de33ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the additional alpha value used in render copy operations.  <a href="#a4d9a9e945ec95f30e5c48ce305de33ad">More...</a><br /></td></tr>
<tr class="separator:a4d9a9e945ec95f30e5c48ce305de33ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8b9cb77ca18f76c18f39d29ed960de8"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#af8b9cb77ca18f76c18f39d29ed960de8">SDL_SetTextureBlendMode</a> (SDL_Texture *texture, <a class="el" href="SDL__blendmode_8h.html#a850d3c67a878fd6698a1c8dbb1eabf1e">SDL_BlendMode</a> blendMode)</td></tr>
<tr class="memdesc:af8b9cb77ca18f76c18f39d29ed960de8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the blend mode used for texture copy operations.  <a href="#af8b9cb77ca18f76c18f39d29ed960de8">More...</a><br /></td></tr>
<tr class="separator:af8b9cb77ca18f76c18f39d29ed960de8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2595ee57e6f3a4882f3ae4062ca420c4"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a2595ee57e6f3a4882f3ae4062ca420c4">SDL_GetTextureBlendMode</a> (SDL_Texture *texture, <a class="el" href="SDL__blendmode_8h.html#a850d3c67a878fd6698a1c8dbb1eabf1e">SDL_BlendMode</a> *blendMode)</td></tr>
<tr class="memdesc:a2595ee57e6f3a4882f3ae4062ca420c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the blend mode used for texture copy operations.  <a href="#a2595ee57e6f3a4882f3ae4062ca420c4">More...</a><br /></td></tr>
<tr class="separator:a2595ee57e6f3a4882f3ae4062ca420c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7aab41a7058997590095e5568d065c11"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a7aab41a7058997590095e5568d065c11">SDL_UpdateTexture</a> (SDL_Texture *texture, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *rect, const void *pixels, int pitch)</td></tr>
<tr class="memdesc:a7aab41a7058997590095e5568d065c11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the given texture rectangle with new pixel data.  <a href="#a7aab41a7058997590095e5568d065c11">More...</a><br /></td></tr>
<tr class="separator:a7aab41a7058997590095e5568d065c11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad2bf04e82a6fb8df44c0b6791321cb5"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#aad2bf04e82a6fb8df44c0b6791321cb5">SDL_UpdateYUVTexture</a> (SDL_Texture *texture, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *rect, const Uint8 *Yplane, int Ypitch, const Uint8 *Uplane, int Upitch, const Uint8 *Vplane, int Vpitch)</td></tr>
<tr class="memdesc:aad2bf04e82a6fb8df44c0b6791321cb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update a rectangle within a planar YV12 or IYUV texture with new pixel data.  <a href="#aad2bf04e82a6fb8df44c0b6791321cb5">More...</a><br /></td></tr>
<tr class="separator:aad2bf04e82a6fb8df44c0b6791321cb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af64adcd12e4e9d41d48031fd3da7b913"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#af64adcd12e4e9d41d48031fd3da7b913">SDL_LockTexture</a> (SDL_Texture *texture, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *rect, void **pixels, int *pitch)</td></tr>
<tr class="memdesc:af64adcd12e4e9d41d48031fd3da7b913"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock a portion of the texture for write-only pixel access.  <a href="#af64adcd12e4e9d41d48031fd3da7b913">More...</a><br /></td></tr>
<tr class="separator:af64adcd12e4e9d41d48031fd3da7b913"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fc9db6cde77fc9c95a4f65bc7d30073"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a7fc9db6cde77fc9c95a4f65bc7d30073">SDL_UnlockTexture</a> (SDL_Texture *texture)</td></tr>
<tr class="memdesc:a7fc9db6cde77fc9c95a4f65bc7d30073"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unlock a texture, uploading the changes to video memory, if needed.  <a href="#a7fc9db6cde77fc9c95a4f65bc7d30073">More...</a><br /></td></tr>
<tr class="separator:a7fc9db6cde77fc9c95a4f65bc7d30073"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a126c5e0fb7abb3aa1bbfe60ac0102857"><td class="memItemLeft" align="right" valign="top">DECLSPEC SDL_bool SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a126c5e0fb7abb3aa1bbfe60ac0102857">SDL_RenderTargetSupported</a> (SDL_Renderer *renderer)</td></tr>
<tr class="memdesc:a126c5e0fb7abb3aa1bbfe60ac0102857"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether a window supports the use of render targets.  <a href="#a126c5e0fb7abb3aa1bbfe60ac0102857">More...</a><br /></td></tr>
<tr class="separator:a126c5e0fb7abb3aa1bbfe60ac0102857"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2479163b0f2909cc50cef7af3c279000"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a2479163b0f2909cc50cef7af3c279000">SDL_SetRenderTarget</a> (SDL_Renderer *renderer, SDL_Texture *texture)</td></tr>
<tr class="memdesc:a2479163b0f2909cc50cef7af3c279000"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a texture as the current rendering target.  <a href="#a2479163b0f2909cc50cef7af3c279000">More...</a><br /></td></tr>
<tr class="separator:a2479163b0f2909cc50cef7af3c279000"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a042f1c998d4a29ea236fffcaa0782bf1"><td class="memItemLeft" align="right" valign="top">DECLSPEC SDL_Texture *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a042f1c998d4a29ea236fffcaa0782bf1">SDL_GetRenderTarget</a> (SDL_Renderer *renderer)</td></tr>
<tr class="memdesc:a042f1c998d4a29ea236fffcaa0782bf1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current render target or NULL for the default render target.  <a href="#a042f1c998d4a29ea236fffcaa0782bf1">More...</a><br /></td></tr>
<tr class="separator:a042f1c998d4a29ea236fffcaa0782bf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0596fd507c9bf9f8f9594cd9064860c"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#ad0596fd507c9bf9f8f9594cd9064860c">SDL_RenderSetLogicalSize</a> (SDL_Renderer *renderer, int w, int h)</td></tr>
<tr class="memdesc:ad0596fd507c9bf9f8f9594cd9064860c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set device independent resolution for rendering.  <a href="#ad0596fd507c9bf9f8f9594cd9064860c">More...</a><br /></td></tr>
<tr class="separator:ad0596fd507c9bf9f8f9594cd9064860c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa566ba52ac01bd13f6fdfcdfc3af217f"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#aa566ba52ac01bd13f6fdfcdfc3af217f">SDL_RenderGetLogicalSize</a> (SDL_Renderer *renderer, int *w, int *h)</td></tr>
<tr class="memdesc:aa566ba52ac01bd13f6fdfcdfc3af217f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get device independent resolution for rendering.  <a href="#aa566ba52ac01bd13f6fdfcdfc3af217f">More...</a><br /></td></tr>
<tr class="separator:aa566ba52ac01bd13f6fdfcdfc3af217f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62c3f8273280e5795075d2921d4ea30f"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a62c3f8273280e5795075d2921d4ea30f">SDL_RenderSetIntegerScale</a> (SDL_Renderer *renderer, SDL_bool enable)</td></tr>
<tr class="memdesc:a62c3f8273280e5795075d2921d4ea30f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set whether to force integer scales for resolution-independent rendering.  <a href="#a62c3f8273280e5795075d2921d4ea30f">More...</a><br /></td></tr>
<tr class="separator:a62c3f8273280e5795075d2921d4ea30f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a435c61d9f048550388198478e8fdeaa0"><td class="memItemLeft" align="right" valign="top">DECLSPEC SDL_bool SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a435c61d9f048550388198478e8fdeaa0">SDL_RenderGetIntegerScale</a> (SDL_Renderer *renderer)</td></tr>
<tr class="memdesc:a435c61d9f048550388198478e8fdeaa0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get whether integer scales are forced for resolution-independent rendering.  <a href="#a435c61d9f048550388198478e8fdeaa0">More...</a><br /></td></tr>
<tr class="separator:a435c61d9f048550388198478e8fdeaa0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27bad6dceb9d5e08d41506260dfc1c71"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a27bad6dceb9d5e08d41506260dfc1c71">SDL_RenderSetViewport</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *rect)</td></tr>
<tr class="memdesc:a27bad6dceb9d5e08d41506260dfc1c71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the drawing area for rendering on the current target.  <a href="#a27bad6dceb9d5e08d41506260dfc1c71">More...</a><br /></td></tr>
<tr class="separator:a27bad6dceb9d5e08d41506260dfc1c71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60a7a6cb31b64f9f13c923fe44ba4d6f"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a60a7a6cb31b64f9f13c923fe44ba4d6f">SDL_RenderGetViewport</a> (SDL_Renderer *renderer, <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *rect)</td></tr>
<tr class="memdesc:a60a7a6cb31b64f9f13c923fe44ba4d6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the drawing area for the current target.  <a href="#a60a7a6cb31b64f9f13c923fe44ba4d6f">More...</a><br /></td></tr>
<tr class="separator:a60a7a6cb31b64f9f13c923fe44ba4d6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2788c24590fd26bcf0d5be2ffcb85c04"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a2788c24590fd26bcf0d5be2ffcb85c04">SDL_RenderSetClipRect</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *rect)</td></tr>
<tr class="memdesc:a2788c24590fd26bcf0d5be2ffcb85c04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the clip rectangle for the current target.  <a href="#a2788c24590fd26bcf0d5be2ffcb85c04">More...</a><br /></td></tr>
<tr class="separator:a2788c24590fd26bcf0d5be2ffcb85c04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af91e64e2b473a5eb7e93caf253fb760c"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#af91e64e2b473a5eb7e93caf253fb760c">SDL_RenderGetClipRect</a> (SDL_Renderer *renderer, <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *rect)</td></tr>
<tr class="memdesc:af91e64e2b473a5eb7e93caf253fb760c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the clip rectangle for the current target.  <a href="#af91e64e2b473a5eb7e93caf253fb760c">More...</a><br /></td></tr>
<tr class="separator:af91e64e2b473a5eb7e93caf253fb760c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8125c772a65956fbb259389b6563523"><td class="memItemLeft" align="right" valign="top">DECLSPEC SDL_bool SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#ab8125c772a65956fbb259389b6563523">SDL_RenderIsClipEnabled</a> (SDL_Renderer *renderer)</td></tr>
<tr class="memdesc:ab8125c772a65956fbb259389b6563523"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get whether clipping is enabled on the given renderer.  <a href="#ab8125c772a65956fbb259389b6563523">More...</a><br /></td></tr>
<tr class="separator:ab8125c772a65956fbb259389b6563523"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa52b062e271226c5ec8cdb8aa6dc69eb"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#aa52b062e271226c5ec8cdb8aa6dc69eb">SDL_RenderSetScale</a> (SDL_Renderer *renderer, float scaleX, float scaleY)</td></tr>
<tr class="memdesc:aa52b062e271226c5ec8cdb8aa6dc69eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the drawing scale for rendering on the current target.  <a href="#aa52b062e271226c5ec8cdb8aa6dc69eb">More...</a><br /></td></tr>
<tr class="separator:aa52b062e271226c5ec8cdb8aa6dc69eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0271c4a8d32cacaff54de9aa7b5a797d"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a0271c4a8d32cacaff54de9aa7b5a797d">SDL_RenderGetScale</a> (SDL_Renderer *renderer, float *scaleX, float *scaleY)</td></tr>
<tr class="memdesc:a0271c4a8d32cacaff54de9aa7b5a797d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the drawing scale for the current target.  <a href="#a0271c4a8d32cacaff54de9aa7b5a797d">More...</a><br /></td></tr>
<tr class="separator:a0271c4a8d32cacaff54de9aa7b5a797d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa26234da40f87f4b16d715564242a341"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#aa26234da40f87f4b16d715564242a341">SDL_SetRenderDrawColor</a> (SDL_Renderer *renderer, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:aa26234da40f87f4b16d715564242a341"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the color used for drawing operations (Rect, Line and Clear).  <a href="#aa26234da40f87f4b16d715564242a341">More...</a><br /></td></tr>
<tr class="separator:aa26234da40f87f4b16d715564242a341"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b8e6544c3fc23ddd9b0f0bfb14cef39"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a1b8e6544c3fc23ddd9b0f0bfb14cef39">SDL_GetRenderDrawColor</a> (SDL_Renderer *renderer, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a)</td></tr>
<tr class="memdesc:a1b8e6544c3fc23ddd9b0f0bfb14cef39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the color used for drawing operations (Rect, Line and Clear).  <a href="#a1b8e6544c3fc23ddd9b0f0bfb14cef39">More...</a><br /></td></tr>
<tr class="separator:a1b8e6544c3fc23ddd9b0f0bfb14cef39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37e6e440b995756c9cc8a20fe3ca2385"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a37e6e440b995756c9cc8a20fe3ca2385">SDL_SetRenderDrawBlendMode</a> (SDL_Renderer *renderer, <a class="el" href="SDL__blendmode_8h.html#a850d3c67a878fd6698a1c8dbb1eabf1e">SDL_BlendMode</a> blendMode)</td></tr>
<tr class="memdesc:a37e6e440b995756c9cc8a20fe3ca2385"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the blend mode used for drawing operations (Fill and Line).  <a href="#a37e6e440b995756c9cc8a20fe3ca2385">More...</a><br /></td></tr>
<tr class="separator:a37e6e440b995756c9cc8a20fe3ca2385"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a384109767532e9703652233571a0d3cf"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a384109767532e9703652233571a0d3cf">SDL_GetRenderDrawBlendMode</a> (SDL_Renderer *renderer, <a class="el" href="SDL__blendmode_8h.html#a850d3c67a878fd6698a1c8dbb1eabf1e">SDL_BlendMode</a> *blendMode)</td></tr>
<tr class="memdesc:a384109767532e9703652233571a0d3cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the blend mode used for drawing operations.  <a href="#a384109767532e9703652233571a0d3cf">More...</a><br /></td></tr>
<tr class="separator:a384109767532e9703652233571a0d3cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a473b4abbb29c60e98876eb68ad850f79"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a473b4abbb29c60e98876eb68ad850f79">SDL_RenderClear</a> (SDL_Renderer *renderer)</td></tr>
<tr class="memdesc:a473b4abbb29c60e98876eb68ad850f79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the current rendering target with the drawing color.  <a href="#a473b4abbb29c60e98876eb68ad850f79">More...</a><br /></td></tr>
<tr class="separator:a473b4abbb29c60e98876eb68ad850f79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab576a09c91675dbd8dba9d05dd2fc0bc"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#ab576a09c91675dbd8dba9d05dd2fc0bc">SDL_RenderDrawPoint</a> (SDL_Renderer *renderer, int x, int y)</td></tr>
<tr class="memdesc:ab576a09c91675dbd8dba9d05dd2fc0bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a point on the current rendering target.  <a href="#ab576a09c91675dbd8dba9d05dd2fc0bc">More...</a><br /></td></tr>
<tr class="separator:ab576a09c91675dbd8dba9d05dd2fc0bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ff1a991e7a2599cfc9ea43dfa920d0b"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a8ff1a991e7a2599cfc9ea43dfa920d0b">SDL_RenderDrawPoints</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__Point.html">SDL_Point</a> *points, int count)</td></tr>
<tr class="memdesc:a8ff1a991e7a2599cfc9ea43dfa920d0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw multiple points on the current rendering target.  <a href="#a8ff1a991e7a2599cfc9ea43dfa920d0b">More...</a><br /></td></tr>
<tr class="separator:a8ff1a991e7a2599cfc9ea43dfa920d0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d50e252f15e0c6c14639bdd343285fd"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a6d50e252f15e0c6c14639bdd343285fd">SDL_RenderDrawLine</a> (SDL_Renderer *renderer, int x1, int y1, int x2, int y2)</td></tr>
<tr class="memdesc:a6d50e252f15e0c6c14639bdd343285fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a line on the current rendering target.  <a href="#a6d50e252f15e0c6c14639bdd343285fd">More...</a><br /></td></tr>
<tr class="separator:a6d50e252f15e0c6c14639bdd343285fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a556f150677bb965448b7b361bceb7a76"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a556f150677bb965448b7b361bceb7a76">SDL_RenderDrawLines</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__Point.html">SDL_Point</a> *points, int count)</td></tr>
<tr class="memdesc:a556f150677bb965448b7b361bceb7a76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a series of connected lines on the current rendering target.  <a href="#a556f150677bb965448b7b361bceb7a76">More...</a><br /></td></tr>
<tr class="separator:a556f150677bb965448b7b361bceb7a76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2a89b5a0c25adb6abdb9aeff28f177c"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#ab2a89b5a0c25adb6abdb9aeff28f177c">SDL_RenderDrawRect</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *rect)</td></tr>
<tr class="memdesc:ab2a89b5a0c25adb6abdb9aeff28f177c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a rectangle on the current rendering target.  <a href="#ab2a89b5a0c25adb6abdb9aeff28f177c">More...</a><br /></td></tr>
<tr class="separator:ab2a89b5a0c25adb6abdb9aeff28f177c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae56460fe1b478a55916650e695145cbf"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#ae56460fe1b478a55916650e695145cbf">SDL_RenderDrawRects</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *rects, int count)</td></tr>
<tr class="memdesc:ae56460fe1b478a55916650e695145cbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw some number of rectangles on the current rendering target.  <a href="#ae56460fe1b478a55916650e695145cbf">More...</a><br /></td></tr>
<tr class="separator:ae56460fe1b478a55916650e695145cbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b5098c1944441034d2c5cff419f93cc"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a3b5098c1944441034d2c5cff419f93cc">SDL_RenderFillRect</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *rect)</td></tr>
<tr class="memdesc:a3b5098c1944441034d2c5cff419f93cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill a rectangle on the current rendering target with the drawing color.  <a href="#a3b5098c1944441034d2c5cff419f93cc">More...</a><br /></td></tr>
<tr class="separator:a3b5098c1944441034d2c5cff419f93cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a987fe30e64168702f1dfa6407fbe8bec"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a987fe30e64168702f1dfa6407fbe8bec">SDL_RenderFillRects</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *rects, int count)</td></tr>
<tr class="memdesc:a987fe30e64168702f1dfa6407fbe8bec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill some number of rectangles on the current rendering target with the drawing color.  <a href="#a987fe30e64168702f1dfa6407fbe8bec">More...</a><br /></td></tr>
<tr class="separator:a987fe30e64168702f1dfa6407fbe8bec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b6c2353384c7b7128fd5960b24f2ae6"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a4b6c2353384c7b7128fd5960b24f2ae6">SDL_RenderCopy</a> (SDL_Renderer *renderer, SDL_Texture *texture, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *srcrect, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *dstrect)</td></tr>
<tr class="memdesc:a4b6c2353384c7b7128fd5960b24f2ae6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy a portion of the texture to the current rendering target.  <a href="#a4b6c2353384c7b7128fd5960b24f2ae6">More...</a><br /></td></tr>
<tr class="separator:a4b6c2353384c7b7128fd5960b24f2ae6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2c665c1ce910413272a004cdb52e28e"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#ac2c665c1ce910413272a004cdb52e28e">SDL_RenderCopyEx</a> (SDL_Renderer *renderer, SDL_Texture *texture, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *srcrect, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *dstrect, const double angle, const <a class="el" href="structSDL__Point.html">SDL_Point</a> *center, const <a class="el" href="SDL__render_8h.html#a6280e56838e0e684caa0869c7c973c12">SDL_RendererFlip</a> flip)</td></tr>
<tr class="memdesc:ac2c665c1ce910413272a004cdb52e28e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center.  <a href="#ac2c665c1ce910413272a004cdb52e28e">More...</a><br /></td></tr>
<tr class="separator:ac2c665c1ce910413272a004cdb52e28e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa62bd2597d5a7650e7ad666c2a15e688"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#aa62bd2597d5a7650e7ad666c2a15e688">SDL_RenderDrawPointF</a> (SDL_Renderer *renderer, float x, float y)</td></tr>
<tr class="memdesc:aa62bd2597d5a7650e7ad666c2a15e688"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a point on the current rendering target.  <a href="#aa62bd2597d5a7650e7ad666c2a15e688">More...</a><br /></td></tr>
<tr class="separator:aa62bd2597d5a7650e7ad666c2a15e688"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94cef2f19a261a175e3a748dd95bec69"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a94cef2f19a261a175e3a748dd95bec69">SDL_RenderDrawPointsF</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__FPoint.html">SDL_FPoint</a> *points, int count)</td></tr>
<tr class="memdesc:a94cef2f19a261a175e3a748dd95bec69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw multiple points on the current rendering target.  <a href="#a94cef2f19a261a175e3a748dd95bec69">More...</a><br /></td></tr>
<tr class="separator:a94cef2f19a261a175e3a748dd95bec69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05ad434757513f4b98de29aaee8f70e3"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a05ad434757513f4b98de29aaee8f70e3">SDL_RenderDrawLineF</a> (SDL_Renderer *renderer, float x1, float y1, float x2, float y2)</td></tr>
<tr class="memdesc:a05ad434757513f4b98de29aaee8f70e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a line on the current rendering target.  <a href="#a05ad434757513f4b98de29aaee8f70e3">More...</a><br /></td></tr>
<tr class="separator:a05ad434757513f4b98de29aaee8f70e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60727a3df49c84428e486cc067107406"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a60727a3df49c84428e486cc067107406">SDL_RenderDrawLinesF</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__FPoint.html">SDL_FPoint</a> *points, int count)</td></tr>
<tr class="memdesc:a60727a3df49c84428e486cc067107406"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a series of connected lines on the current rendering target.  <a href="#a60727a3df49c84428e486cc067107406">More...</a><br /></td></tr>
<tr class="separator:a60727a3df49c84428e486cc067107406"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6ca4e63fe1189d44a42eb831c4f9dc2"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#ae6ca4e63fe1189d44a42eb831c4f9dc2">SDL_RenderDrawRectF</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__FRect.html">SDL_FRect</a> *rect)</td></tr>
<tr class="memdesc:ae6ca4e63fe1189d44a42eb831c4f9dc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a rectangle on the current rendering target.  <a href="#ae6ca4e63fe1189d44a42eb831c4f9dc2">More...</a><br /></td></tr>
<tr class="separator:ae6ca4e63fe1189d44a42eb831c4f9dc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0be470fecfd02a348d017ef4dcac2e5"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#ac0be470fecfd02a348d017ef4dcac2e5">SDL_RenderDrawRectsF</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__FRect.html">SDL_FRect</a> *rects, int count)</td></tr>
<tr class="memdesc:ac0be470fecfd02a348d017ef4dcac2e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw some number of rectangles on the current rendering target.  <a href="#ac0be470fecfd02a348d017ef4dcac2e5">More...</a><br /></td></tr>
<tr class="separator:ac0be470fecfd02a348d017ef4dcac2e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc08075c669fffd2ab7808ffedad3edc"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#afc08075c669fffd2ab7808ffedad3edc">SDL_RenderFillRectF</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__FRect.html">SDL_FRect</a> *rect)</td></tr>
<tr class="memdesc:afc08075c669fffd2ab7808ffedad3edc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill a rectangle on the current rendering target with the drawing color.  <a href="#afc08075c669fffd2ab7808ffedad3edc">More...</a><br /></td></tr>
<tr class="separator:afc08075c669fffd2ab7808ffedad3edc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a599b48b93c5f6e55f7c12c766205f8a1"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a599b48b93c5f6e55f7c12c766205f8a1">SDL_RenderFillRectsF</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__FRect.html">SDL_FRect</a> *rects, int count)</td></tr>
<tr class="memdesc:a599b48b93c5f6e55f7c12c766205f8a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill some number of rectangles on the current rendering target with the drawing color.  <a href="#a599b48b93c5f6e55f7c12c766205f8a1">More...</a><br /></td></tr>
<tr class="separator:a599b48b93c5f6e55f7c12c766205f8a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4514e3254853776f9c5202d8808e5354"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a4514e3254853776f9c5202d8808e5354">SDL_RenderCopyF</a> (SDL_Renderer *renderer, SDL_Texture *texture, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *srcrect, const <a class="el" href="structSDL__FRect.html">SDL_FRect</a> *dstrect)</td></tr>
<tr class="memdesc:a4514e3254853776f9c5202d8808e5354"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy a portion of the texture to the current rendering target.  <a href="#a4514e3254853776f9c5202d8808e5354">More...</a><br /></td></tr>
<tr class="separator:a4514e3254853776f9c5202d8808e5354"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7f9810c9b14afb97cd9b0bbc68ac73d"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#ac7f9810c9b14afb97cd9b0bbc68ac73d">SDL_RenderCopyExF</a> (SDL_Renderer *renderer, SDL_Texture *texture, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *srcrect, const <a class="el" href="structSDL__FRect.html">SDL_FRect</a> *dstrect, const double angle, const <a class="el" href="structSDL__FPoint.html">SDL_FPoint</a> *center, const <a class="el" href="SDL__render_8h.html#a6280e56838e0e684caa0869c7c973c12">SDL_RendererFlip</a> flip)</td></tr>
<tr class="memdesc:ac7f9810c9b14afb97cd9b0bbc68ac73d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center.  <a href="#ac7f9810c9b14afb97cd9b0bbc68ac73d">More...</a><br /></td></tr>
<tr class="separator:ac7f9810c9b14afb97cd9b0bbc68ac73d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6aa7797b165275f1bdd76c3188a784f9"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a6aa7797b165275f1bdd76c3188a784f9">SDL_RenderReadPixels</a> (SDL_Renderer *renderer, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *rect, Uint32 format, void *pixels, int pitch)</td></tr>
<tr class="memdesc:a6aa7797b165275f1bdd76c3188a784f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read pixels from the current rendering target.  <a href="#a6aa7797b165275f1bdd76c3188a784f9">More...</a><br /></td></tr>
<tr class="separator:a6aa7797b165275f1bdd76c3188a784f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48fa9d24395f3610746988ecca2aae86"><td class="memItemLeft" align="right" valign="top"><a id="a48fa9d24395f3610746988ecca2aae86"></a>
DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a48fa9d24395f3610746988ecca2aae86">SDL_RenderPresent</a> (SDL_Renderer *renderer)</td></tr>
<tr class="memdesc:a48fa9d24395f3610746988ecca2aae86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the screen with rendering performed. <br /></td></tr>
<tr class="separator:a48fa9d24395f3610746988ecca2aae86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a078c0a925e24542d356a02183a306be6"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a078c0a925e24542d356a02183a306be6">SDL_DestroyTexture</a> (SDL_Texture *texture)</td></tr>
<tr class="memdesc:a078c0a925e24542d356a02183a306be6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy the specified texture.  <a href="#a078c0a925e24542d356a02183a306be6">More...</a><br /></td></tr>
<tr class="separator:a078c0a925e24542d356a02183a306be6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1f096742fa9c882c3f1555ee62c4ac2"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#ab1f096742fa9c882c3f1555ee62c4ac2">SDL_DestroyRenderer</a> (SDL_Renderer *renderer)</td></tr>
<tr class="memdesc:ab1f096742fa9c882c3f1555ee62c4ac2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy the rendering context for a window and free associated textures.  <a href="#ab1f096742fa9c882c3f1555ee62c4ac2">More...</a><br /></td></tr>
<tr class="separator:ab1f096742fa9c882c3f1555ee62c4ac2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b874552e4d5dcfa069256e49c6c2ae4"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a1b874552e4d5dcfa069256e49c6c2ae4">SDL_RenderFlush</a> (SDL_Renderer *renderer)</td></tr>
<tr class="memdesc:a1b874552e4d5dcfa069256e49c6c2ae4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Force the rendering context to flush any pending commands to the underlying rendering API.  <a href="#a1b874552e4d5dcfa069256e49c6c2ae4">More...</a><br /></td></tr>
<tr class="separator:a1b874552e4d5dcfa069256e49c6c2ae4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00a25a5b53d11a363aa8dac1120cd274"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a00a25a5b53d11a363aa8dac1120cd274">SDL_GL_BindTexture</a> (SDL_Texture *texture, float *texw, float *texh)</td></tr>
<tr class="memdesc:a00a25a5b53d11a363aa8dac1120cd274"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bind the texture to the current OpenGL/ES/ES2 context for use with OpenGL instructions.  <a href="#a00a25a5b53d11a363aa8dac1120cd274">More...</a><br /></td></tr>
<tr class="separator:a00a25a5b53d11a363aa8dac1120cd274"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf7df600fe205822dea3a9e56f6c78ad"><td class="memItemLeft" align="right" valign="top">DECLSPEC int SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#aaf7df600fe205822dea3a9e56f6c78ad">SDL_GL_UnbindTexture</a> (SDL_Texture *texture)</td></tr>
<tr class="memdesc:aaf7df600fe205822dea3a9e56f6c78ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unbind a texture from the current OpenGL/ES/ES2 context.  <a href="#aaf7df600fe205822dea3a9e56f6c78ad">More...</a><br /></td></tr>
<tr class="separator:aaf7df600fe205822dea3a9e56f6c78ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70967f6f13b573c1b05ad10ac8367875"><td class="memItemLeft" align="right" valign="top">DECLSPEC void *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#a70967f6f13b573c1b05ad10ac8367875">SDL_RenderGetMetalLayer</a> (SDL_Renderer *renderer)</td></tr>
<tr class="memdesc:a70967f6f13b573c1b05ad10ac8367875"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the CAMetalLayer associated with the given Metal renderer.  <a href="#a70967f6f13b573c1b05ad10ac8367875">More...</a><br /></td></tr>
<tr class="separator:a70967f6f13b573c1b05ad10ac8367875"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab928ea8c999e354d641b0bea3ff2d471"><td class="memItemLeft" align="right" valign="top">DECLSPEC void *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__render_8h.html#ab928ea8c999e354d641b0bea3ff2d471">SDL_RenderGetMetalCommandEncoder</a> (SDL_Renderer *renderer)</td></tr>
<tr class="memdesc:ab928ea8c999e354d641b0bea3ff2d471"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Metal command encoder for the current frame.  <a href="#ab928ea8c999e354d641b0bea3ff2d471">More...</a><br /></td></tr>
<tr class="separator:ab928ea8c999e354d641b0bea3ff2d471"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Header file for SDL 2D rendering functions.</p>
<p>This API supports the following features:</p><ul>
<li>single pixel points</li>
<li>single pixel lines</li>
<li>filled rectangles</li>
<li>texture images</li>
</ul>
<p>The primitives may be drawn in opaque, blended, or additive modes.</p>
<p>The texture images may be drawn in opaque, blended, or additive modes. They can have an additional color tint or alpha modulation applied to them, and may also be stretched with linear interpolation.</p>
<p>This API is designed to accelerate simple 2D operations. You may want more functionality such as polygons and particle effects and in that case you should use SDL's OpenGL/Direct3D support or one of the many good 3D engines.</p>
<p>These functions must be called from the main thread. See this bug for details: <a href="http://bugzilla.libsdl.org/show_bug.cgi?id=1995">http://bugzilla.libsdl.org/show_bug.cgi?id=1995</a> </p>
</div><h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="a3a6e51bbee5fd3f8ee0c9f7504ae4130"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a6e51bbee5fd3f8ee0c9f7504ae4130">&#9670;&nbsp;</a></span>SDL_RendererFlags</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="SDL__render_8h.html#a3a6e51bbee5fd3f8ee0c9f7504ae4130">SDL_RendererFlags</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Flags used when creating a rendering context. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a3a6e51bbee5fd3f8ee0c9f7504ae4130a02efc6cb7656c03d7a7d0164aced7e84"></a>SDL_RENDERER_SOFTWARE&#160;</td><td class="fielddoc"><p>The renderer is a software fallback </p>
</td></tr>
<tr><td class="fieldname"><a id="a3a6e51bbee5fd3f8ee0c9f7504ae4130a1268ba2faaf6d9c7c7b71fc550f4248a"></a>SDL_RENDERER_ACCELERATED&#160;</td><td class="fielddoc"><p>The renderer uses hardware acceleration </p>
</td></tr>
<tr><td class="fieldname"><a id="a3a6e51bbee5fd3f8ee0c9f7504ae4130a12abcfe685ff444f0fc727db981a0c83"></a>SDL_RENDERER_PRESENTVSYNC&#160;</td><td class="fielddoc"><p>Present is synchronized with the refresh rate </p>
</td></tr>
<tr><td class="fieldname"><a id="a3a6e51bbee5fd3f8ee0c9f7504ae4130a77aa48df9c4f56f0b1c66c406da3ab81"></a>SDL_RENDERER_TARGETTEXTURE&#160;</td><td class="fielddoc"><p>The renderer supports rendering to texture </p>
</td></tr>
</table>

</div>
</div>
<a id="a6280e56838e0e684caa0869c7c973c12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6280e56838e0e684caa0869c7c973c12">&#9670;&nbsp;</a></span>SDL_RendererFlip</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="SDL__render_8h.html#a6280e56838e0e684caa0869c7c973c12">SDL_RendererFlip</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Flip constants for SDL_RenderCopyEx. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a6280e56838e0e684caa0869c7c973c12a580b026a6ad4e3493677ad47f3bd939a"></a>SDL_FLIP_NONE&#160;</td><td class="fielddoc"><p>Do not flip </p>
</td></tr>
<tr><td class="fieldname"><a id="a6280e56838e0e684caa0869c7c973c12acfc2af6936e75fa246c98d316425c0ce"></a>SDL_FLIP_HORIZONTAL&#160;</td><td class="fielddoc"><p>flip horizontally </p>
</td></tr>
<tr><td class="fieldname"><a id="a6280e56838e0e684caa0869c7c973c12a27ec807eec1d9adffced6a70cd85ef01"></a>SDL_FLIP_VERTICAL&#160;</td><td class="fielddoc"><p>flip vertically </p>
</td></tr>
</table>

</div>
</div>
<a id="a6b8417d7af279e8a0d4a51233da99bc9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b8417d7af279e8a0d4a51233da99bc9">&#9670;&nbsp;</a></span>SDL_TextureAccess</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="SDL__render_8h.html#a6b8417d7af279e8a0d4a51233da99bc9">SDL_TextureAccess</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The access pattern allowed for a texture. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a6b8417d7af279e8a0d4a51233da99bc9a07c9015fe5cf4e0737d2836acdf00a34"></a>SDL_TEXTUREACCESS_STATIC&#160;</td><td class="fielddoc"><p>Changes rarely, not lockable </p>
</td></tr>
<tr><td class="fieldname"><a id="a6b8417d7af279e8a0d4a51233da99bc9a19a4751f16e6b411aeb9c835d6c061b4"></a>SDL_TEXTUREACCESS_STREAMING&#160;</td><td class="fielddoc"><p>Changes frequently, lockable </p>
</td></tr>
<tr><td class="fieldname"><a id="a6b8417d7af279e8a0d4a51233da99bc9a52249f41ca2ec4971ec96ee395868a9a"></a>SDL_TEXTUREACCESS_TARGET&#160;</td><td class="fielddoc"><p>Texture can be used as a render target </p>
</td></tr>
</table>

</div>
</div>
<a id="a8d8aacd15cb2cb24e61ae1905e7a5ab5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d8aacd15cb2cb24e61ae1905e7a5ab5">&#9670;&nbsp;</a></span>SDL_TextureModulate</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="SDL__render_8h.html#a8d8aacd15cb2cb24e61ae1905e7a5ab5">SDL_TextureModulate</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The texture channel modulation used in <a class="el" href="SDL__render_8h.html#a4b6c2353384c7b7128fd5960b24f2ae6" title="Copy a portion of the texture to the current rendering target.">SDL_RenderCopy()</a>. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a8d8aacd15cb2cb24e61ae1905e7a5ab5a3c1a49753bd4e0a8cfa7c64ed5a4b0df"></a>SDL_TEXTUREMODULATE_NONE&#160;</td><td class="fielddoc"><p>No modulation </p>
</td></tr>
<tr><td class="fieldname"><a id="a8d8aacd15cb2cb24e61ae1905e7a5ab5a5a9d122094526405306483d856caa21e"></a>SDL_TEXTUREMODULATE_COLOR&#160;</td><td class="fielddoc"><p>srcC = srcC * color </p>
</td></tr>
<tr><td class="fieldname"><a id="a8d8aacd15cb2cb24e61ae1905e7a5ab5a431abaf1e024cd43df94a967ba1e836f"></a>SDL_TEXTUREMODULATE_ALPHA&#160;</td><td class="fielddoc"><p>srcA = srcA * alpha </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a8db1ba55c15a3477d71f6a793cee54f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8db1ba55c15a3477d71f6a793cee54f1">&#9670;&nbsp;</a></span>SDL_CreateRenderer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC SDL_Renderer* SDLCALL SDL_CreateRenderer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a 2D rendering context for a window. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window where rendering is displayed. </td></tr>
    <tr><td class="paramname">index</td><td>The index of the rendering driver to initialize, or -1 to initialize the first one supporting the requested flags. </td></tr>
    <tr><td class="paramname">flags</td><td><a class="el" href="SDL__render_8h.html#a3a6e51bbee5fd3f8ee0c9f7504ae4130" title="Flags used when creating a rendering context.">SDL_RendererFlags</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A valid rendering context or NULL if there was an error.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a1a26a4aa0d2baa4c150ee1e080d1eeee" title="Create a 2D software rendering context for a surface.">SDL_CreateSoftwareRenderer()</a> </dd>
<dd>
<a class="el" href="SDL__render_8h.html#afdc8a35ce033f5111843ac9518dc47a4" title="Get information about a rendering context.">SDL_GetRendererInfo()</a> </dd>
<dd>
<a class="el" href="SDL__render_8h.html#ab1f096742fa9c882c3f1555ee62c4ac2" title="Destroy the rendering context for a window and free associated textures.">SDL_DestroyRenderer()</a> </dd></dl>

</div>
</div>
<a id="a1a26a4aa0d2baa4c150ee1e080d1eeee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a26a4aa0d2baa4c150ee1e080d1eeee">&#9670;&nbsp;</a></span>SDL_CreateSoftwareRenderer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC SDL_Renderer* SDLCALL SDL_CreateSoftwareRenderer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structSDL__Surface.html">SDL_Surface</a> *&#160;</td>
          <td class="paramname"><em>surface</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a 2D software rendering context for a surface. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">surface</td><td>The surface where rendering is done.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A valid rendering context or NULL if there was an error.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a8db1ba55c15a3477d71f6a793cee54f1" title="Create a 2D rendering context for a window.">SDL_CreateRenderer()</a> </dd>
<dd>
<a class="el" href="SDL__render_8h.html#ab1f096742fa9c882c3f1555ee62c4ac2" title="Destroy the rendering context for a window and free associated textures.">SDL_DestroyRenderer()</a> </dd></dl>

</div>
</div>
<a id="ab5ff70c980ec23b05a95e0435bd55b4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5ff70c980ec23b05a95e0435bd55b4a">&#9670;&nbsp;</a></span>SDL_CreateTexture()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC SDL_Texture* SDLCALL SDL_CreateTexture </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>access</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a texture for a rendering context. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer. </td></tr>
    <tr><td class="paramname">format</td><td>The format of the texture. </td></tr>
    <tr><td class="paramname">access</td><td>One of the enumerated values in <a class="el" href="SDL__render_8h.html#a6b8417d7af279e8a0d4a51233da99bc9" title="The access pattern allowed for a texture.">SDL_TextureAccess</a>. </td></tr>
    <tr><td class="paramname">w</td><td>The width of the texture in pixels. </td></tr>
    <tr><td class="paramname">h</td><td>The height of the texture in pixels.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The created texture is returned, or NULL if no rendering context was active, the format was unsupported, or the width or height were out of range.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The contents of the texture are not defined at creation.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#aade777757bfc3b98bf3ef742b1d8a052" title="Query the attributes of a texture.">SDL_QueryTexture()</a> </dd>
<dd>
<a class="el" href="SDL__render_8h.html#a7aab41a7058997590095e5568d065c11" title="Update the given texture rectangle with new pixel data.">SDL_UpdateTexture()</a> </dd>
<dd>
<a class="el" href="SDL__render_8h.html#a078c0a925e24542d356a02183a306be6" title="Destroy the specified texture.">SDL_DestroyTexture()</a> </dd></dl>

</div>
</div>
<a id="a0c75234b90965e9db70947fbe91a5840"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c75234b90965e9db70947fbe91a5840">&#9670;&nbsp;</a></span>SDL_CreateTextureFromSurface()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC SDL_Texture* SDLCALL SDL_CreateTextureFromSurface </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structSDL__Surface.html">SDL_Surface</a> *&#160;</td>
          <td class="paramname"><em>surface</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a texture from an existing surface. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer. </td></tr>
    <tr><td class="paramname">surface</td><td>The surface containing pixel data used to fill the texture.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The created texture is returned, or NULL on error.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The surface is not modified or freed by this function.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#aade777757bfc3b98bf3ef742b1d8a052" title="Query the attributes of a texture.">SDL_QueryTexture()</a> </dd>
<dd>
<a class="el" href="SDL__render_8h.html#a078c0a925e24542d356a02183a306be6" title="Destroy the specified texture.">SDL_DestroyTexture()</a> </dd></dl>

</div>
</div>
<a id="ac3aa070e5cda5bab246621f7efc9f143"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3aa070e5cda5bab246621f7efc9f143">&#9670;&nbsp;</a></span>SDL_CreateWindowAndRenderer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_CreateWindowAndRenderer </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>window_flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> **&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Renderer **&#160;</td>
          <td class="paramname"><em>renderer</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a window and default renderer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>The width of the window </td></tr>
    <tr><td class="paramname">height</td><td>The height of the window </td></tr>
    <tr><td class="paramname">window_flags</td><td>The flags used to create the window </td></tr>
    <tr><td class="paramname">window</td><td>A pointer filled with the window, or NULL on error </td></tr>
    <tr><td class="paramname">renderer</td><td>A pointer filled with the renderer, or NULL on error</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="ab1f096742fa9c882c3f1555ee62c4ac2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1f096742fa9c882c3f1555ee62c4ac2">&#9670;&nbsp;</a></span>SDL_DestroyRenderer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC void SDLCALL SDL_DestroyRenderer </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destroy the rendering context for a window and free associated textures. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a8db1ba55c15a3477d71f6a793cee54f1" title="Create a 2D rendering context for a window.">SDL_CreateRenderer()</a> </dd></dl>

</div>
</div>
<a id="a078c0a925e24542d356a02183a306be6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a078c0a925e24542d356a02183a306be6">&#9670;&nbsp;</a></span>SDL_DestroyTexture()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC void SDLCALL SDL_DestroyTexture </td>
          <td>(</td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destroy the specified texture. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#ab5ff70c980ec23b05a95e0435bd55b4a" title="Create a texture for a rendering context.">SDL_CreateTexture()</a> </dd>
<dd>
<a class="el" href="SDL__render_8h.html#a0c75234b90965e9db70947fbe91a5840" title="Create a texture from an existing surface.">SDL_CreateTextureFromSurface()</a> </dd></dl>

</div>
</div>
<a id="a4dd8a7e6e6f0948541a1ff6b2ecff192"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4dd8a7e6e6f0948541a1ff6b2ecff192">&#9670;&nbsp;</a></span>SDL_GetNumRenderDrivers()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_GetNumRenderDrivers </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of 2D rendering drivers available for the current display. </p>
<p>A render driver is a set of code that handles rendering and texture management on a particular display. Normally there is only one, but some drivers may have several available with different capabilities.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#aa9a7e1ca629863212c2c1b17112f65bd" title="Get information about a specific 2D rendering driver for the current display.">SDL_GetRenderDriverInfo()</a> </dd>
<dd>
<a class="el" href="SDL__render_8h.html#a8db1ba55c15a3477d71f6a793cee54f1" title="Create a 2D rendering context for a window.">SDL_CreateRenderer()</a> </dd></dl>

</div>
</div>
<a id="a384109767532e9703652233571a0d3cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a384109767532e9703652233571a0d3cf">&#9670;&nbsp;</a></span>SDL_GetRenderDrawBlendMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_GetRenderDrawBlendMode </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__blendmode_8h.html#a850d3c67a878fd6698a1c8dbb1eabf1e">SDL_BlendMode</a> *&#160;</td>
          <td class="paramname"><em>blendMode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the blend mode used for drawing operations. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer from which blend mode should be queried. </td></tr>
    <tr><td class="paramname">blendMode</td><td>A pointer filled in with the current blend mode.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a37e6e440b995756c9cc8a20fe3ca2385" title="Set the blend mode used for drawing operations (Fill and Line).">SDL_SetRenderDrawBlendMode()</a> </dd></dl>

</div>
</div>
<a id="a1b8e6544c3fc23ddd9b0f0bfb14cef39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b8e6544c3fc23ddd9b0f0bfb14cef39">&#9670;&nbsp;</a></span>SDL_GetRenderDrawColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_GetRenderDrawColor </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8 *&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8 *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8 *&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8 *&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the color used for drawing operations (Rect, Line and Clear). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer from which drawing color should be queried. </td></tr>
    <tr><td class="paramname">r</td><td>A pointer to the red value used to draw on the rendering target. </td></tr>
    <tr><td class="paramname">g</td><td>A pointer to the green value used to draw on the rendering target. </td></tr>
    <tr><td class="paramname">b</td><td>A pointer to the blue value used to draw on the rendering target. </td></tr>
    <tr><td class="paramname">a</td><td>A pointer to the alpha value used to draw on the rendering target, usually ::SDL_ALPHA_OPAQUE (255).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="aa9a7e1ca629863212c2c1b17112f65bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9a7e1ca629863212c2c1b17112f65bd">&#9670;&nbsp;</a></span>SDL_GetRenderDriverInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_GetRenderDriverInfo </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structSDL__RendererInfo.html">SDL_RendererInfo</a> *&#160;</td>
          <td class="paramname"><em>info</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get information about a specific 2D rendering driver for the current display. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The index of the driver to query information about. </td></tr>
    <tr><td class="paramname">info</td><td>A pointer to an <a class="el" href="structSDL__RendererInfo.html" title="Information on the capabilities of a render driver or context.">SDL_RendererInfo</a> struct to be filled with information on the rendering driver.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, -1 if the index was out of range.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a8db1ba55c15a3477d71f6a793cee54f1" title="Create a 2D rendering context for a window.">SDL_CreateRenderer()</a> </dd></dl>

</div>
</div>
<a id="a042f1c998d4a29ea236fffcaa0782bf1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a042f1c998d4a29ea236fffcaa0782bf1">&#9670;&nbsp;</a></span>SDL_GetRenderTarget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC SDL_Texture* SDLCALL SDL_GetRenderTarget </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current render target or NULL for the default render target. </p>
<dl class="section return"><dt>Returns</dt><dd>The current render target</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a2479163b0f2909cc50cef7af3c279000" title="Set a texture as the current rendering target.">SDL_SetRenderTarget()</a> </dd></dl>

</div>
</div>
<a id="a4d9a9e945ec95f30e5c48ce305de33ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d9a9e945ec95f30e5c48ce305de33ad">&#9670;&nbsp;</a></span>SDL_GetTextureAlphaMod()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_GetTextureAlphaMod </td>
          <td>(</td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8 *&#160;</td>
          <td class="paramname"><em>alpha</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the additional alpha value used in render copy operations. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>The texture to query. </td></tr>
    <tr><td class="paramname">alpha</td><td>A pointer filled in with the current alpha value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if the texture is not valid.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a1cc3302a4c7fb3b37e8fd5263a80758b" title="Set an additional alpha value used in render copy operations.">SDL_SetTextureAlphaMod()</a> </dd></dl>

</div>
</div>
<a id="a2595ee57e6f3a4882f3ae4062ca420c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2595ee57e6f3a4882f3ae4062ca420c4">&#9670;&nbsp;</a></span>SDL_GetTextureBlendMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_GetTextureBlendMode </td>
          <td>(</td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__blendmode_8h.html#a850d3c67a878fd6698a1c8dbb1eabf1e">SDL_BlendMode</a> *&#160;</td>
          <td class="paramname"><em>blendMode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the blend mode used for texture copy operations. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>The texture to query. </td></tr>
    <tr><td class="paramname">blendMode</td><td>A pointer filled in with the current blend mode.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if the texture is not valid.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#af8b9cb77ca18f76c18f39d29ed960de8" title="Set the blend mode used for texture copy operations.">SDL_SetTextureBlendMode()</a> </dd></dl>

</div>
</div>
<a id="aa70e4ce3a875399d4291dca23e687b11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa70e4ce3a875399d4291dca23e687b11">&#9670;&nbsp;</a></span>SDL_GetTextureColorMod()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_GetTextureColorMod </td>
          <td>(</td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8 *&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8 *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8 *&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the additional color value used in render copy operations. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>The texture to query. </td></tr>
    <tr><td class="paramname">r</td><td>A pointer filled in with the current red color value. </td></tr>
    <tr><td class="paramname">g</td><td>A pointer filled in with the current green color value. </td></tr>
    <tr><td class="paramname">b</td><td>A pointer filled in with the current blue color value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if the texture is not valid.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a348399db33c03a7882cef0c6e6c1756f" title="Set an additional color value used in render copy operations.">SDL_SetTextureColorMod()</a> </dd></dl>

</div>
</div>
<a id="a00a25a5b53d11a363aa8dac1120cd274"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00a25a5b53d11a363aa8dac1120cd274">&#9670;&nbsp;</a></span>SDL_GL_BindTexture()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_GL_BindTexture </td>
          <td>(</td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>texw</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>texh</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Bind the texture to the current OpenGL/ES/ES2 context for use with OpenGL instructions. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>The SDL texture to bind </td></tr>
    <tr><td class="paramname">texw</td><td>A pointer to a float that will be filled with the texture width </td></tr>
    <tr><td class="paramname">texh</td><td>A pointer to a float that will be filled with the texture height</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if the operation is not supported </dd></dl>

</div>
</div>
<a id="aaf7df600fe205822dea3a9e56f6c78ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf7df600fe205822dea3a9e56f6c78ad">&#9670;&nbsp;</a></span>SDL_GL_UnbindTexture()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_GL_UnbindTexture </td>
          <td>(</td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unbind a texture from the current OpenGL/ES/ES2 context. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>The SDL texture to unbind</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if the operation is not supported </dd></dl>

</div>
</div>
<a id="af64adcd12e4e9d41d48031fd3da7b913"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af64adcd12e4e9d41d48031fd3da7b913">&#9670;&nbsp;</a></span>SDL_LockTexture()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_LockTexture </td>
          <td>(</td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void **&#160;</td>
          <td class="paramname"><em>pixels</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>pitch</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lock a portion of the texture for write-only pixel access. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>The texture to lock for access, which was created with <a class="el" href="SDL__render_8h.html#a6b8417d7af279e8a0d4a51233da99bc9a19a4751f16e6b411aeb9c835d6c061b4">SDL_TEXTUREACCESS_STREAMING</a>. </td></tr>
    <tr><td class="paramname">rect</td><td>A pointer to the rectangle to lock for access. If the rect is NULL, the entire texture will be locked. </td></tr>
    <tr><td class="paramname">pixels</td><td>This is filled in with a pointer to the locked pixels, appropriately offset by the locked area. </td></tr>
    <tr><td class="paramname">pitch</td><td>This is filled in with the pitch of the locked pixels.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if the texture is not valid or was not created with <a class="el" href="SDL__render_8h.html#a6b8417d7af279e8a0d4a51233da99bc9a19a4751f16e6b411aeb9c835d6c061b4">SDL_TEXTUREACCESS_STREAMING</a>.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a7fc9db6cde77fc9c95a4f65bc7d30073" title="Unlock a texture, uploading the changes to video memory, if needed.">SDL_UnlockTexture()</a> </dd></dl>

</div>
</div>
<a id="aade777757bfc3b98bf3ef742b1d8a052"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aade777757bfc3b98bf3ef742b1d8a052">&#9670;&nbsp;</a></span>SDL_QueryTexture()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_QueryTexture </td>
          <td>(</td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32 *&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>access</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Query the attributes of a texture. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>A texture to be queried. </td></tr>
    <tr><td class="paramname">format</td><td>A pointer filled in with the raw format of the texture. The actual format may differ, but pixel transfers will use this format. </td></tr>
    <tr><td class="paramname">access</td><td>A pointer filled in with the actual access to the texture. </td></tr>
    <tr><td class="paramname">w</td><td>A pointer filled in with the width of the texture in pixels. </td></tr>
    <tr><td class="paramname">h</td><td>A pointer filled in with the height of the texture in pixels.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if the texture is not valid. </dd></dl>

</div>
</div>
<a id="a473b4abbb29c60e98876eb68ad850f79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a473b4abbb29c60e98876eb68ad850f79">&#9670;&nbsp;</a></span>SDL_RenderClear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderClear </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clear the current rendering target with the drawing color. </p>
<p>This function clears the entire rendering target, ignoring the viewport and the clip rectangle.</p>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="a4b6c2353384c7b7128fd5960b24f2ae6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b6c2353384c7b7128fd5960b24f2ae6">&#9670;&nbsp;</a></span>SDL_RenderCopy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderCopy </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>srcrect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>dstrect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy a portion of the texture to the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should copy parts of a texture. </td></tr>
    <tr><td class="paramname">texture</td><td>The source texture. </td></tr>
    <tr><td class="paramname">srcrect</td><td>A pointer to the source rectangle, or NULL for the entire texture. </td></tr>
    <tr><td class="paramname">dstrect</td><td>A pointer to the destination rectangle, or NULL for the entire rendering target.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="ac2c665c1ce910413272a004cdb52e28e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2c665c1ce910413272a004cdb52e28e">&#9670;&nbsp;</a></span>SDL_RenderCopyEx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderCopyEx </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>srcrect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>dstrect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Point.html">SDL_Point</a> *&#160;</td>
          <td class="paramname"><em>center</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="SDL__render_8h.html#a6280e56838e0e684caa0869c7c973c12">SDL_RendererFlip</a>&#160;</td>
          <td class="paramname"><em>flip</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should copy parts of a texture. </td></tr>
    <tr><td class="paramname">texture</td><td>The source texture. </td></tr>
    <tr><td class="paramname">srcrect</td><td>A pointer to the source rectangle, or NULL for the entire texture. </td></tr>
    <tr><td class="paramname">dstrect</td><td>A pointer to the destination rectangle, or NULL for the entire rendering target. </td></tr>
    <tr><td class="paramname">angle</td><td>An angle in degrees that indicates the rotation that will be applied to dstrect, rotating it in a clockwise direction </td></tr>
    <tr><td class="paramname">center</td><td>A pointer to a point indicating the point around which dstrect will be rotated (if NULL, rotation will be done around dstrect.w/2, dstrect.h/2). </td></tr>
    <tr><td class="paramname">flip</td><td>An SDL_RendererFlip value stating which flipping actions should be performed on the texture</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="ac7f9810c9b14afb97cd9b0bbc68ac73d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7f9810c9b14afb97cd9b0bbc68ac73d">&#9670;&nbsp;</a></span>SDL_RenderCopyExF()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderCopyExF </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>srcrect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__FRect.html">SDL_FRect</a> *&#160;</td>
          <td class="paramname"><em>dstrect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__FPoint.html">SDL_FPoint</a> *&#160;</td>
          <td class="paramname"><em>center</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="SDL__render_8h.html#a6280e56838e0e684caa0869c7c973c12">SDL_RendererFlip</a>&#160;</td>
          <td class="paramname"><em>flip</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should copy parts of a texture. </td></tr>
    <tr><td class="paramname">texture</td><td>The source texture. </td></tr>
    <tr><td class="paramname">srcrect</td><td>A pointer to the source rectangle, or NULL for the entire texture. </td></tr>
    <tr><td class="paramname">dstrect</td><td>A pointer to the destination rectangle, or NULL for the entire rendering target. </td></tr>
    <tr><td class="paramname">angle</td><td>An angle in degrees that indicates the rotation that will be applied to dstrect, rotating it in a clockwise direction </td></tr>
    <tr><td class="paramname">center</td><td>A pointer to a point indicating the point around which dstrect will be rotated (if NULL, rotation will be done around dstrect.w/2, dstrect.h/2). </td></tr>
    <tr><td class="paramname">flip</td><td>An SDL_RendererFlip value stating which flipping actions should be performed on the texture</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="a4514e3254853776f9c5202d8808e5354"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4514e3254853776f9c5202d8808e5354">&#9670;&nbsp;</a></span>SDL_RenderCopyF()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderCopyF </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>srcrect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__FRect.html">SDL_FRect</a> *&#160;</td>
          <td class="paramname"><em>dstrect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy a portion of the texture to the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should copy parts of a texture. </td></tr>
    <tr><td class="paramname">texture</td><td>The source texture. </td></tr>
    <tr><td class="paramname">srcrect</td><td>A pointer to the source rectangle, or NULL for the entire texture. </td></tr>
    <tr><td class="paramname">dstrect</td><td>A pointer to the destination rectangle, or NULL for the entire rendering target.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="a6d50e252f15e0c6c14639bdd343285fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d50e252f15e0c6c14639bdd343285fd">&#9670;&nbsp;</a></span>SDL_RenderDrawLine()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderDrawLine </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw a line on the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should draw a line. </td></tr>
    <tr><td class="paramname">x1</td><td>The x coordinate of the start point. </td></tr>
    <tr><td class="paramname">y1</td><td>The y coordinate of the start point. </td></tr>
    <tr><td class="paramname">x2</td><td>The x coordinate of the end point. </td></tr>
    <tr><td class="paramname">y2</td><td>The y coordinate of the end point.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="a05ad434757513f4b98de29aaee8f70e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05ad434757513f4b98de29aaee8f70e3">&#9670;&nbsp;</a></span>SDL_RenderDrawLineF()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderDrawLineF </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw a line on the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should draw a line. </td></tr>
    <tr><td class="paramname">x1</td><td>The x coordinate of the start point. </td></tr>
    <tr><td class="paramname">y1</td><td>The y coordinate of the start point. </td></tr>
    <tr><td class="paramname">x2</td><td>The x coordinate of the end point. </td></tr>
    <tr><td class="paramname">y2</td><td>The y coordinate of the end point.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="a556f150677bb965448b7b361bceb7a76"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a556f150677bb965448b7b361bceb7a76">&#9670;&nbsp;</a></span>SDL_RenderDrawLines()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderDrawLines </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Point.html">SDL_Point</a> *&#160;</td>
          <td class="paramname"><em>points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw a series of connected lines on the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should draw multiple lines. </td></tr>
    <tr><td class="paramname">points</td><td>The points along the lines </td></tr>
    <tr><td class="paramname">count</td><td>The number of points, drawing count-1 lines</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="a60727a3df49c84428e486cc067107406"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60727a3df49c84428e486cc067107406">&#9670;&nbsp;</a></span>SDL_RenderDrawLinesF()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderDrawLinesF </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__FPoint.html">SDL_FPoint</a> *&#160;</td>
          <td class="paramname"><em>points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw a series of connected lines on the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should draw multiple lines. </td></tr>
    <tr><td class="paramname">points</td><td>The points along the lines </td></tr>
    <tr><td class="paramname">count</td><td>The number of points, drawing count-1 lines</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="ab576a09c91675dbd8dba9d05dd2fc0bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab576a09c91675dbd8dba9d05dd2fc0bc">&#9670;&nbsp;</a></span>SDL_RenderDrawPoint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderDrawPoint </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw a point on the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should draw a point. </td></tr>
    <tr><td class="paramname">x</td><td>The x coordinate of the point. </td></tr>
    <tr><td class="paramname">y</td><td>The y coordinate of the point.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="aa62bd2597d5a7650e7ad666c2a15e688"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa62bd2597d5a7650e7ad666c2a15e688">&#9670;&nbsp;</a></span>SDL_RenderDrawPointF()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderDrawPointF </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw a point on the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should draw a point. </td></tr>
    <tr><td class="paramname">x</td><td>The x coordinate of the point. </td></tr>
    <tr><td class="paramname">y</td><td>The y coordinate of the point.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="a8ff1a991e7a2599cfc9ea43dfa920d0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ff1a991e7a2599cfc9ea43dfa920d0b">&#9670;&nbsp;</a></span>SDL_RenderDrawPoints()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderDrawPoints </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Point.html">SDL_Point</a> *&#160;</td>
          <td class="paramname"><em>points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw multiple points on the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should draw multiple points. </td></tr>
    <tr><td class="paramname">points</td><td>The points to draw </td></tr>
    <tr><td class="paramname">count</td><td>The number of points to draw</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="a94cef2f19a261a175e3a748dd95bec69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94cef2f19a261a175e3a748dd95bec69">&#9670;&nbsp;</a></span>SDL_RenderDrawPointsF()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderDrawPointsF </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__FPoint.html">SDL_FPoint</a> *&#160;</td>
          <td class="paramname"><em>points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw multiple points on the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should draw multiple points. </td></tr>
    <tr><td class="paramname">points</td><td>The points to draw </td></tr>
    <tr><td class="paramname">count</td><td>The number of points to draw</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="ab2a89b5a0c25adb6abdb9aeff28f177c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2a89b5a0c25adb6abdb9aeff28f177c">&#9670;&nbsp;</a></span>SDL_RenderDrawRect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderDrawRect </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw a rectangle on the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should draw a rectangle. </td></tr>
    <tr><td class="paramname">rect</td><td>A pointer to the destination rectangle, or NULL to outline the entire rendering target.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="ae6ca4e63fe1189d44a42eb831c4f9dc2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6ca4e63fe1189d44a42eb831c4f9dc2">&#9670;&nbsp;</a></span>SDL_RenderDrawRectF()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderDrawRectF </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__FRect.html">SDL_FRect</a> *&#160;</td>
          <td class="paramname"><em>rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw a rectangle on the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should draw a rectangle. </td></tr>
    <tr><td class="paramname">rect</td><td>A pointer to the destination rectangle, or NULL to outline the entire rendering target.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="ae56460fe1b478a55916650e695145cbf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae56460fe1b478a55916650e695145cbf">&#9670;&nbsp;</a></span>SDL_RenderDrawRects()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderDrawRects </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>rects</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw some number of rectangles on the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should draw multiple rectangles. </td></tr>
    <tr><td class="paramname">rects</td><td>A pointer to an array of destination rectangles. </td></tr>
    <tr><td class="paramname">count</td><td>The number of rectangles.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="ac0be470fecfd02a348d017ef4dcac2e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0be470fecfd02a348d017ef4dcac2e5">&#9670;&nbsp;</a></span>SDL_RenderDrawRectsF()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderDrawRectsF </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__FRect.html">SDL_FRect</a> *&#160;</td>
          <td class="paramname"><em>rects</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw some number of rectangles on the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should draw multiple rectangles. </td></tr>
    <tr><td class="paramname">rects</td><td>A pointer to an array of destination rectangles. </td></tr>
    <tr><td class="paramname">count</td><td>The number of rectangles.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="a3b5098c1944441034d2c5cff419f93cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b5098c1944441034d2c5cff419f93cc">&#9670;&nbsp;</a></span>SDL_RenderFillRect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderFillRect </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fill a rectangle on the current rendering target with the drawing color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should fill a rectangle. </td></tr>
    <tr><td class="paramname">rect</td><td>A pointer to the destination rectangle, or NULL for the entire rendering target.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="afc08075c669fffd2ab7808ffedad3edc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc08075c669fffd2ab7808ffedad3edc">&#9670;&nbsp;</a></span>SDL_RenderFillRectF()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderFillRectF </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__FRect.html">SDL_FRect</a> *&#160;</td>
          <td class="paramname"><em>rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fill a rectangle on the current rendering target with the drawing color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should fill a rectangle. </td></tr>
    <tr><td class="paramname">rect</td><td>A pointer to the destination rectangle, or NULL for the entire rendering target.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="a987fe30e64168702f1dfa6407fbe8bec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a987fe30e64168702f1dfa6407fbe8bec">&#9670;&nbsp;</a></span>SDL_RenderFillRects()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderFillRects </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>rects</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fill some number of rectangles on the current rendering target with the drawing color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should fill multiple rectangles. </td></tr>
    <tr><td class="paramname">rects</td><td>A pointer to an array of destination rectangles. </td></tr>
    <tr><td class="paramname">count</td><td>The number of rectangles.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="a599b48b93c5f6e55f7c12c766205f8a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a599b48b93c5f6e55f7c12c766205f8a1">&#9670;&nbsp;</a></span>SDL_RenderFillRectsF()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderFillRectsF </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__FRect.html">SDL_FRect</a> *&#160;</td>
          <td class="paramname"><em>rects</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fill some number of rectangles on the current rendering target with the drawing color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer which should fill multiple rectangles. </td></tr>
    <tr><td class="paramname">rects</td><td>A pointer to an array of destination rectangles. </td></tr>
    <tr><td class="paramname">count</td><td>The number of rectangles.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="a1b874552e4d5dcfa069256e49c6c2ae4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b874552e4d5dcfa069256e49c6c2ae4">&#9670;&nbsp;</a></span>SDL_RenderFlush()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderFlush </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Force the rendering context to flush any pending commands to the underlying rendering API. </p>
<p>You do not need to (and in fact, shouldn't) call this function unless you are planning to call into OpenGL/Direct3D/Metal/whatever directly in addition to using an SDL_Renderer.</p>
<p>This is for a very-specific case: if you are using SDL's render API, you asked for a specific renderer backend (OpenGL, Direct3D, etc), you set SDL_HINT_RENDER_BATCHING to "1", and you plan to make OpenGL/D3D/whatever calls in addition to SDL render API calls. If all of this applies, you should call <a class="el" href="SDL__render_8h.html#a1b874552e4d5dcfa069256e49c6c2ae4" title="Force the rendering context to flush any pending commands to the underlying rendering API.">SDL_RenderFlush()</a> between calls to SDL's render API and the low-level API you're using in cooperation.</p>
<p>In all other cases, you can ignore this function. This is only here to get maximum performance out of a specific situation. In all other cases, SDL will do the right thing, perhaps at a performance loss.</p>
<p>This function is first available in SDL 2.0.10, and is not needed in 2.0.9 and earlier, as earlier versions did not queue rendering commands at all, instead flushing them to the OS immediately. </p>

</div>
</div>
<a id="af91e64e2b473a5eb7e93caf253fb760c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af91e64e2b473a5eb7e93caf253fb760c">&#9670;&nbsp;</a></span>SDL_RenderGetClipRect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC void SDLCALL SDL_RenderGetClipRect </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the clip rectangle for the current target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer from which clip rectangle should be queried. </td></tr>
    <tr><td class="paramname">rect</td><td>A pointer filled in with the current clip rectangle, or an empty rectangle if clipping is disabled.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a2788c24590fd26bcf0d5be2ffcb85c04" title="Set the clip rectangle for the current target.">SDL_RenderSetClipRect()</a> </dd></dl>

</div>
</div>
<a id="a435c61d9f048550388198478e8fdeaa0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a435c61d9f048550388198478e8fdeaa0">&#9670;&nbsp;</a></span>SDL_RenderGetIntegerScale()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC SDL_bool SDLCALL SDL_RenderGetIntegerScale </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get whether integer scales are forced for resolution-independent rendering. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer from which integer scaling should be queried.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a62c3f8273280e5795075d2921d4ea30f" title="Set whether to force integer scales for resolution-independent rendering.">SDL_RenderSetIntegerScale()</a> </dd></dl>

</div>
</div>
<a id="aa566ba52ac01bd13f6fdfcdfc3af217f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa566ba52ac01bd13f6fdfcdfc3af217f">&#9670;&nbsp;</a></span>SDL_RenderGetLogicalSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC void SDLCALL SDL_RenderGetLogicalSize </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get device independent resolution for rendering. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer from which resolution should be queried. </td></tr>
    <tr><td class="paramname">w</td><td>A pointer filled with the width of the logical resolution </td></tr>
    <tr><td class="paramname">h</td><td>A pointer filled with the height of the logical resolution</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#ad0596fd507c9bf9f8f9594cd9064860c" title="Set device independent resolution for rendering.">SDL_RenderSetLogicalSize()</a> </dd></dl>

</div>
</div>
<a id="ab928ea8c999e354d641b0bea3ff2d471"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab928ea8c999e354d641b0bea3ff2d471">&#9670;&nbsp;</a></span>SDL_RenderGetMetalCommandEncoder()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC void* SDLCALL SDL_RenderGetMetalCommandEncoder </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Metal command encoder for the current frame. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>id&lt;MTLRenderCommandEncoder&gt; on success, or NULL if the renderer isn't a Metal renderer</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a70967f6f13b573c1b05ad10ac8367875" title="Get the CAMetalLayer associated with the given Metal renderer.">SDL_RenderGetMetalLayer()</a> </dd></dl>

</div>
</div>
<a id="a70967f6f13b573c1b05ad10ac8367875"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70967f6f13b573c1b05ad10ac8367875">&#9670;&nbsp;</a></span>SDL_RenderGetMetalLayer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC void* SDLCALL SDL_RenderGetMetalLayer </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the CAMetalLayer associated with the given Metal renderer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CAMetalLayer* on success, or NULL if the renderer isn't a Metal renderer</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#ab928ea8c999e354d641b0bea3ff2d471" title="Get the Metal command encoder for the current frame.">SDL_RenderGetMetalCommandEncoder()</a> </dd></dl>

</div>
</div>
<a id="a0271c4a8d32cacaff54de9aa7b5a797d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0271c4a8d32cacaff54de9aa7b5a797d">&#9670;&nbsp;</a></span>SDL_RenderGetScale()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC void SDLCALL SDL_RenderGetScale </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>scaleX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>scaleY</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the drawing scale for the current target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer from which drawing scale should be queried. </td></tr>
    <tr><td class="paramname">scaleX</td><td>A pointer filled in with the horizontal scaling factor </td></tr>
    <tr><td class="paramname">scaleY</td><td>A pointer filled in with the vertical scaling factor</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#aa52b062e271226c5ec8cdb8aa6dc69eb" title="Set the drawing scale for rendering on the current target.">SDL_RenderSetScale()</a> </dd></dl>

</div>
</div>
<a id="a60a7a6cb31b64f9f13c923fe44ba4d6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60a7a6cb31b64f9f13c923fe44ba4d6f">&#9670;&nbsp;</a></span>SDL_RenderGetViewport()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC void SDLCALL SDL_RenderGetViewport </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the drawing area for the current target. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a27bad6dceb9d5e08d41506260dfc1c71" title="Set the drawing area for rendering on the current target.">SDL_RenderSetViewport()</a> </dd></dl>

</div>
</div>
<a id="ab8125c772a65956fbb259389b6563523"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8125c772a65956fbb259389b6563523">&#9670;&nbsp;</a></span>SDL_RenderIsClipEnabled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC SDL_bool SDLCALL SDL_RenderIsClipEnabled </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get whether clipping is enabled on the given renderer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer from which clip state should be queried.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#af91e64e2b473a5eb7e93caf253fb760c" title="Get the clip rectangle for the current target.">SDL_RenderGetClipRect()</a> </dd></dl>

</div>
</div>
<a id="a6aa7797b165275f1bdd76c3188a784f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6aa7797b165275f1bdd76c3188a784f9">&#9670;&nbsp;</a></span>SDL_RenderReadPixels()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderReadPixels </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>pixels</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pitch</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read pixels from the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer from which pixels should be read. </td></tr>
    <tr><td class="paramname">rect</td><td>A pointer to the rectangle to read, or NULL for the entire render target. </td></tr>
    <tr><td class="paramname">format</td><td>The desired format of the pixel data, or 0 to use the format of the rendering target </td></tr>
    <tr><td class="paramname">pixels</td><td>A pointer to be filled in with the pixel data </td></tr>
    <tr><td class="paramname">pitch</td><td>The pitch of the pixels parameter.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if pixel reading is not supported.</dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>This is a very slow operation, and should not be used frequently. </dd></dl>

</div>
</div>
<a id="a2788c24590fd26bcf0d5be2ffcb85c04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2788c24590fd26bcf0d5be2ffcb85c04">&#9670;&nbsp;</a></span>SDL_RenderSetClipRect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderSetClipRect </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the clip rectangle for the current target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer for which clip rectangle should be set. </td></tr>
    <tr><td class="paramname">rect</td><td>A pointer to the rectangle to set as the clip rectangle, or NULL to disable clipping.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#af91e64e2b473a5eb7e93caf253fb760c" title="Get the clip rectangle for the current target.">SDL_RenderGetClipRect()</a> </dd></dl>

</div>
</div>
<a id="a62c3f8273280e5795075d2921d4ea30f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62c3f8273280e5795075d2921d4ea30f">&#9670;&nbsp;</a></span>SDL_RenderSetIntegerScale()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderSetIntegerScale </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_bool&#160;</td>
          <td class="paramname"><em>enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set whether to force integer scales for resolution-independent rendering. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer for which integer scaling should be set. </td></tr>
    <tr><td class="paramname">enable</td><td>Enable or disable integer scaling</td></tr>
  </table>
  </dd>
</dl>
<p>This function restricts the logical viewport to integer values - that is, when a resolution is between two multiples of a logical size, the viewport size is rounded down to the lower multiple.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#ad0596fd507c9bf9f8f9594cd9064860c" title="Set device independent resolution for rendering.">SDL_RenderSetLogicalSize()</a> </dd></dl>

</div>
</div>
<a id="ad0596fd507c9bf9f8f9594cd9064860c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0596fd507c9bf9f8f9594cd9064860c">&#9670;&nbsp;</a></span>SDL_RenderSetLogicalSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderSetLogicalSize </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set device independent resolution for rendering. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer for which resolution should be set. </td></tr>
    <tr><td class="paramname">w</td><td>The width of the logical resolution </td></tr>
    <tr><td class="paramname">h</td><td>The height of the logical resolution</td></tr>
  </table>
  </dd>
</dl>
<p>This function uses the viewport and scaling functionality to allow a fixed logical resolution for rendering, regardless of the actual output resolution. If the actual output resolution doesn't have the same aspect ratio the output rendering will be centered within the output display.</p>
<p>If the output display is a window, mouse events in the window will be filtered and scaled so they seem to arrive within the logical resolution.</p>
<dl class="section note"><dt>Note</dt><dd>If this function results in scaling or subpixel drawing by the rendering backend, it will be handled using the appropriate quality hints.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#aa566ba52ac01bd13f6fdfcdfc3af217f" title="Get device independent resolution for rendering.">SDL_RenderGetLogicalSize()</a> </dd>
<dd>
<a class="el" href="SDL__render_8h.html#aa52b062e271226c5ec8cdb8aa6dc69eb" title="Set the drawing scale for rendering on the current target.">SDL_RenderSetScale()</a> </dd>
<dd>
<a class="el" href="SDL__render_8h.html#a27bad6dceb9d5e08d41506260dfc1c71" title="Set the drawing area for rendering on the current target.">SDL_RenderSetViewport()</a> </dd></dl>

</div>
</div>
<a id="aa52b062e271226c5ec8cdb8aa6dc69eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa52b062e271226c5ec8cdb8aa6dc69eb">&#9670;&nbsp;</a></span>SDL_RenderSetScale()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderSetScale </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>scaleX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>scaleY</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the drawing scale for rendering on the current target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer for which the drawing scale should be set. </td></tr>
    <tr><td class="paramname">scaleX</td><td>The horizontal scaling factor </td></tr>
    <tr><td class="paramname">scaleY</td><td>The vertical scaling factor</td></tr>
  </table>
  </dd>
</dl>
<p>The drawing coordinates are scaled by the x/y scaling factors before they are used by the renderer. This allows resolution independent drawing with a single coordinate system.</p>
<dl class="section note"><dt>Note</dt><dd>If this results in scaling or subpixel drawing by the rendering backend, it will be handled using the appropriate quality hints. For best results use integer scaling factors.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a0271c4a8d32cacaff54de9aa7b5a797d" title="Get the drawing scale for the current target.">SDL_RenderGetScale()</a> </dd>
<dd>
<a class="el" href="SDL__render_8h.html#ad0596fd507c9bf9f8f9594cd9064860c" title="Set device independent resolution for rendering.">SDL_RenderSetLogicalSize()</a> </dd></dl>

</div>
</div>
<a id="a27bad6dceb9d5e08d41506260dfc1c71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27bad6dceb9d5e08d41506260dfc1c71">&#9670;&nbsp;</a></span>SDL_RenderSetViewport()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_RenderSetViewport </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the drawing area for rendering on the current target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer for which the drawing area should be set. </td></tr>
    <tr><td class="paramname">rect</td><td>The rectangle representing the drawing area, or NULL to set the viewport to the entire target.</td></tr>
  </table>
  </dd>
</dl>
<p>The x,y of the viewport rect represents the origin for rendering.</p>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If the window associated with the renderer is resized, the viewport is automatically reset.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a60a7a6cb31b64f9f13c923fe44ba4d6f" title="Get the drawing area for the current target.">SDL_RenderGetViewport()</a> </dd>
<dd>
<a class="el" href="SDL__render_8h.html#ad0596fd507c9bf9f8f9594cd9064860c" title="Set device independent resolution for rendering.">SDL_RenderSetLogicalSize()</a> </dd></dl>

</div>
</div>
<a id="a126c5e0fb7abb3aa1bbfe60ac0102857"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a126c5e0fb7abb3aa1bbfe60ac0102857">&#9670;&nbsp;</a></span>SDL_RenderTargetSupported()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC SDL_bool SDLCALL SDL_RenderTargetSupported </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines whether a window supports the use of render targets. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer that will be checked</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>SDL_TRUE if supported, SDL_FALSE if not. </dd></dl>

</div>
</div>
<a id="a37e6e440b995756c9cc8a20fe3ca2385"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37e6e440b995756c9cc8a20fe3ca2385">&#9670;&nbsp;</a></span>SDL_SetRenderDrawBlendMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_SetRenderDrawBlendMode </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__blendmode_8h.html#a850d3c67a878fd6698a1c8dbb1eabf1e">SDL_BlendMode</a>&#160;</td>
          <td class="paramname"><em>blendMode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the blend mode used for drawing operations (Fill and Line). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer for which blend mode should be set. </td></tr>
    <tr><td class="paramname">blendMode</td><td><a class="el" href="SDL__blendmode_8h.html#a850d3c67a878fd6698a1c8dbb1eabf1e" title="The blend mode used in SDL_RenderCopy() and drawing operations.">SDL_BlendMode</a> to use for blending.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If the blend mode is not supported, the closest supported mode is chosen.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a384109767532e9703652233571a0d3cf" title="Get the blend mode used for drawing operations.">SDL_GetRenderDrawBlendMode()</a> </dd></dl>

</div>
</div>
<a id="aa26234da40f87f4b16d715564242a341"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa26234da40f87f4b16d715564242a341">&#9670;&nbsp;</a></span>SDL_SetRenderDrawColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_SetRenderDrawColor </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the color used for drawing operations (Rect, Line and Clear). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer for which drawing color should be set. </td></tr>
    <tr><td class="paramname">r</td><td>The red value used to draw on the rendering target. </td></tr>
    <tr><td class="paramname">g</td><td>The green value used to draw on the rendering target. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value used to draw on the rendering target. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value used to draw on the rendering target, usually ::SDL_ALPHA_OPAQUE (255).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error </dd></dl>

</div>
</div>
<a id="a2479163b0f2909cc50cef7af3c279000"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2479163b0f2909cc50cef7af3c279000">&#9670;&nbsp;</a></span>SDL_SetRenderTarget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_SetRenderTarget </td>
          <td>(</td>
          <td class="paramtype">SDL_Renderer *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set a texture as the current rendering target. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The renderer. </td></tr>
    <tr><td class="paramname">texture</td><td>The targeted texture, which must be created with the SDL_TEXTUREACCESS_TARGET flag, or NULL for the default render target</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a042f1c998d4a29ea236fffcaa0782bf1" title="Get the current render target or NULL for the default render target.">SDL_GetRenderTarget()</a> </dd></dl>

</div>
</div>
<a id="a1cc3302a4c7fb3b37e8fd5263a80758b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cc3302a4c7fb3b37e8fd5263a80758b">&#9670;&nbsp;</a></span>SDL_SetTextureAlphaMod()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_SetTextureAlphaMod </td>
          <td>(</td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>alpha</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set an additional alpha value used in render copy operations. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>The texture to update. </td></tr>
    <tr><td class="paramname">alpha</td><td>The alpha value multiplied into copy operations.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if the texture is not valid or alpha modulation is not supported.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a4d9a9e945ec95f30e5c48ce305de33ad" title="Get the additional alpha value used in render copy operations.">SDL_GetTextureAlphaMod()</a> </dd></dl>

</div>
</div>
<a id="af8b9cb77ca18f76c18f39d29ed960de8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8b9cb77ca18f76c18f39d29ed960de8">&#9670;&nbsp;</a></span>SDL_SetTextureBlendMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_SetTextureBlendMode </td>
          <td>(</td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__blendmode_8h.html#a850d3c67a878fd6698a1c8dbb1eabf1e">SDL_BlendMode</a>&#160;</td>
          <td class="paramname"><em>blendMode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the blend mode used for texture copy operations. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>The texture to update. </td></tr>
    <tr><td class="paramname">blendMode</td><td><a class="el" href="SDL__blendmode_8h.html#a850d3c67a878fd6698a1c8dbb1eabf1e" title="The blend mode used in SDL_RenderCopy() and drawing operations.">SDL_BlendMode</a> to use for texture blending.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if the texture is not valid or the blend mode is not supported.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If the blend mode is not supported, the closest supported mode is chosen.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#a2595ee57e6f3a4882f3ae4062ca420c4" title="Get the blend mode used for texture copy operations.">SDL_GetTextureBlendMode()</a> </dd></dl>

</div>
</div>
<a id="a348399db33c03a7882cef0c6e6c1756f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a348399db33c03a7882cef0c6e6c1756f">&#9670;&nbsp;</a></span>SDL_SetTextureColorMod()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_SetTextureColorMod </td>
          <td>(</td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set an additional color value used in render copy operations. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>The texture to update. </td></tr>
    <tr><td class="paramname">r</td><td>The red color value multiplied into copy operations. </td></tr>
    <tr><td class="paramname">g</td><td>The green color value multiplied into copy operations. </td></tr>
    <tr><td class="paramname">b</td><td>The blue color value multiplied into copy operations.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if the texture is not valid or color modulation is not supported.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#aa70e4ce3a875399d4291dca23e687b11" title="Get the additional color value used in render copy operations.">SDL_GetTextureColorMod()</a> </dd></dl>

</div>
</div>
<a id="a7fc9db6cde77fc9c95a4f65bc7d30073"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fc9db6cde77fc9c95a4f65bc7d30073">&#9670;&nbsp;</a></span>SDL_UnlockTexture()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC void SDLCALL SDL_UnlockTexture </td>
          <td>(</td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unlock a texture, uploading the changes to video memory, if needed. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__render_8h.html#af64adcd12e4e9d41d48031fd3da7b913" title="Lock a portion of the texture for write-only pixel access.">SDL_LockTexture()</a> </dd></dl>

</div>
</div>
<a id="a7aab41a7058997590095e5568d065c11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7aab41a7058997590095e5568d065c11">&#9670;&nbsp;</a></span>SDL_UpdateTexture()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_UpdateTexture </td>
          <td>(</td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>pixels</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pitch</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Update the given texture rectangle with new pixel data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>The texture to update </td></tr>
    <tr><td class="paramname">rect</td><td>A pointer to the rectangle of pixels to update, or NULL to update the entire texture. </td></tr>
    <tr><td class="paramname">pixels</td><td>The raw pixel data in the format of the texture. </td></tr>
    <tr><td class="paramname">pitch</td><td>The number of bytes in a row of pixel data, including padding between lines.</td></tr>
  </table>
  </dd>
</dl>
<p>The pixel data must be in the format of the texture. The pixel format can be queried with SDL_QueryTexture.</p>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if the texture is not valid.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This is a fairly slow function. </dd></dl>

</div>
</div>
<a id="aad2bf04e82a6fb8df44c0b6791321cb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad2bf04e82a6fb8df44c0b6791321cb5">&#9670;&nbsp;</a></span>SDL_UpdateYUVTexture()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC int SDLCALL SDL_UpdateYUVTexture </td>
          <td>(</td>
          <td class="paramtype">SDL_Texture *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Uint8 *&#160;</td>
          <td class="paramname"><em>Yplane</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Ypitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Uint8 *&#160;</td>
          <td class="paramname"><em>Uplane</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Upitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Uint8 *&#160;</td>
          <td class="paramname"><em>Vplane</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Vpitch</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Update a rectangle within a planar YV12 or IYUV texture with new pixel data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>The texture to update </td></tr>
    <tr><td class="paramname">rect</td><td>A pointer to the rectangle of pixels to update, or NULL to update the entire texture. </td></tr>
    <tr><td class="paramname">Yplane</td><td>The raw pixel data for the Y plane. </td></tr>
    <tr><td class="paramname">Ypitch</td><td>The number of bytes between rows of pixel data for the Y plane. </td></tr>
    <tr><td class="paramname">Uplane</td><td>The raw pixel data for the U plane. </td></tr>
    <tr><td class="paramname">Upitch</td><td>The number of bytes between rows of pixel data for the U plane. </td></tr>
    <tr><td class="paramname">Vplane</td><td>The raw pixel data for the V plane. </td></tr>
    <tr><td class="paramname">Vpitch</td><td>The number of bytes between rows of pixel data for the V plane.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if the texture is not valid.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>You can use <a class="el" href="SDL__render_8h.html#a7aab41a7058997590095e5568d065c11" title="Update the given texture rectangle with new pixel data.">SDL_UpdateTexture()</a> as long as your pixel data is a contiguous block of Y and U/V planes in the proper order, but this function is available if your pixel data is not contiguous. </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>