wut/group__gx2__draw.html
2016-01-11 01:17:32 +00:00

341 lines
16 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: Draw</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
&#160;<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&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;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> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Draw<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="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga9d492260f62ff48e346d2aa347df324c"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__gx2__draw.html#ga759347839142a01bbb4c01112b437f7a">GX2PrimitiveMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__draw.html#ga9d492260f62ff48e346d2aa347df324c">GX2PrimitiveMode</a></td></tr>
<tr class="separator:ga9d492260f62ff48e346d2aa347df324c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga31633e9891bbbe7e3ed30ec89fa15e4c"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__gx2__draw.html#ga05cdb8739488621652b08674ff9cd2e4">GX2IndexType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__draw.html#ga31633e9891bbbe7e3ed30ec89fa15e4c">GX2IndexType</a></td></tr>
<tr class="separator:ga31633e9891bbbe7e3ed30ec89fa15e4c"><td class="memSeparator" colspan="2">&#160;</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:ga759347839142a01bbb4c01112b437f7a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__draw.html#ga759347839142a01bbb4c01112b437f7a">GX2PrimitiveMode</a> <tr class="separator:ga759347839142a01bbb4c01112b437f7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</td></tr>
<tr class="memitem:ga05cdb8739488621652b08674ff9cd2e4"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__draw.html#ga05cdb8739488621652b08674ff9cd2e4">GX2IndexType</a> <tr class="separator:ga05cdb8739488621652b08674ff9cd2e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</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:ga0c09f787c7b765fdf4455771f20d60f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__draw.html#ga0c09f787c7b765fdf4455771f20d60f3">GX2SetAttribBuffer</a> (uint32_t index, uint32_t size, uint32_t stride, void *buffer)</td></tr>
<tr class="separator:ga0c09f787c7b765fdf4455771f20d60f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac8eb066ce57bfeb74da1f80bb985c03a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__draw.html#gac8eb066ce57bfeb74da1f80bb985c03a">GX2DrawEx</a> (<a class="el" href="group__gx2__draw.html#ga759347839142a01bbb4c01112b437f7a">GX2PrimitiveMode</a> mode, uint32_t numVertices, uint32_t offset, uint32_t numInstances)</td></tr>
<tr class="separator:gac8eb066ce57bfeb74da1f80bb985c03a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada448aa4bef5f864b4468a4cbf8f2688"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__draw.html#gada448aa4bef5f864b4468a4cbf8f2688">GX2DrawIndexedEx</a> (<a class="el" href="group__gx2__draw.html#ga759347839142a01bbb4c01112b437f7a">GX2PrimitiveMode</a> mode, uint32_t numVertices, <a class="el" href="group__gx2__draw.html#ga05cdb8739488621652b08674ff9cd2e4">GX2IndexType</a> indexType, void *indices, uint32_t offset, uint32_t numInstances)</td></tr>
<tr class="separator:gada448aa4bef5f864b4468a4cbf8f2688"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8eb94d40e9d568489a11e6656080f5b5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gx2__draw.html#ga8eb94d40e9d568489a11e6656080f5b5">GX2SetPrimitiveRestartIndex</a> (uint32_t index)</td></tr>
<tr class="separator:ga8eb94d40e9d568489a11e6656080f5b5"><td class="memSeparator" colspan="2">&#160;</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="ga9d492260f62ff48e346d2aa347df324c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="group__gx2__draw.html#ga759347839142a01bbb4c01112b437f7a">GX2PrimitiveMode</a> <a class="el" href="group__gx2__draw.html#ga759347839142a01bbb4c01112b437f7a">GX2PrimitiveMode</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga31633e9891bbbe7e3ed30ec89fa15e4c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="group__gx2__draw.html#ga05cdb8739488621652b08674ff9cd2e4">GX2IndexType</a> <a class="el" href="group__gx2__draw.html#ga05cdb8739488621652b08674ff9cd2e4">GX2IndexType</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ga759347839142a01bbb4c01112b437f7a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__gx2__draw.html#ga759347839142a01bbb4c01112b437f7a">GX2PrimitiveMode</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="gga759347839142a01bbb4c01112b437f7aa8bbbd9cfc4cd6485ca5e6ae5eed99719"></a>GX2_PRIMITIVE_MODE_TRIANGLES&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga759347839142a01bbb4c01112b437f7aa180108b77727e46d694d1325bbc8d56a"></a>GX2_PRIMITIVE_MODE_TRIANGLE_STRIP&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga759347839142a01bbb4c01112b437f7aa856c4751543c93cb1da797152123a7e7"></a>GX2_PRIMITIVE_MODE_QUADS&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga759347839142a01bbb4c01112b437f7aa9dbeef8ec5d13e36051cb89bb05cc6ce"></a>GX2_PRIMITIVE_MODE_QUAD_STRIP&#160;</td><td class="fielddoc">
</td></tr>
</table>
<p>Definition at line <a class="el" href="draw_8h_source.html#l00014">14</a> of file <a class="el" href="draw_8h_source.html">draw.h</a>.</p>
</div>
</div>
<a class="anchor" id="ga05cdb8739488621652b08674ff9cd2e4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__gx2__draw.html#ga05cdb8739488621652b08674ff9cd2e4">GX2IndexType</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="gga05cdb8739488621652b08674ff9cd2e4a0e27e2d53ecf375977d20064313fd93b"></a>GX2_INDEX_TYPE_U16_LE&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga05cdb8739488621652b08674ff9cd2e4abfd22dbfd5c99d680785cb6ca82b4990"></a>GX2_INDEX_TYPE_U32_LE&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga05cdb8739488621652b08674ff9cd2e4af5e4728f4cfd27ef61af39d372e62ce4"></a>GX2_INDEX_TYPE_U16&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga05cdb8739488621652b08674ff9cd2e4a7ebd4e4ae358281c02f4a461781c0192"></a>GX2_INDEX_TYPE_U32&#160;</td><td class="fielddoc">
</td></tr>
</table>
<p>Definition at line <a class="el" href="draw_8h_source.html#l00022">22</a> of file <a class="el" href="draw_8h_source.html">draw.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga0c09f787c7b765fdf4455771f20d60f3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2SetAttribBuffer </td>
<td>(</td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>stride</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>buffer</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gac8eb066ce57bfeb74da1f80bb985c03a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2DrawEx </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gx2__draw.html#ga759347839142a01bbb4c01112b437f7a">GX2PrimitiveMode</a>&#160;</td>
<td class="paramname"><em>mode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>numVertices</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>numInstances</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gada448aa4bef5f864b4468a4cbf8f2688"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2DrawIndexedEx </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__gx2__draw.html#ga759347839142a01bbb4c01112b437f7a">GX2PrimitiveMode</a>&#160;</td>
<td class="paramname"><em>mode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>numVertices</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gx2__draw.html#ga05cdb8739488621652b08674ff9cd2e4">GX2IndexType</a>&#160;</td>
<td class="paramname"><em>indexType</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>indices</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>numInstances</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga8eb94d40e9d568489a11e6656080f5b5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GX2SetPrimitiveRestartIndex </td>
<td>(</td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>index</em></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.10
</small></address>
</body>
</html>