wut/resource_8h_source.html
2020-03-26 16:49:18 +11:00

172 lines
29 KiB
HTML

<!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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: /home/ash/Code/wut2/include/gx2r/resource.h Source File</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">wut
&#160;<span id="projectnumber">1.0.0-beta9</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_180556ce16fd30ccd63ce234392549b5.html">gx2r</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">resource.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="resource_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="wut_8h.html">wut.h</a>&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985"> 14</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;{</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ab1c4d39d3554314a28c9fec867f104d9"> 17</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ab1c4d39d3554314a28c9fec867f104d9">GX2R_RESOURCE_BIND_TEXTURE</a> = 1 &lt;&lt; 0,</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985aaa855e9318ee54787401f8f8438e542c"> 20</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985aaa855e9318ee54787401f8f8438e542c">GX2R_RESOURCE_BIND_COLOR_BUFFER</a> = 1 &lt;&lt; 1,</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a944fd4e1f045eafb22835b4800cb5731"> 23</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a944fd4e1f045eafb22835b4800cb5731">GX2R_RESOURCE_BIND_DEPTH_BUFFER</a> = 1 &lt;&lt; 2,</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985abfa0b10bbcf11af39dd2e761883969be"> 26</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985abfa0b10bbcf11af39dd2e761883969be">GX2R_RESOURCE_BIND_SCAN_BUFFER</a> = 1 &lt;&lt; 3,</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a3b5fb410e9dd9ddfc866766234b8da27"> 29</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a3b5fb410e9dd9ddfc866766234b8da27">GX2R_RESOURCE_BIND_VERTEX_BUFFER</a> = 1 &lt;&lt; 4,</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a5c525ba66b4edcc9ef3a583ed071fbd9"> 32</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a5c525ba66b4edcc9ef3a583ed071fbd9">GX2R_RESOURCE_BIND_INDEX_BUFFER</a> = 1 &lt;&lt; 5,</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985af2e8feddd1e7a5c8d109c5d1f2b5e91e"> 35</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985af2e8feddd1e7a5c8d109c5d1f2b5e91e">GX2R_RESOURCE_BIND_UNIFORM_BLOCK</a> = 1 &lt;&lt; 6,</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a6cab3a15c09fb2f54b53f5eb9686b385"> 38</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a6cab3a15c09fb2f54b53f5eb9686b385">GX2R_RESOURCE_BIND_SHADER_PROGRAM</a> = 1 &lt;&lt; 7,</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a3c470f710a3f43c51c3e9f27d2c0e1fe"> 41</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a3c470f710a3f43c51c3e9f27d2c0e1fe">GX2R_RESOURCE_BIND_STREAM_OUTPUT</a> = 1 &lt;&lt; 8,</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ac411e8f8c26fee1cdaca543af7bc43ac"> 44</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ac411e8f8c26fee1cdaca543af7bc43ac">GX2R_RESOURCE_BIND_DISPLAY_LIST</a> = 1 &lt;&lt; 9,</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a957bccdd1d993b7594775bbeef2c5eab"> 47</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a957bccdd1d993b7594775bbeef2c5eab">GX2R_RESOURCE_BIND_GS_RING_BUFFER</a> = 1 &lt;&lt; 10,</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ab321f3b76018d6bdd5cacd491303b9f1"> 50</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ab321f3b76018d6bdd5cacd491303b9f1">GX2R_RESOURCE_USAGE_CPU_READ</a> = 1 &lt;&lt; 11,</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985acbcfb2994771c0e39ff67a5d93b4a087"> 53</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985acbcfb2994771c0e39ff67a5d93b4a087">GX2R_RESOURCE_USAGE_CPU_WRITE</a> = 1 &lt;&lt; 12,</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ac6817ead455f72a73fa265f1973cbdb9"> 56</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ac6817ead455f72a73fa265f1973cbdb9">GX2R_RESOURCE_USAGE_GPU_READ</a> = 1 &lt;&lt; 13,</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a56797a44601898ebec8ac0b768f9fe5e"> 59</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a56797a44601898ebec8ac0b768f9fe5e">GX2R_RESOURCE_USAGE_GPU_WRITE</a> = 1 &lt;&lt; 14,</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ace76be4eed21ade1e8a75586658b3220"> 62</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ace76be4eed21ade1e8a75586658b3220">GX2R_RESOURCE_USAGE_DMA_READ</a> = 1 &lt;&lt; 15,</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985aa0e12d4112e4d1c835e1612242705c77"> 65</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985aa0e12d4112e4d1c835e1612242705c77">GX2R_RESOURCE_USAGE_DMA_WRITE</a> = 1 &lt;&lt; 16,</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a6d8e4c3f8f6ea799bdecd2f21fbd453c"> 68</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a6d8e4c3f8f6ea799bdecd2f21fbd453c">GX2R_RESOURCE_USAGE_FORCE_MEM1</a> = 1 &lt;&lt; 17,</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ac8729cf9a29281dc2e3011f88e8aa3d3"> 71</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ac8729cf9a29281dc2e3011f88e8aa3d3">GX2R_RESOURCE_USAGE_FORCE_MEM2</a> = 1 &lt;&lt; 18,</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a1ed473d85d90d923b468dcddd068c5f7"> 74</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a1ed473d85d90d923b468dcddd068c5f7">GX2R_RESOURCE_DISABLE_CPU_INVALIDATE</a> = 1 &lt;&lt; 20,</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a9e1dcc07290acf69676fef015cbe3318"> 77</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a9e1dcc07290acf69676fef015cbe3318">GX2R_RESOURCE_DISABLE_GPU_INVALIDATE</a> = 1 &lt;&lt; 21,</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a619897f1f4fc62b5d9d949adf7f227f1"> 80</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a619897f1f4fc62b5d9d949adf7f227f1">GX2R_RESOURCE_LOCKED_READ_ONLY</a> = 1 &lt;&lt; 22,</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a65f2cc32f96c14a98c3e90203b672560"> 83</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a65f2cc32f96c14a98c3e90203b672560">GX2R_RESOURCE_GX2R_ALLOCATED</a> = 1 &lt;&lt; 29,</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ae8602a68b2031d79d89db924272c4779"> 86</a></span>&#160; <a class="code" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ae8602a68b2031d79d89db924272c4779">GX2R_RESOURCE_LOCKED</a> = 1 &lt;&lt; 30,</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;} <a class="code" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; </div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;}</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985ac6817ead455f72a73fa265f1973cbdb9"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ac6817ead455f72a73fa265f1973cbdb9">GX2R_RESOURCE_USAGE_GPU_READ</a></div><div class="ttdeci">@ GX2R_RESOURCE_USAGE_GPU_READ</div><div class="ttdoc">Invalidate resource for a GPU read.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00056">resource.h:56</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_ga5038cc0d0ddfb9c5997bc24c25374985"><div class="ttname"><a href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a></div><div class="ttdeci">GX2RResourceFlags</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00014">resource.h:14</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985ab321f3b76018d6bdd5cacd491303b9f1"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ab321f3b76018d6bdd5cacd491303b9f1">GX2R_RESOURCE_USAGE_CPU_READ</a></div><div class="ttdeci">@ GX2R_RESOURCE_USAGE_CPU_READ</div><div class="ttdoc">Invalidate resource for a CPU read.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00050">resource.h:50</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985a619897f1f4fc62b5d9d949adf7f227f1"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a619897f1f4fc62b5d9d949adf7f227f1">GX2R_RESOURCE_LOCKED_READ_ONLY</a></div><div class="ttdeci">@ GX2R_RESOURCE_LOCKED_READ_ONLY</div><div class="ttdoc">Resource is locked for read-only access.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00080">resource.h:80</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985a65f2cc32f96c14a98c3e90203b672560"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a65f2cc32f96c14a98c3e90203b672560">GX2R_RESOURCE_GX2R_ALLOCATED</a></div><div class="ttdeci">@ GX2R_RESOURCE_GX2R_ALLOCATED</div><div class="ttdoc">Resource was allocated by GX2R.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00083">resource.h:83</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985a5c525ba66b4edcc9ef3a583ed071fbd9"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a5c525ba66b4edcc9ef3a583ed071fbd9">GX2R_RESOURCE_BIND_INDEX_BUFFER</a></div><div class="ttdeci">@ GX2R_RESOURCE_BIND_INDEX_BUFFER</div><div class="ttdoc">This resource is to be used as a index buffer.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00032">resource.h:32</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985ab1c4d39d3554314a28c9fec867f104d9"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ab1c4d39d3554314a28c9fec867f104d9">GX2R_RESOURCE_BIND_TEXTURE</a></div><div class="ttdeci">@ GX2R_RESOURCE_BIND_TEXTURE</div><div class="ttdoc">This resource is to be used as a texture.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00017">resource.h:17</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985a56797a44601898ebec8ac0b768f9fe5e"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a56797a44601898ebec8ac0b768f9fe5e">GX2R_RESOURCE_USAGE_GPU_WRITE</a></div><div class="ttdeci">@ GX2R_RESOURCE_USAGE_GPU_WRITE</div><div class="ttdoc">Invalidate resource for a GPU write.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00059">resource.h:59</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985aaa855e9318ee54787401f8f8438e542c"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985aaa855e9318ee54787401f8f8438e542c">GX2R_RESOURCE_BIND_COLOR_BUFFER</a></div><div class="ttdeci">@ GX2R_RESOURCE_BIND_COLOR_BUFFER</div><div class="ttdoc">This resource is to be used as a colour buffer.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00020">resource.h:20</a></div></div>
<div class="ttc" id="awut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985acbcfb2994771c0e39ff67a5d93b4a087"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985acbcfb2994771c0e39ff67a5d93b4a087">GX2R_RESOURCE_USAGE_CPU_WRITE</a></div><div class="ttdeci">@ GX2R_RESOURCE_USAGE_CPU_WRITE</div><div class="ttdoc">Invalidate resource for a CPU write.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00053">resource.h:53</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985abfa0b10bbcf11af39dd2e761883969be"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985abfa0b10bbcf11af39dd2e761883969be">GX2R_RESOURCE_BIND_SCAN_BUFFER</a></div><div class="ttdeci">@ GX2R_RESOURCE_BIND_SCAN_BUFFER</div><div class="ttdoc">This resource is to be used as a scan buffer.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00026">resource.h:26</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985af2e8feddd1e7a5c8d109c5d1f2b5e91e"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985af2e8feddd1e7a5c8d109c5d1f2b5e91e">GX2R_RESOURCE_BIND_UNIFORM_BLOCK</a></div><div class="ttdeci">@ GX2R_RESOURCE_BIND_UNIFORM_BLOCK</div><div class="ttdoc">This resource is to be used as a uniform block.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00035">resource.h:35</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985ac411e8f8c26fee1cdaca543af7bc43ac"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ac411e8f8c26fee1cdaca543af7bc43ac">GX2R_RESOURCE_BIND_DISPLAY_LIST</a></div><div class="ttdeci">@ GX2R_RESOURCE_BIND_DISPLAY_LIST</div><div class="ttdoc">This resource is to be used as a display list.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00044">resource.h:44</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985ac8729cf9a29281dc2e3011f88e8aa3d3"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ac8729cf9a29281dc2e3011f88e8aa3d3">GX2R_RESOURCE_USAGE_FORCE_MEM2</a></div><div class="ttdeci">@ GX2R_RESOURCE_USAGE_FORCE_MEM2</div><div class="ttdoc">Force resource allocation to be in MEM2.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00071">resource.h:71</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985ace76be4eed21ade1e8a75586658b3220"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ace76be4eed21ade1e8a75586658b3220">GX2R_RESOURCE_USAGE_DMA_READ</a></div><div class="ttdeci">@ GX2R_RESOURCE_USAGE_DMA_READ</div><div class="ttdoc">Invalidate resource for a DMA read.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00062">resource.h:62</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985a9e1dcc07290acf69676fef015cbe3318"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a9e1dcc07290acf69676fef015cbe3318">GX2R_RESOURCE_DISABLE_GPU_INVALIDATE</a></div><div class="ttdeci">@ GX2R_RESOURCE_DISABLE_GPU_INVALIDATE</div><div class="ttdoc">Disable GPU invalidation.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00077">resource.h:77</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985a3c470f710a3f43c51c3e9f27d2c0e1fe"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a3c470f710a3f43c51c3e9f27d2c0e1fe">GX2R_RESOURCE_BIND_STREAM_OUTPUT</a></div><div class="ttdeci">@ GX2R_RESOURCE_BIND_STREAM_OUTPUT</div><div class="ttdoc">This resource is to be used as a stream output.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00041">resource.h:41</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985a957bccdd1d993b7594775bbeef2c5eab"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a957bccdd1d993b7594775bbeef2c5eab">GX2R_RESOURCE_BIND_GS_RING_BUFFER</a></div><div class="ttdeci">@ GX2R_RESOURCE_BIND_GS_RING_BUFFER</div><div class="ttdoc">This resource is to be used as a geometry shader ring buffer.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00047">resource.h:47</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985a6cab3a15c09fb2f54b53f5eb9686b385"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a6cab3a15c09fb2f54b53f5eb9686b385">GX2R_RESOURCE_BIND_SHADER_PROGRAM</a></div><div class="ttdeci">@ GX2R_RESOURCE_BIND_SHADER_PROGRAM</div><div class="ttdoc">This resource is to be used as a shader program.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00038">resource.h:38</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985a3b5fb410e9dd9ddfc866766234b8da27"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a3b5fb410e9dd9ddfc866766234b8da27">GX2R_RESOURCE_BIND_VERTEX_BUFFER</a></div><div class="ttdeci">@ GX2R_RESOURCE_BIND_VERTEX_BUFFER</div><div class="ttdoc">This resource is to be used as a vertex buffer.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00029">resource.h:29</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985a944fd4e1f045eafb22835b4800cb5731"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a944fd4e1f045eafb22835b4800cb5731">GX2R_RESOURCE_BIND_DEPTH_BUFFER</a></div><div class="ttdeci">@ GX2R_RESOURCE_BIND_DEPTH_BUFFER</div><div class="ttdoc">This resource is to be used as a depth buffer.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00023">resource.h:23</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985aa0e12d4112e4d1c835e1612242705c77"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985aa0e12d4112e4d1c835e1612242705c77">GX2R_RESOURCE_USAGE_DMA_WRITE</a></div><div class="ttdeci">@ GX2R_RESOURCE_USAGE_DMA_WRITE</div><div class="ttdoc">Invalidate resource for a DMA write.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00065">resource.h:65</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985a1ed473d85d90d923b468dcddd068c5f7"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a1ed473d85d90d923b468dcddd068c5f7">GX2R_RESOURCE_DISABLE_CPU_INVALIDATE</a></div><div class="ttdeci">@ GX2R_RESOURCE_DISABLE_CPU_INVALIDATE</div><div class="ttdoc">Disable CPU invalidation.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00074">resource.h:74</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985ae8602a68b2031d79d89db924272c4779"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ae8602a68b2031d79d89db924272c4779">GX2R_RESOURCE_LOCKED</a></div><div class="ttdeci">@ GX2R_RESOURCE_LOCKED</div><div class="ttdoc">Resource is locked for all access.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00086">resource.h:86</a></div></div>
<div class="ttc" id="agroup__gx2r__resource_html_gga5038cc0d0ddfb9c5997bc24c25374985a6d8e4c3f8f6ea799bdecd2f21fbd453c"><div class="ttname"><a href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a6d8e4c3f8f6ea799bdecd2f21fbd453c">GX2R_RESOURCE_USAGE_FORCE_MEM1</a></div><div class="ttdeci">@ GX2R_RESOURCE_USAGE_FORCE_MEM1</div><div class="ttdoc">Force resource allocation to be in MEM1.</div><div class="ttdef"><b>Definition:</b> <a href="resource_8h_source.html#l00068">resource.h:68</a></div></div>
<!-- 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.17
</small></address>
</body>
</html>