mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
225 lines
16 KiB
HTML
225 lines
16 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: 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>
|
|
<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">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&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&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>
|
|
</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:ga9b606d1d4ebe221019994b9e9d8e3bce"><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#ga9b606d1d4ebe221019994b9e9d8e3bce">GX2RResourceFlags</a></td></tr>
|
|
<tr class="separator:ga9b606d1d4ebe221019994b9e9d8e3bce"><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> { <br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ab1c4d39d3554314a28c9fec867f104d9">GX2R_RESOURCE_BIND_TEXTURE</a> = 1 << 0,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985aaa855e9318ee54787401f8f8438e542c">GX2R_RESOURCE_BIND_COLOR_BUFFER</a> = 1 << 1,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a944fd4e1f045eafb22835b4800cb5731">GX2R_RESOURCE_BIND_DEPTH_BUFFER</a> = 1 << 2,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985abfa0b10bbcf11af39dd2e761883969be">GX2R_RESOURCE_BIND_SCAN_BUFFER</a> = 1 << 3,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a3b5fb410e9dd9ddfc866766234b8da27">GX2R_RESOURCE_BIND_VERTEX_BUFFER</a> = 1 << 4,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a5c525ba66b4edcc9ef3a583ed071fbd9">GX2R_RESOURCE_BIND_INDEX_BUFFER</a> = 1 << 5,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985af2e8feddd1e7a5c8d109c5d1f2b5e91e">GX2R_RESOURCE_BIND_UNIFORM_BLOCK</a> = 1 << 6,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a6cab3a15c09fb2f54b53f5eb9686b385">GX2R_RESOURCE_BIND_SHADER_PROGRAM</a> = 1 << 7,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a3c470f710a3f43c51c3e9f27d2c0e1fe">GX2R_RESOURCE_BIND_STREAM_OUTPUT</a> = 1 << 8,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ac411e8f8c26fee1cdaca543af7bc43ac">GX2R_RESOURCE_BIND_DISPLAY_LIST</a> = 1 << 9,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a957bccdd1d993b7594775bbeef2c5eab">GX2R_RESOURCE_BIND_GS_RING_BUFFER</a> = 1 << 10,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ab321f3b76018d6bdd5cacd491303b9f1">GX2R_RESOURCE_USAGE_CPU_READ</a> = 1 << 11,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985acbcfb2994771c0e39ff67a5d93b4a087">GX2R_RESOURCE_USAGE_CPU_WRITE</a> = 1 << 12,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ac6817ead455f72a73fa265f1973cbdb9">GX2R_RESOURCE_USAGE_GPU_READ</a> = 1 << 13,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a56797a44601898ebec8ac0b768f9fe5e">GX2R_RESOURCE_USAGE_GPU_WRITE</a> = 1 << 14,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ace76be4eed21ade1e8a75586658b3220">GX2R_RESOURCE_USAGE_DMA_READ</a> = 1 << 15,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985aa0e12d4112e4d1c835e1612242705c77">GX2R_RESOURCE_USAGE_DMA_WRITE</a> = 1 << 16,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a6d8e4c3f8f6ea799bdecd2f21fbd453c">GX2R_RESOURCE_USAGE_FORCE_MEM1</a> = 1 << 17,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ac8729cf9a29281dc2e3011f88e8aa3d3">GX2R_RESOURCE_USAGE_FORCE_MEM2</a> = 1 << 18,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a1ed473d85d90d923b468dcddd068c5f7">GX2R_RESOURCE_DISABLE_CPU_INVALIDATE</a> = 1 << 20,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a9e1dcc07290acf69676fef015cbe3318">GX2R_RESOURCE_DISABLE_GPU_INVALIDATE</a> = 1 << 21,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a619897f1f4fc62b5d9d949adf7f227f1">GX2R_RESOURCE_LOCKED_READ_ONLY</a> = 1 << 22,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985a65f2cc32f96c14a98c3e90203b672560">GX2R_RESOURCE_GX2R_ALLOCATED</a> = 1 << 29,
|
|
<br />
|
|
  <a class="el" href="group__gx2r__resource.html#gga5038cc0d0ddfb9c5997bc24c25374985ae8602a68b2031d79d89db924272c4779">GX2R_RESOURCE_LOCKED</a> = 1 << 30
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="separator:ga5038cc0d0ddfb9c5997bc24c25374985"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a id="ga9b606d1d4ebe221019994b9e9d8e3bce"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga9b606d1d4ebe221019994b9e9d8e3bce">◆ </a></span>GX2RResourceFlags</h2>
|
|
|
|
<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 id="ga5038cc0d0ddfb9c5997bc24c25374985"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga5038cc0d0ddfb9c5997bc24c25374985">◆ </a></span>GX2RResourceFlags</h2>
|
|
|
|
<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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 id="gga5038cc0d0ddfb9c5997bc24c25374985a1ed473d85d90d923b468dcddd068c5f7"></a>GX2R_RESOURCE_DISABLE_CPU_INVALIDATE </td><td class="fielddoc"><p>Disable CPU invalidation. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="gga5038cc0d0ddfb9c5997bc24c25374985a9e1dcc07290acf69676fef015cbe3318"></a>GX2R_RESOURCE_DISABLE_GPU_INVALIDATE </td><td class="fielddoc"><p>Disable GPU invalidation. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a 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 id="gga5038cc0d0ddfb9c5997bc24c25374985a65f2cc32f96c14a98c3e90203b672560"></a>GX2R_RESOURCE_GX2R_ALLOCATED </td><td class="fielddoc"><p>Resource was allocated by GX2R. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="gga5038cc0d0ddfb9c5997bc24c25374985ae8602a68b2031d79d89db924272c4779"></a>GX2R_RESOURCE_LOCKED </td><td class="fielddoc"><p>Resource is locked for all access. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
<p class="definition">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.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|