mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
147 lines
16 KiB
HTML
147 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: /home/ash/Code/wut2/include/gx2/texture.h Source File</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>
|
|
<!-- 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="headertitle">
|
|
<div class="title">texture.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="texture_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include <<a class="code" href="wut_8h.html">wut.h</a>></span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include "<a class="code" href="surface_8h.html">surface.h</a>"</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="group__gx2__texture.html#ga22759f2ea4e4ba71b3746e08a2aca280"> 15</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a> <a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a>;</div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="group__gx2__texture.html"> 17</a></span> <span class="keyword">struct </span><a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> {</div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="group__gx2__texture.html#a53c1a2d49171d5425a3f0016bc9d7937"> 19</a></span>  <a class="code" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> <a class="code" href="group__gx2__texture.html#a53c1a2d49171d5425a3f0016bc9d7937">surface</a>;</div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="group__gx2__texture.html#afa01f2830fca18d3b86bcc79e3e5de7a"> 20</a></span>  uint32_t <a class="code" href="group__gx2__texture.html#afa01f2830fca18d3b86bcc79e3e5de7a">viewFirstMip</a>;</div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="group__gx2__texture.html#aaa5544b267f4dab754cd1276838ef695"> 21</a></span>  uint32_t <a class="code" href="group__gx2__texture.html#aaa5544b267f4dab754cd1276838ef695">viewNumMips</a>;</div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="group__gx2__texture.html#a27bbcd4e5a476365639f19fc0430157a"> 22</a></span>  uint32_t <a class="code" href="group__gx2__texture.html#a27bbcd4e5a476365639f19fc0430157a">viewFirstSlice</a>;</div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="group__gx2__texture.html#a36c3521cb447a12ea0ca556ac351017a"> 23</a></span>  uint32_t <a class="code" href="group__gx2__texture.html#a36c3521cb447a12ea0ca556ac351017a">viewNumSlices</a>;</div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="group__gx2__texture.html#acdfc90c16d5829280f05f9f7a318dcb7"> 24</a></span>  uint32_t <a class="code" href="group__gx2__texture.html#acdfc90c16d5829280f05f9f7a318dcb7">compMap</a>;</div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="group__gx2__texture.html#acaf44c85a88d565b8d775653e0602223"> 26</a></span>  uint32_t <a class="code" href="group__gx2__texture.html#acaf44c85a88d565b8d775653e0602223">regs</a>[5];</div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> };</div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> WUT_CHECK_OFFSET(<a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a>, 0x0, surface);</div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> WUT_CHECK_OFFSET(<a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a>, 0x74, viewFirstMip);</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> WUT_CHECK_OFFSET(<a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a>, 0x78, viewNumMips);</div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> WUT_CHECK_OFFSET(<a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a>, 0x7c, viewFirstSlice);</div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> WUT_CHECK_OFFSET(<a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a>, 0x80, viewNumSlices);</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> WUT_CHECK_OFFSET(<a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a>, 0x84, compMap);</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> WUT_CHECK_OFFSET(<a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a>, 0x88, regs);</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> WUT_CHECK_SIZE(<a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a>, 0x9c);</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <a class="code" href="group__gx2__texture.html#ga0379c393c7294d313c6914b28ddaa969">GX2InitTextureRegs</a>(<a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a> *texture);</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <a class="code" href="group__gx2__texture.html#gacfb09c39bae2ca6a4aedc57bbf46fd98">GX2SetPixelTexture</a>(<a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a> *texture,</div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  uint32_t unit);</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <a class="code" href="group__gx2__texture.html#ga2cfac6b85137d3a4ea3b4a1974951085">GX2SetVertexTexture</a>(<a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a> *texture,</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  uint32_t unit);</div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <a class="code" href="group__gx2__texture.html#ga250009bee38f3349d41b0e242100827f">GX2SetGeometryTexture</a>(<a class="code" href="group__gx2__texture.html#structGX2Texture">GX2Texture</a> *texture,</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  uint32_t unit);</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> }</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="agroup__gx2__texture_html_gacfb09c39bae2ca6a4aedc57bbf46fd98"><div class="ttname"><a href="group__gx2__texture.html#gacfb09c39bae2ca6a4aedc57bbf46fd98">GX2SetPixelTexture</a></div><div class="ttdeci">void GX2SetPixelTexture(GX2Texture *texture, uint32_t unit)</div></div>
|
|
<div class="ttc" id="agroup__gx2__texture_html_ga2cfac6b85137d3a4ea3b4a1974951085"><div class="ttname"><a href="group__gx2__texture.html#ga2cfac6b85137d3a4ea3b4a1974951085">GX2SetVertexTexture</a></div><div class="ttdeci">void GX2SetVertexTexture(GX2Texture *texture, uint32_t unit)</div></div>
|
|
<div class="ttc" id="asurface_8h_html"><div class="ttname"><a href="surface_8h.html">surface.h</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__texture_html_ga0379c393c7294d313c6914b28ddaa969"><div class="ttname"><a href="group__gx2__texture.html#ga0379c393c7294d313c6914b28ddaa969">GX2InitTextureRegs</a></div><div class="ttdeci">void GX2InitTextureRegs(GX2Texture *texture)</div></div>
|
|
<div class="ttc" id="agroup__gx2__texture_html_a27bbcd4e5a476365639f19fc0430157a"><div class="ttname"><a href="group__gx2__texture.html#a27bbcd4e5a476365639f19fc0430157a">GX2Texture::viewFirstSlice</a></div><div class="ttdeci">uint32_t viewFirstSlice</div><div class="ttdef"><b>Definition:</b> <a href="texture_8h_source.html#l00022">texture.h:22</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__texture_html_a36c3521cb447a12ea0ca556ac351017a"><div class="ttname"><a href="group__gx2__texture.html#a36c3521cb447a12ea0ca556ac351017a">GX2Texture::viewNumSlices</a></div><div class="ttdeci">uint32_t viewNumSlices</div><div class="ttdef"><b>Definition:</b> <a href="texture_8h_source.html#l00023">texture.h:23</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__texture_html_a53c1a2d49171d5425a3f0016bc9d7937"><div class="ttname"><a href="group__gx2__texture.html#a53c1a2d49171d5425a3f0016bc9d7937">GX2Texture::surface</a></div><div class="ttdeci">GX2Surface surface</div><div class="ttdef"><b>Definition:</b> <a href="texture_8h_source.html#l00019">texture.h:19</a></div></div>
|
|
<div class="ttc" id="awut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__texture_html_acdfc90c16d5829280f05f9f7a318dcb7"><div class="ttname"><a href="group__gx2__texture.html#acdfc90c16d5829280f05f9f7a318dcb7">GX2Texture::compMap</a></div><div class="ttdeci">uint32_t compMap</div><div class="ttdef"><b>Definition:</b> <a href="texture_8h_source.html#l00024">texture.h:24</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__texture_html_acaf44c85a88d565b8d775653e0602223"><div class="ttname"><a href="group__gx2__texture.html#acaf44c85a88d565b8d775653e0602223">GX2Texture::regs</a></div><div class="ttdeci">uint32_t regs[5]</div><div class="ttdef"><b>Definition:</b> <a href="texture_8h_source.html#l00026">texture.h:26</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__texture_html_ga250009bee38f3349d41b0e242100827f"><div class="ttname"><a href="group__gx2__texture.html#ga250009bee38f3349d41b0e242100827f">GX2SetGeometryTexture</a></div><div class="ttdeci">void GX2SetGeometryTexture(GX2Texture *texture, uint32_t unit)</div></div>
|
|
<div class="ttc" id="agroup__gx2__surface_html_structGX2Surface"><div class="ttname"><a href="group__gx2__surface.html#structGX2Surface">GX2Surface</a></div><div class="ttdef"><b>Definition:</b> <a href="surface_8h_source.html#l00020">surface.h:20</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__texture_html_afa01f2830fca18d3b86bcc79e3e5de7a"><div class="ttname"><a href="group__gx2__texture.html#afa01f2830fca18d3b86bcc79e3e5de7a">GX2Texture::viewFirstMip</a></div><div class="ttdeci">uint32_t viewFirstMip</div><div class="ttdef"><b>Definition:</b> <a href="texture_8h_source.html#l00020">texture.h:20</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__texture_html_aaa5544b267f4dab754cd1276838ef695"><div class="ttname"><a href="group__gx2__texture.html#aaa5544b267f4dab754cd1276838ef695">GX2Texture::viewNumMips</a></div><div class="ttdeci">uint32_t viewNumMips</div><div class="ttdef"><b>Definition:</b> <a href="texture_8h_source.html#l00021">texture.h:21</a></div></div>
|
|
<div class="ttc" id="agroup__gx2__texture_html_structGX2Texture"><div class="ttname"><a href="group__gx2__texture.html#structGX2Texture">GX2Texture</a></div><div class="ttdef"><b>Definition:</b> <a href="texture_8h_source.html#l00017">texture.h:17</a></div></div>
|
|
<!-- 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>
|