wut/group__gx2__surface.html
2018-07-26 20:52:03 +10:00

803 lines
35 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.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: Surface</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-alpha</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<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>
</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="#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<div class="ingroups"><a class="el" href="group__gx2.html">gx2</a></div></div> </div>
</div><!--header-->
<div class="contents">
<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: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>
<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>
</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>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<hr/><h2 class="groupheader">Data Structure Documentation</h2>
<a name="structGX2Surface" id="structGX2Surface"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structGX2Surface">&#9670;&nbsp;</a></span>GX2Surface</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct GX2Surface</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="surface_8h_source.html#l00020">20</a> of file <a class="el" href="surface_8h_source.html">surface.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="aa10866f83d042583f32ee7212355a624"></a><a class="el" href="group__gx2__enum.html#gabedadb9f5051baad71365a011a02618e">GX2SurfaceDim</a></td>
<td class="fieldname">
dim</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a325272ddd9a962f05deb905101d25cbd"></a>uint32_t</td>
<td class="fieldname">
width</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a6ad4f820ce4e75cda0686fcaad5168be"></a>uint32_t</td>
<td class="fieldname">
height</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="af43b771026fceb9a0b28256afc08f69b"></a>uint32_t</td>
<td class="fieldname">
depth</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a4ec7bfbc7ae5f5c9a66ad9c7a742355c"></a>uint32_t</td>
<td class="fieldname">
mipLevels</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a89eb29b897d379cfed1e78754a078997"></a><a class="el" href="group__gx2__enum.html#ga4bdfe0b311093741c7cb8271cc5a67cb">GX2SurfaceFormat</a></td>
<td class="fieldname">
format</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a81931bcece5f4cdab4cb8c8261fa8aaa"></a><a class="el" href="group__gx2__enum.html#ga257ea04f4dd1b538f7a518af11f4897a">GX2AAMode</a></td>
<td class="fieldname">
aa</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a25a80c13eb90464dd302baea7b06fcc1"></a>union <a class="el" href="group__gx2__surface.html#unionGX2Surface_8____unnamed____">GX2Surface</a></td>
<td class="fieldname">
__unnamed__</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ab1ce8bb44bc98a61115233a58117c2ad"></a>uint32_t</td>
<td class="fieldname">
imageSize</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a43c67c13c1e3cb6d6ecc454d839fc075"></a>void *</td>
<td class="fieldname">
image</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a5fc8c49490fc5bd5142896438c917b81"></a>uint32_t</td>
<td class="fieldname">
mipmapSize</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a31b8308cdee23e164a3ed96c2ba9948c"></a>void *</td>
<td class="fieldname">
mipmaps</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a1d4c39509cdedc73203e5995bad9fdd5"></a><a class="el" href="group__gx2__enum.html#gaf27a80e22355f92a687c0452642fd4c1">GX2TileMode</a></td>
<td class="fieldname">
tileMode</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a4991dfd17cc16b965880c206f611dd2a"></a>uint32_t</td>
<td class="fieldname">
swizzle</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ae3f914e3c27b98dbfcfcf7f1a00c9bb0"></a>uint32_t</td>
<td class="fieldname">
alignment</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a169952c253c9909a5f727afaec738893"></a>uint32_t</td>
<td class="fieldname">
pitch</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a9c9a63cf1f94536c9c49d7cd1106f173"></a>uint32_t</td>
<td class="fieldname">
mipLevelOffset[13]</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<a name="unionGX2Surface_8____unnamed____" id="unionGX2Surface_8____unnamed____"></a>
<h2 class="memtitle"><span class="permalink"><a href="#unionGX2Surface_8____unnamed____">&#9670;&nbsp;</a></span>GX2Surface.__unnamed__</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">union GX2Surface.__unnamed__</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="surface_8h_source.html#l00029">29</a> of file <a class="el" href="surface_8h_source.html">surface.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a5ef76d30bf9232902687324b5bfa0bd2"></a><a class="el" href="group__gx2__enum.html#gafe1ebff6752df098313c3a3c587e3114">GX2SurfaceUse</a></td>
<td class="fieldname">
use</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a94f05258c536ecd139471f52bc440a00"></a><a class="el" href="group__gx2r__resource.html#ga5038cc0d0ddfb9c5997bc24c25374985">GX2RResourceFlags</a></td>
<td class="fieldname">
resourceFlags</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<a name="structGX2DepthBuffer" id="structGX2DepthBuffer"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structGX2DepthBuffer">&#9670;&nbsp;</a></span>GX2DepthBuffer</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct GX2DepthBuffer</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="surface_8h_source.html#l00063">63</a> of file <a class="el" href="surface_8h_source.html">surface.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a53c1a2d49171d5425a3f0016bc9d7937"></a><a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a></td>
<td class="fieldname">
surface</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ad7f3dfc61650faecae9e35effa802440"></a>uint32_t</td>
<td class="fieldname">
viewMip</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a27bbcd4e5a476365639f19fc0430157a"></a>uint32_t</td>
<td class="fieldname">
viewFirstSlice</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a36c3521cb447a12ea0ca556ac351017a"></a>uint32_t</td>
<td class="fieldname">
viewNumSlices</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a32bc72edcb4dd11c45545a6c2aaa5259"></a>void *</td>
<td class="fieldname">
hiZPtr</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a7e3ab1ffcb9f488a7d2bf3f2cb2aab95"></a>uint32_t</td>
<td class="fieldname">
hiZSize</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a35dde1ada59cd1f3f7c274f6d1b3567a"></a>float</td>
<td class="fieldname">
depthClear</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="abe1858fa228ee004bb4b37ae8b05ca22"></a>uint32_t</td>
<td class="fieldname">
stencilClear</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ae3060f6b13921cc22d978248b721aab9"></a>uint32_t</td>
<td class="fieldname">
regs[7]</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<a name="structGX2ColorBuffer" id="structGX2ColorBuffer"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structGX2ColorBuffer">&#9670;&nbsp;</a></span>GX2ColorBuffer</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct GX2ColorBuffer</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="surface_8h_source.html#l00087">87</a> of file <a class="el" href="surface_8h_source.html">surface.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a53c1a2d49171d5425a3f0016bc9d7937"></a><a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a></td>
<td class="fieldname">
surface</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ad7f3dfc61650faecae9e35effa802440"></a>uint32_t</td>
<td class="fieldname">
viewMip</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a27bbcd4e5a476365639f19fc0430157a"></a>uint32_t</td>
<td class="fieldname">
viewFirstSlice</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a36c3521cb447a12ea0ca556ac351017a"></a>uint32_t</td>
<td class="fieldname">
viewNumSlices</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="af2fabf9e4dbf2ea5ad37a7eefc1071d7"></a>void *</td>
<td class="fieldname">
aaBuffer</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="af969dd35389a1daf3204eb7e8a682a41"></a>uint32_t</td>
<td class="fieldname">
aaSize</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="acaf44c85a88d565b8d775653e0602223"></a>uint32_t</td>
<td class="fieldname">
regs[5]</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga0a525a812190463f25e00b9b860258cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0a525a812190463f25e00b9b860258cc">&#9670;&nbsp;</a></span>GX2Surface</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> <a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="surface_8h_source.html#l00016">16</a> of file <a class="el" href="surface_8h_source.html">surface.h</a>.</p>
</div>
</div>
<a id="gaa125c2ccb0d7127fb875eb5930f505f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa125c2ccb0d7127fb875eb5930f505f6">&#9670;&nbsp;</a></span>GX2DepthBuffer</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__gx2__surface.html#structGX2DepthBuffer">GX2DepthBuffer</a> <a class="el" href="group__gx2__surface.html#structGX2DepthBuffer">GX2DepthBuffer</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="surface_8h_source.html#l00017">17</a> of file <a class="el" href="surface_8h_source.html">surface.h</a>.</p>
</div>
</div>
<a id="ga92a99fded66d9af61379faa83de1ee94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga92a99fded66d9af61379faa83de1ee94">&#9670;&nbsp;</a></span>GX2ColorBuffer</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__gx2__surface.html#structGX2ColorBuffer">GX2ColorBuffer</a> <a class="el" href="group__gx2__surface.html#structGX2ColorBuffer">GX2ColorBuffer</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="surface_8h_source.html#l00018">18</a> of file <a class="el" href="surface_8h_source.html">surface.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="gabd4ef28e2cd937910bc5cf67f9dcb7e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabd4ef28e2cd937910bc5cf67f9dcb7e6">&#9670;&nbsp;</a></span>GX2CalcSurfaceSizeAndAlignment()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2CalcSurfaceSizeAndAlignment </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> *&#160;</td>
<td class="paramname"><em>surface</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga764ff52d79bf50c706789be04699ee25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga764ff52d79bf50c706789be04699ee25">&#9670;&nbsp;</a></span>GX2CalcDepthBufferHiZInfo()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2CalcDepthBufferHiZInfo </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gx2__surface.html#structGX2DepthBuffer">GX2DepthBuffer</a> *&#160;</td>
<td class="paramname"><em>depthBuffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t *&#160;</td>
<td class="paramname"><em>outSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t *&#160;</td>
<td class="paramname"><em>outAlignment</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga0bcf35191cbd0b87ec9829f22ae64ec9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0bcf35191cbd0b87ec9829f22ae64ec9">&#9670;&nbsp;</a></span>GX2CalcColorBufferAuxInfo()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2CalcColorBufferAuxInfo </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gx2__surface.html#structGX2ColorBuffer">GX2ColorBuffer</a> *&#160;</td>
<td class="paramname"><em>surface</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t *&#160;</td>
<td class="paramname"><em>outSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t *&#160;</td>
<td class="paramname"><em>outAlignment</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="gae86bf7fe897077914d7d23549c1883a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae86bf7fe897077914d7d23549c1883a3">&#9670;&nbsp;</a></span>GX2SetColorBuffer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2SetColorBuffer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gx2__surface.html#structGX2ColorBuffer">GX2ColorBuffer</a> *&#160;</td>
<td class="paramname"><em>colorBuffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gx2__enum.html#ga2ae8a9611caa8061334586d5c7f48c8a">GX2RenderTarget</a>&#160;</td>
<td class="paramname"><em>target</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga6e45381f4b4a7709bfaf9c50318be714"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6e45381f4b4a7709bfaf9c50318be714">&#9670;&nbsp;</a></span>GX2SetDepthBuffer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2SetDepthBuffer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gx2__surface.html#structGX2DepthBuffer">GX2DepthBuffer</a> *&#160;</td>
<td class="paramname"><em>depthBuffer</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga0898a1a6f4a1157927c6003fa0ddf8c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0898a1a6f4a1157927c6003fa0ddf8c8">&#9670;&nbsp;</a></span>GX2InitColorBufferRegs()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2InitColorBufferRegs </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gx2__surface.html#structGX2ColorBuffer">GX2ColorBuffer</a> *&#160;</td>
<td class="paramname"><em>colorBuffer</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga3534f51cf1caaa3309de03694b117708"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3534f51cf1caaa3309de03694b117708">&#9670;&nbsp;</a></span>GX2InitDepthBufferRegs()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2InitDepthBufferRegs </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gx2__surface.html#structGX2DepthBuffer">GX2DepthBuffer</a> *&#160;</td>
<td class="paramname"><em>depthBuffer</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="gaa563893bdbd9713c718b066327e3fbec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa563893bdbd9713c718b066327e3fbec">&#9670;&nbsp;</a></span>GX2InitDepthBufferHiZEnable()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2InitDepthBufferHiZEnable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gx2__surface.html#structGX2DepthBuffer">GX2DepthBuffer</a> *&#160;</td>
<td class="paramname"><em>depthBuffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#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">
</div>
</div>
<a id="gab8756112cf6426088bfa57a92ce7bc2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab8756112cf6426088bfa57a92ce7bc2a">&#9670;&nbsp;</a></span>GX2GetSurfaceSwizzle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t GX2GetSurfaceSwizzle </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> *&#160;</td>
<td class="paramname"><em>surface</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="gaa2a3dfd93a944086cfd2132de6f7f0a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa2a3dfd93a944086cfd2132de6f7f0a3">&#9670;&nbsp;</a></span>GX2SetSurfaceSwizzle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2SetSurfaceSwizzle </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> *&#160;</td>
<td class="paramname"><em>surface</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>swizzle</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga0ab61f987b771bd3302a8e68fddd0eee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0ab61f987b771bd3302a8e68fddd0eee">&#9670;&nbsp;</a></span>GX2CopySurface()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2CopySurface </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> *&#160;</td>
<td class="paramname"><em>src</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>srcLevel</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>srcDepth</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> *&#160;</td>
<td class="paramname"><em>dst</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>dstLevel</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>dstDepth</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga289884b8767b13cbcf3fac591cc0329a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga289884b8767b13cbcf3fac591cc0329a">&#9670;&nbsp;</a></span>GX2ResolveAAColorBuffer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2ResolveAAColorBuffer </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__gx2__surface.html#structGX2ColorBuffer">GX2ColorBuffer</a> *&#160;</td>
<td class="paramname"><em>srcColorBuffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> *&#160;</td>
<td class="paramname"><em>dstSurface</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>dstMip</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>dstSlice</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</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.14
</small></address>
</body>
</html>