GRRLIB/struct_g_r_r_l_i_b__tex_img.html

273 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>GRRLIB: GRRLIB_texImg Struct 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">GRRLIB
&#160;<span id="projectnumber">4.4.0</span>
</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&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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">GRRLIB_texImg Struct Reference<div class="ingroups"><a class="el" href="group___all_func.html">Everything in GRRLIB</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>Structure to hold the texture information.
<a href="struct_g_r_r_l_i_b__tex_img.html#details">More...</a></p>
<p><code>#include &lt;grrlib.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a40880d757ddcc5c7fc8f7a4f19e1b442"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#a40880d757ddcc5c7fc8f7a4f19e1b442">w</a></td></tr>
<tr class="memdesc:a40880d757ddcc5c7fc8f7a4f19e1b442"><td class="mdescLeft">&#160;</td><td class="mdescRight">The width of the texture in pixels. <a href="struct_g_r_r_l_i_b__tex_img.html#a40880d757ddcc5c7fc8f7a4f19e1b442">More...</a><br /></td></tr>
<tr class="separator:a40880d757ddcc5c7fc8f7a4f19e1b442"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b713de5e8af3c7ae800a2c9856780a2"><td class="memItemLeft" align="right" valign="top"><a id="a3b713de5e8af3c7ae800a2c9856780a2"></a>
u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#a3b713de5e8af3c7ae800a2c9856780a2">h</a></td></tr>
<tr class="memdesc:a3b713de5e8af3c7ae800a2c9856780a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">The height of the texture in pixels. <br /></td></tr>
<tr class="separator:a3b713de5e8af3c7ae800a2c9856780a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeabe01fe64ab978062a145d723201aaf"><td class="memItemLeft" align="right" valign="top"><a id="aeabe01fe64ab978062a145d723201aaf"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#aeabe01fe64ab978062a145d723201aaf">handlex</a></td></tr>
<tr class="memdesc:aeabe01fe64ab978062a145d723201aaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Texture handle x. <br /></td></tr>
<tr class="separator:aeabe01fe64ab978062a145d723201aaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac46115747734d99869a5ae8a6e26f590"><td class="memItemLeft" align="right" valign="top"><a id="ac46115747734d99869a5ae8a6e26f590"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#ac46115747734d99869a5ae8a6e26f590">handley</a></td></tr>
<tr class="memdesc:ac46115747734d99869a5ae8a6e26f590"><td class="mdescLeft">&#160;</td><td class="mdescRight">Texture handle y. <br /></td></tr>
<tr class="separator:ac46115747734d99869a5ae8a6e26f590"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f1b2cd64720fe490801ccf4c5af3318"><td class="memItemLeft" align="right" valign="top"><a id="a1f1b2cd64720fe490801ccf4c5af3318"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#a1f1b2cd64720fe490801ccf4c5af3318">offsetx</a></td></tr>
<tr class="memdesc:a1f1b2cd64720fe490801ccf4c5af3318"><td class="mdescLeft">&#160;</td><td class="mdescRight">Texture offset x. <br /></td></tr>
<tr class="separator:a1f1b2cd64720fe490801ccf4c5af3318"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e4f9e08319378a51518c10a7f9315c4"><td class="memItemLeft" align="right" valign="top"><a id="a1e4f9e08319378a51518c10a7f9315c4"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#a1e4f9e08319378a51518c10a7f9315c4">offsety</a></td></tr>
<tr class="memdesc:a1e4f9e08319378a51518c10a7f9315c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Texture offset y. <br /></td></tr>
<tr class="separator:a1e4f9e08319378a51518c10a7f9315c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc6d24924b4d32b4eea655863163f49a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#afc6d24924b4d32b4eea655863163f49a">tiledtex</a></td></tr>
<tr class="memdesc:afc6d24924b4d32b4eea655863163f49a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Texture is tiled if set to true. <a href="struct_g_r_r_l_i_b__tex_img.html#afc6d24924b4d32b4eea655863163f49a">More...</a><br /></td></tr>
<tr class="separator:afc6d24924b4d32b4eea655863163f49a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2701a0d10bf9cc67d3f9a5008602690"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#ac2701a0d10bf9cc67d3f9a5008602690">tilew</a></td></tr>
<tr class="memdesc:ac2701a0d10bf9cc67d3f9a5008602690"><td class="mdescLeft">&#160;</td><td class="mdescRight">The width of one tile in pixels. <a href="struct_g_r_r_l_i_b__tex_img.html#ac2701a0d10bf9cc67d3f9a5008602690">More...</a><br /></td></tr>
<tr class="separator:ac2701a0d10bf9cc67d3f9a5008602690"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5400cc929e97692c920eb3698874c5dc"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#a5400cc929e97692c920eb3698874c5dc">tileh</a></td></tr>
<tr class="memdesc:a5400cc929e97692c920eb3698874c5dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The height of one tile in pixels. <a href="struct_g_r_r_l_i_b__tex_img.html#a5400cc929e97692c920eb3698874c5dc">More...</a><br /></td></tr>
<tr class="separator:a5400cc929e97692c920eb3698874c5dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb5644c4dac42ee6f9a5081ec0fd3a4f"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#acb5644c4dac42ee6f9a5081ec0fd3a4f">nbtilew</a></td></tr>
<tr class="memdesc:acb5644c4dac42ee6f9a5081ec0fd3a4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of tiles for the x axis. <a href="struct_g_r_r_l_i_b__tex_img.html#acb5644c4dac42ee6f9a5081ec0fd3a4f">More...</a><br /></td></tr>
<tr class="separator:acb5644c4dac42ee6f9a5081ec0fd3a4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1da5528a8f8d7727d166c727e07b30ba"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#a1da5528a8f8d7727d166c727e07b30ba">nbtileh</a></td></tr>
<tr class="memdesc:a1da5528a8f8d7727d166c727e07b30ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of tiles for the y axis. <a href="struct_g_r_r_l_i_b__tex_img.html#a1da5528a8f8d7727d166c727e07b30ba">More...</a><br /></td></tr>
<tr class="separator:a1da5528a8f8d7727d166c727e07b30ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc457a106f497ddec55267ee844f2e9e"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#acc457a106f497ddec55267ee844f2e9e">tilestart</a></td></tr>
<tr class="memdesc:acc457a106f497ddec55267ee844f2e9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Offset to tile starting position. <a href="struct_g_r_r_l_i_b__tex_img.html#acc457a106f497ddec55267ee844f2e9e">More...</a><br /></td></tr>
<tr class="separator:acc457a106f497ddec55267ee844f2e9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89846626665e4077edd8fb83ecaf4b8c"><td class="memItemLeft" align="right" valign="top"><a id="a89846626665e4077edd8fb83ecaf4b8c"></a>
f32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#a89846626665e4077edd8fb83ecaf4b8c">ofnormaltexx</a></td></tr>
<tr class="memdesc:a89846626665e4077edd8fb83ecaf4b8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Offset of normalized texture on x. <br /></td></tr>
<tr class="separator:a89846626665e4077edd8fb83ecaf4b8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a750ee88d4bdc2c0fabf27124951044b6"><td class="memItemLeft" align="right" valign="top"><a id="a750ee88d4bdc2c0fabf27124951044b6"></a>
f32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#a750ee88d4bdc2c0fabf27124951044b6">ofnormaltexy</a></td></tr>
<tr class="memdesc:a750ee88d4bdc2c0fabf27124951044b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Offset of normalized texture on y. <br /></td></tr>
<tr class="separator:a750ee88d4bdc2c0fabf27124951044b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a735984d41155bc1032e09bece8f8d66d"><td class="memItemLeft" align="right" valign="top"><a id="a735984d41155bc1032e09bece8f8d66d"></a>
void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html#a735984d41155bc1032e09bece8f8d66d">data</a></td></tr>
<tr class="memdesc:a735984d41155bc1032e09bece8f8d66d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to the texture data. <br /></td></tr>
<tr class="separator:a735984d41155bc1032e09bece8f8d66d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Structure to hold the texture information. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a1da5528a8f8d7727d166c727e07b30ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1da5528a8f8d7727d166c727e07b30ba">&#9670;&nbsp;</a></span>nbtileh</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 nbtileh</td>
</tr>
</table>
</div><div class="memdoc">
<p>Number of tiles for the y axis. </p>
<p><br />
</p>
</div>
</div>
<a id="acb5644c4dac42ee6f9a5081ec0fd3a4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb5644c4dac42ee6f9a5081ec0fd3a4f">&#9670;&nbsp;</a></span>nbtilew</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 nbtilew</td>
</tr>
</table>
</div><div class="memdoc">
<p>Number of tiles for the x axis. </p>
<p><br />
</p>
</div>
</div>
<a id="afc6d24924b4d32b4eea655863163f49a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc6d24924b4d32b4eea655863163f49a">&#9670;&nbsp;</a></span>tiledtex</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool tiledtex</td>
</tr>
</table>
</div><div class="memdoc">
<p>Texture is tiled if set to true. </p>
<p><br />
</p>
</div>
</div>
<a id="a5400cc929e97692c920eb3698874c5dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5400cc929e97692c920eb3698874c5dc">&#9670;&nbsp;</a></span>tileh</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 tileh</td>
</tr>
</table>
</div><div class="memdoc">
<p>The height of one tile in pixels. </p>
<p><br />
</p>
</div>
</div>
<a id="acc457a106f497ddec55267ee844f2e9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc457a106f497ddec55267ee844f2e9e">&#9670;&nbsp;</a></span>tilestart</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 tilestart</td>
</tr>
</table>
</div><div class="memdoc">
<p>Offset to tile starting position. </p>
<p><br />
</p>
</div>
</div>
<a id="ac2701a0d10bf9cc67d3f9a5008602690"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2701a0d10bf9cc67d3f9a5008602690">&#9670;&nbsp;</a></span>tilew</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 tilew</td>
</tr>
</table>
</div><div class="memdoc">
<p>The width of one tile in pixels. </p>
<p><br />
</p>
</div>
</div>
<a id="a40880d757ddcc5c7fc8f7a4f19e1b442"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40880d757ddcc5c7fc8f7a4f19e1b442">&#9670;&nbsp;</a></span>w</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 w</td>
</tr>
</table>
</div><div class="memdoc">
<p>The width of the texture in pixels. </p>
<p><br />
</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="grrlib_8h.html">grrlib.h</a></li>
</ul>
</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.17
</small></address>
</body>
</html>