wut/surface_8h.html
2019-04-22 10:21:17 +10:00

140 lines
13 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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: /home/ash/src/wut/include/gx2/surface.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">wut
&#160;<span id="projectnumber">1.0.0-beta8</span>
</div>
<div id="projectbrief">Wii U Toolchain</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 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_64fe89c4a61f5742775721f1d8222d0c.html">gx2</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">surface.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="resource_8h_source.html">gx2r/resource.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="wut_8h_source.html">wut.h</a>&gt;</code><br />
<code>#include &quot;<a class="el" href="enum_8h_source.html">enum.h</a>&quot;</code><br />
</div>
<p><a href="surface_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>
Data Structures</h2></td></tr>
<tr class="memitem:structGX2Surface"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a></td></tr>
<tr class="separator:structGX2Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structGX2DepthBuffer"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#structGX2DepthBuffer">GX2DepthBuffer</a></td></tr>
<tr class="separator:structGX2DepthBuffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structGX2ColorBuffer"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#structGX2ColorBuffer">GX2ColorBuffer</a></td></tr>
<tr class="separator:structGX2ColorBuffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:unionGX2Surface_8____unnamed____"><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#unionGX2Surface_8____unnamed____">GX2Surface.__unnamed__</a></td></tr>
<tr class="separator:unionGX2Surface_8____unnamed____"><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:ga0a525a812190463f25e00b9b860258cc"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#ga0a525a812190463f25e00b9b860258cc">GX2Surface</a></td></tr>
<tr class="separator:ga0a525a812190463f25e00b9b860258cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa125c2ccb0d7127fb875eb5930f505f6"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__gx2__surface.html#structGX2DepthBuffer">GX2DepthBuffer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#gaa125c2ccb0d7127fb875eb5930f505f6">GX2DepthBuffer</a></td></tr>
<tr class="separator:gaa125c2ccb0d7127fb875eb5930f505f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga92a99fded66d9af61379faa83de1ee94"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__gx2__surface.html#structGX2ColorBuffer">GX2ColorBuffer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#ga92a99fded66d9af61379faa83de1ee94">GX2ColorBuffer</a></td></tr>
<tr class="separator:ga92a99fded66d9af61379faa83de1ee94"><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:gabd4ef28e2cd937910bc5cf67f9dcb7e6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#gabd4ef28e2cd937910bc5cf67f9dcb7e6">GX2CalcSurfaceSizeAndAlignment</a> (<a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> *surface)</td></tr>
<tr class="separator:gabd4ef28e2cd937910bc5cf67f9dcb7e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga764ff52d79bf50c706789be04699ee25"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#ga764ff52d79bf50c706789be04699ee25">GX2CalcDepthBufferHiZInfo</a> (<a class="el" href="group__gx2__surface.html#structGX2DepthBuffer">GX2DepthBuffer</a> *depthBuffer, uint32_t *outSize, uint32_t *outAlignment)</td></tr>
<tr class="separator:ga764ff52d79bf50c706789be04699ee25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0bcf35191cbd0b87ec9829f22ae64ec9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#ga0bcf35191cbd0b87ec9829f22ae64ec9">GX2CalcColorBufferAuxInfo</a> (<a class="el" href="group__gx2__surface.html#structGX2ColorBuffer">GX2ColorBuffer</a> *surface, uint32_t *outSize, uint32_t *outAlignment)</td></tr>
<tr class="separator:ga0bcf35191cbd0b87ec9829f22ae64ec9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae86bf7fe897077914d7d23549c1883a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#gae86bf7fe897077914d7d23549c1883a3">GX2SetColorBuffer</a> (<a class="el" href="group__gx2__surface.html#structGX2ColorBuffer">GX2ColorBuffer</a> *colorBuffer, <a class="el" href="group__gx2__enum.html#ga2ae8a9611caa8061334586d5c7f48c8a">GX2RenderTarget</a> target)</td></tr>
<tr class="separator:gae86bf7fe897077914d7d23549c1883a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e45381f4b4a7709bfaf9c50318be714"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#ga6e45381f4b4a7709bfaf9c50318be714">GX2SetDepthBuffer</a> (<a class="el" href="group__gx2__surface.html#structGX2DepthBuffer">GX2DepthBuffer</a> *depthBuffer)</td></tr>
<tr class="separator:ga6e45381f4b4a7709bfaf9c50318be714"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0898a1a6f4a1157927c6003fa0ddf8c8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#ga0898a1a6f4a1157927c6003fa0ddf8c8">GX2InitColorBufferRegs</a> (<a class="el" href="group__gx2__surface.html#structGX2ColorBuffer">GX2ColorBuffer</a> *colorBuffer)</td></tr>
<tr class="separator:ga0898a1a6f4a1157927c6003fa0ddf8c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3534f51cf1caaa3309de03694b117708"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#ga3534f51cf1caaa3309de03694b117708">GX2InitDepthBufferRegs</a> (<a class="el" href="group__gx2__surface.html#structGX2DepthBuffer">GX2DepthBuffer</a> *depthBuffer)</td></tr>
<tr class="separator:ga3534f51cf1caaa3309de03694b117708"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa563893bdbd9713c718b066327e3fbec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#gaa563893bdbd9713c718b066327e3fbec">GX2InitDepthBufferHiZEnable</a> (<a class="el" href="group__gx2__surface.html#structGX2DepthBuffer">GX2DepthBuffer</a> *depthBuffer, <a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> enable)</td></tr>
<tr class="separator:gaa563893bdbd9713c718b066327e3fbec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab8756112cf6426088bfa57a92ce7bc2a"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#gab8756112cf6426088bfa57a92ce7bc2a">GX2GetSurfaceSwizzle</a> (<a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> *surface)</td></tr>
<tr class="separator:gab8756112cf6426088bfa57a92ce7bc2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2a3dfd93a944086cfd2132de6f7f0a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#gaa2a3dfd93a944086cfd2132de6f7f0a3">GX2SetSurfaceSwizzle</a> (<a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> *surface, uint32_t swizzle)</td></tr>
<tr class="separator:gaa2a3dfd93a944086cfd2132de6f7f0a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0ab61f987b771bd3302a8e68fddd0eee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#ga0ab61f987b771bd3302a8e68fddd0eee">GX2CopySurface</a> (<a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> *src, uint32_t srcLevel, uint32_t srcDepth, <a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> *dst, uint32_t dstLevel, uint32_t dstDepth)</td></tr>
<tr class="separator:ga0ab61f987b771bd3302a8e68fddd0eee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga289884b8767b13cbcf3fac591cc0329a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__surface.html#ga289884b8767b13cbcf3fac591cc0329a">GX2ResolveAAColorBuffer</a> (const <a class="el" href="group__gx2__surface.html#structGX2ColorBuffer">GX2ColorBuffer</a> *srcColorBuffer, <a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> *dstSurface, uint32_t dstMip, uint32_t dstSlice)</td></tr>
<tr class="separator:ga289884b8767b13cbcf3fac591cc0329a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</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>