mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-12-22 18:39:18 +00:00
279 lines
15 KiB
HTML
279 lines
15 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" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.10.0"/>
|
|
<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>
|
|
<script type="text/javascript" src="clipboard.js"></script>
|
|
<script type="text/javascript" src="cookie.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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">GRRLIB<span id="projectnumber"> 4.4.1</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.10.0 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</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="#details">More...</a></p>
|
|
|
|
<p><code>#include <grrlib.h></code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
|
Data Fields</h2></td></tr>
|
|
<tr class="memitem:a40880d757ddcc5c7fc8f7a4f19e1b442" id="r_a40880d757ddcc5c7fc8f7a4f19e1b442"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="#a40880d757ddcc5c7fc8f7a4f19e1b442">w</a></td></tr>
|
|
<tr class="memdesc:a40880d757ddcc5c7fc8f7a4f19e1b442"><td class="mdescLeft"> </td><td class="mdescRight">The width of the texture in pixels. <br /></td></tr>
|
|
<tr class="separator:a40880d757ddcc5c7fc8f7a4f19e1b442"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3b713de5e8af3c7ae800a2c9856780a2" id="r_a3b713de5e8af3c7ae800a2c9856780a2"><td class="memItemLeft" align="right" valign="top"><a id="a3b713de5e8af3c7ae800a2c9856780a2" name="a3b713de5e8af3c7ae800a2c9856780a2"></a>
|
|
u32 </td><td class="memItemRight" valign="bottom"><b>h</b></td></tr>
|
|
<tr class="memdesc:a3b713de5e8af3c7ae800a2c9856780a2"><td class="mdescLeft"> </td><td class="mdescRight">The height of the texture in pixels. <br /></td></tr>
|
|
<tr class="separator:a3b713de5e8af3c7ae800a2c9856780a2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeabe01fe64ab978062a145d723201aaf" id="r_aeabe01fe64ab978062a145d723201aaf"><td class="memItemLeft" align="right" valign="top"><a id="aeabe01fe64ab978062a145d723201aaf" name="aeabe01fe64ab978062a145d723201aaf"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>handlex</b></td></tr>
|
|
<tr class="memdesc:aeabe01fe64ab978062a145d723201aaf"><td class="mdescLeft"> </td><td class="mdescRight">Texture handle x. <br /></td></tr>
|
|
<tr class="separator:aeabe01fe64ab978062a145d723201aaf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac46115747734d99869a5ae8a6e26f590" id="r_ac46115747734d99869a5ae8a6e26f590"><td class="memItemLeft" align="right" valign="top"><a id="ac46115747734d99869a5ae8a6e26f590" name="ac46115747734d99869a5ae8a6e26f590"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>handley</b></td></tr>
|
|
<tr class="memdesc:ac46115747734d99869a5ae8a6e26f590"><td class="mdescLeft"> </td><td class="mdescRight">Texture handle y. <br /></td></tr>
|
|
<tr class="separator:ac46115747734d99869a5ae8a6e26f590"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1f1b2cd64720fe490801ccf4c5af3318" id="r_a1f1b2cd64720fe490801ccf4c5af3318"><td class="memItemLeft" align="right" valign="top"><a id="a1f1b2cd64720fe490801ccf4c5af3318" name="a1f1b2cd64720fe490801ccf4c5af3318"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>offsetx</b></td></tr>
|
|
<tr class="memdesc:a1f1b2cd64720fe490801ccf4c5af3318"><td class="mdescLeft"> </td><td class="mdescRight">Texture offset x. <br /></td></tr>
|
|
<tr class="separator:a1f1b2cd64720fe490801ccf4c5af3318"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1e4f9e08319378a51518c10a7f9315c4" id="r_a1e4f9e08319378a51518c10a7f9315c4"><td class="memItemLeft" align="right" valign="top"><a id="a1e4f9e08319378a51518c10a7f9315c4" name="a1e4f9e08319378a51518c10a7f9315c4"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>offsety</b></td></tr>
|
|
<tr class="memdesc:a1e4f9e08319378a51518c10a7f9315c4"><td class="mdescLeft"> </td><td class="mdescRight">Texture offset y. <br /></td></tr>
|
|
<tr class="separator:a1e4f9e08319378a51518c10a7f9315c4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afc6d24924b4d32b4eea655863163f49a" id="r_afc6d24924b4d32b4eea655863163f49a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="#afc6d24924b4d32b4eea655863163f49a">tiledtex</a></td></tr>
|
|
<tr class="memdesc:afc6d24924b4d32b4eea655863163f49a"><td class="mdescLeft"> </td><td class="mdescRight">Texture is tiled if set to true. <br /></td></tr>
|
|
<tr class="separator:afc6d24924b4d32b4eea655863163f49a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac2701a0d10bf9cc67d3f9a5008602690" id="r_ac2701a0d10bf9cc67d3f9a5008602690"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="#ac2701a0d10bf9cc67d3f9a5008602690">tilew</a></td></tr>
|
|
<tr class="memdesc:ac2701a0d10bf9cc67d3f9a5008602690"><td class="mdescLeft"> </td><td class="mdescRight">The width of one tile in pixels. <br /></td></tr>
|
|
<tr class="separator:ac2701a0d10bf9cc67d3f9a5008602690"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5400cc929e97692c920eb3698874c5dc" id="r_a5400cc929e97692c920eb3698874c5dc"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="#a5400cc929e97692c920eb3698874c5dc">tileh</a></td></tr>
|
|
<tr class="memdesc:a5400cc929e97692c920eb3698874c5dc"><td class="mdescLeft"> </td><td class="mdescRight">The height of one tile in pixels. <br /></td></tr>
|
|
<tr class="separator:a5400cc929e97692c920eb3698874c5dc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acb5644c4dac42ee6f9a5081ec0fd3a4f" id="r_acb5644c4dac42ee6f9a5081ec0fd3a4f"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="#acb5644c4dac42ee6f9a5081ec0fd3a4f">nbtilew</a></td></tr>
|
|
<tr class="memdesc:acb5644c4dac42ee6f9a5081ec0fd3a4f"><td class="mdescLeft"> </td><td class="mdescRight">Number of tiles for the x axis. <br /></td></tr>
|
|
<tr class="separator:acb5644c4dac42ee6f9a5081ec0fd3a4f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1da5528a8f8d7727d166c727e07b30ba" id="r_a1da5528a8f8d7727d166c727e07b30ba"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="#a1da5528a8f8d7727d166c727e07b30ba">nbtileh</a></td></tr>
|
|
<tr class="memdesc:a1da5528a8f8d7727d166c727e07b30ba"><td class="mdescLeft"> </td><td class="mdescRight">Number of tiles for the y axis. <br /></td></tr>
|
|
<tr class="separator:a1da5528a8f8d7727d166c727e07b30ba"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acc457a106f497ddec55267ee844f2e9e" id="r_acc457a106f497ddec55267ee844f2e9e"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="#acc457a106f497ddec55267ee844f2e9e">tilestart</a></td></tr>
|
|
<tr class="memdesc:acc457a106f497ddec55267ee844f2e9e"><td class="mdescLeft"> </td><td class="mdescRight">Offset to tile starting position. <br /></td></tr>
|
|
<tr class="separator:acc457a106f497ddec55267ee844f2e9e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a89846626665e4077edd8fb83ecaf4b8c" id="r_a89846626665e4077edd8fb83ecaf4b8c"><td class="memItemLeft" align="right" valign="top"><a id="a89846626665e4077edd8fb83ecaf4b8c" name="a89846626665e4077edd8fb83ecaf4b8c"></a>
|
|
f32 </td><td class="memItemRight" valign="bottom"><b>ofnormaltexx</b></td></tr>
|
|
<tr class="memdesc:a89846626665e4077edd8fb83ecaf4b8c"><td class="mdescLeft"> </td><td class="mdescRight">Offset of normalized texture on x. <br /></td></tr>
|
|
<tr class="separator:a89846626665e4077edd8fb83ecaf4b8c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a750ee88d4bdc2c0fabf27124951044b6" id="r_a750ee88d4bdc2c0fabf27124951044b6"><td class="memItemLeft" align="right" valign="top"><a id="a750ee88d4bdc2c0fabf27124951044b6" name="a750ee88d4bdc2c0fabf27124951044b6"></a>
|
|
f32 </td><td class="memItemRight" valign="bottom"><b>ofnormaltexy</b></td></tr>
|
|
<tr class="memdesc:a750ee88d4bdc2c0fabf27124951044b6"><td class="mdescLeft"> </td><td class="mdescRight">Offset of normalized texture on y. <br /></td></tr>
|
|
<tr class="separator:a750ee88d4bdc2c0fabf27124951044b6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a735984d41155bc1032e09bece8f8d66d" id="r_a735984d41155bc1032e09bece8f8d66d"><td class="memItemLeft" align="right" valign="top"><a id="a735984d41155bc1032e09bece8f8d66d" name="a735984d41155bc1032e09bece8f8d66d"></a>
|
|
void * </td><td class="memItemRight" valign="bottom"><b>data</b></td></tr>
|
|
<tr class="memdesc:a735984d41155bc1032e09bece8f8d66d"><td class="mdescLeft"> </td><td class="mdescRight">Pointer to the texture data. <br /></td></tr>
|
|
<tr class="separator:a735984d41155bc1032e09bece8f8d66d"><td class="memSeparator" colspan="2"> </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" name="a1da5528a8f8d7727d166c727e07b30ba"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1da5528a8f8d7727d166c727e07b30ba">◆ </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" name="acb5644c4dac42ee6f9a5081ec0fd3a4f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acb5644c4dac42ee6f9a5081ec0fd3a4f">◆ </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" name="afc6d24924b4d32b4eea655863163f49a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afc6d24924b4d32b4eea655863163f49a">◆ </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" name="a5400cc929e97692c920eb3698874c5dc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5400cc929e97692c920eb3698874c5dc">◆ </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" name="acc457a106f497ddec55267ee844f2e9e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acc457a106f497ddec55267ee844f2e9e">◆ </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" name="ac2701a0d10bf9cc67d3f9a5008602690"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac2701a0d10bf9cc67d3f9a5008602690">◆ </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" name="a40880d757ddcc5c7fc8f7a4f19e1b442"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a40880d757ddcc5c7fc8f7a4f19e1b442">◆ </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 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
|
|
</small></address>
|
|
</body>
|
|
</html>
|