mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-09 06:59:24 +01:00
210 lines
12 KiB
HTML
210 lines
12 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.10"/>
|
|
<title>WUT: Resource</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>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { init_search(); });
|
|
</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
|
|
 <span id="projectnumber">0.1</span>
|
|
</div>
|
|
<div id="projectbrief">Wii U Toolchain</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.10 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<!-- 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 class="header">
|
|
<div class="summary">
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#enum-members">Enumerations</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Resource<div class="ingroups"><a class="el" href="group__gx2r.html">gx2r</a></div></div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:ga07e765b17ebee95441466567a81df652"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__resource.html#ga07e765b17ebee95441466567a81df652">GX2RResourceFlags</a></td></tr>
|
|
<tr class="separator:ga07e765b17ebee95441466567a81df652"><td class="memSeparator" colspan="2"> </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:ga5038cc0d0ddfb9c5997bc24c25374985"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a> <tr class="separator:ga5038cc0d0ddfb9c5997bc24c25374985"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a class="anchor" id="ga07e765b17ebee95441466567a81df652"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef enum <a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a> <a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
|
<a class="anchor" id="ga5038cc0d0ddfb9c5997bc24c25374985"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985ab1c4d39d3554314a28c9fec867f104d9"></a>GX2R_RESOURCE_BIND_TEXTURE </td><td class="fielddoc">
|
|
<p>This resource is to be used as a texture. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985aaa855e9318ee54787401f8f8438e542c"></a>GX2R_RESOURCE_BIND_COLOR_BUFFER </td><td class="fielddoc">
|
|
<p>This resource is to be used as a colour buffer. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985a944fd4e1f045eafb22835b4800cb5731"></a>GX2R_RESOURCE_BIND_DEPTH_BUFFER </td><td class="fielddoc">
|
|
<p>This resource is to be used as a depth buffer. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985abfa0b10bbcf11af39dd2e761883969be"></a>GX2R_RESOURCE_BIND_SCAN_BUFFER </td><td class="fielddoc">
|
|
<p>This resource is to be used as a scan buffer. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985a3b5fb410e9dd9ddfc866766234b8da27"></a>GX2R_RESOURCE_BIND_VERTEX_BUFFER </td><td class="fielddoc">
|
|
<p>This resource is to be used as a vertex buffer. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985a5c525ba66b4edcc9ef3a583ed071fbd9"></a>GX2R_RESOURCE_BIND_INDEX_BUFFER </td><td class="fielddoc">
|
|
<p>This resource is to be used as a index buffer. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985af2e8feddd1e7a5c8d109c5d1f2b5e91e"></a>GX2R_RESOURCE_BIND_UNIFORM_BLOCK </td><td class="fielddoc">
|
|
<p>This resource is to be used as a uniform block. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985a6cab3a15c09fb2f54b53f5eb9686b385"></a>GX2R_RESOURCE_BIND_SHADER_PROGRAM </td><td class="fielddoc">
|
|
<p>This resource is to be used as a shader program. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985a3c470f710a3f43c51c3e9f27d2c0e1fe"></a>GX2R_RESOURCE_BIND_STREAM_OUTPUT </td><td class="fielddoc">
|
|
<p>This resource is to be used as a stream output. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985ac411e8f8c26fee1cdaca543af7bc43ac"></a>GX2R_RESOURCE_BIND_DISPLAY_LIST </td><td class="fielddoc">
|
|
<p>This resource is to be used as a display list. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985a957bccdd1d993b7594775bbeef2c5eab"></a>GX2R_RESOURCE_BIND_GS_RING_BUFFER </td><td class="fielddoc">
|
|
<p>This resource is to be used as a geometry shader ring buffer. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985ab321f3b76018d6bdd5cacd491303b9f1"></a>GX2R_RESOURCE_USAGE_CPU_READ </td><td class="fielddoc">
|
|
<p>Invalidate resource for a CPU read. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985acbcfb2994771c0e39ff67a5d93b4a087"></a>GX2R_RESOURCE_USAGE_CPU_WRITE </td><td class="fielddoc">
|
|
<p>Invalidate resource for a CPU write. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985ac6817ead455f72a73fa265f1973cbdb9"></a>GX2R_RESOURCE_USAGE_GPU_READ </td><td class="fielddoc">
|
|
<p>Invalidate resource for a GPU read. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985a56797a44601898ebec8ac0b768f9fe5e"></a>GX2R_RESOURCE_USAGE_GPU_WRITE </td><td class="fielddoc">
|
|
<p>Invalidate resource for a GPU write. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985ace76be4eed21ade1e8a75586658b3220"></a>GX2R_RESOURCE_USAGE_DMA_READ </td><td class="fielddoc">
|
|
<p>Invalidate resource for a DMA read. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985aa0e12d4112e4d1c835e1612242705c77"></a>GX2R_RESOURCE_USAGE_DMA_WRITE </td><td class="fielddoc">
|
|
<p>Invalidate resource for a DMA write. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985a6d8e4c3f8f6ea799bdecd2f21fbd453c"></a>GX2R_RESOURCE_USAGE_FORCE_MEM1 </td><td class="fielddoc">
|
|
<p>Force resource allocation to be in MEM1. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985ac8729cf9a29281dc2e3011f88e8aa3d3"></a>GX2R_RESOURCE_USAGE_FORCE_MEM2 </td><td class="fielddoc">
|
|
<p>Force resource allocation to be in MEM2. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985a1ed473d85d90d923b468dcddd068c5f7"></a>GX2R_RESOURCE_DISABLE_CPU_INVALIDATE </td><td class="fielddoc">
|
|
<p>Disable CPU invalidation. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985a9e1dcc07290acf69676fef015cbe3318"></a>GX2R_RESOURCE_DISABLE_GPU_INVALIDATE </td><td class="fielddoc">
|
|
<p>Disable GPU invalidation. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985a619897f1f4fc62b5d9d949adf7f227f1"></a>GX2R_RESOURCE_LOCKED_READ_ONLY </td><td class="fielddoc">
|
|
<p>Resource is locked for read-only access. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985a9cab54d67ea74753612474a20d2b9216"></a>GX2R_RESOURCE_USER_MEMORY </td><td class="fielddoc">
|
|
<p>Resource is to be allocated in user memory. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga5038cc0d0ddfb9c5997bc24c25374985ae8602a68b2031d79d89db924272c4779"></a>GX2R_RESOURCE_LOCKED </td><td class="fielddoc">
|
|
<p>Resource is locked for all access. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
<p>Definition at line <a class="el" href="resource_8h_source.html#l00014">14</a> of file <a class="el" href="resource_8h_source.html">resource.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.10
|
|
</small></address>
|
|
</body>
|
|
</html>
|