diff options
Diffstat (limited to 'docs/doxygen/nel/a03504.html')
-rw-r--r-- | docs/doxygen/nel/a03504.html | 799 |
1 files changed, 799 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03504.html b/docs/doxygen/nel/a03504.html new file mode 100644 index 00000000..bd0038fb --- /dev/null +++ b/docs/doxygen/nel/a03504.html @@ -0,0 +1,799 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NL3D::UTexture class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::UTexture Class Reference</h1><code>#include <<a class="el" href="a06632.html">u_texture.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::UTexture: +<p><center><img src="a03504.png" usemap="#NL3D::UTexture_map" border="0" alt=""></center> +<map name="NL3D::UTexture_map"> +<area href="a03505.html" alt="NL3D::CTextureUser" shape="rect" coords="80,56,231,80"> +<area href="a03947.html" alt="NL3D::UTextureFile" shape="rect" coords="322,56,473,80"> +<area href="a03948.html" alt="NL3D::UTextureRaw" shape="rect" coords="483,56,634,80"> +<area href="a03503.html" alt="NL3D::CTextureFileUser" shape="rect" coords="0,112,151,136"> +<area href="a03514.html" alt="NL3D::CTextureRawUser" shape="rect" coords="161,112,312,136"> +<area href="a03503.html" alt="NL3D::CTextureFileUser" shape="rect" coords="322,112,473,136"> +<area href="a03514.html" alt="NL3D::CTextureRawUser" shape="rect" coords="483,112,634,136"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Game interface for manipulating Basic texture. <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06632.html#l00042">42</a> of file <a class="el" href="a06632.html">u_texture.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03504.html#NL3D_1_1UTextureRaww26">TMagFilter</a> { <a class="el" href="a03504.html#NL3D_1_1UTextureRaww26NL3D_1_1UTextureRaww16">Nearest</a> = 0, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww26NL3D_1_1UTextureRaww9">Linear</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww26NL3D_1_1UTextureRaww14">MagFilterCount</a> + }</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03504.html#NL3D_1_1UTextureRaww27">TMinFilter</a> { <br> + <a class="el" href="a03504.html#NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww19">NearestMipMapOff</a> = 0, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww18">NearestMipMapNearest</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww17">NearestMipMapLinear</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww12">LinearMipMapOff</a>, +<br> + <a class="el" href="a03504.html#NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww11">LinearMipMapNearest</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww10">LinearMipMapLinear</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww15">MinFilterCount</a> +<br> + }</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03504.html#NL3D_1_1UTextureRaww28">TUploadFormat</a> { <br> + <a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww2">Auto</a> = 0, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww25">RGBA8888</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww23">RGBA4444</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww24">RGBA5551</a>, +<br> + <a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww22">RGB888</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww21">RGB565</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww5">DXTC1</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww6">DXTC1Alpha</a>, +<br> + <a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww7">DXTC3</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww8">DXTC5</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww13">Luminance</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww0">Alpha</a>, +<br> + <a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww1">AlphaLuminance</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww4">DsDt</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww30">UploadFormatCount</a> +<br> + }</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03504.html#NL3D_1_1UTextureRaww29">TWrapMode</a> { <a class="el" href="a03504.html#NL3D_1_1UTextureRaww29NL3D_1_1UTextureRaww20">Repeat</a> = 0, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww29NL3D_1_1UTextureRaww3">Clamp</a>, +<a class="el" href="a03504.html#NL3D_1_1UTextureRaww29NL3D_1_1UTextureRaww31">WrapModeCount</a> + }</td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03337.html">NLMISC::CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03504.html#NL3D_1_1UTextureRawa0">getPixelColor</a> (<a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a04223.html#a572">x</a>, <a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a04223.html#a573">y</a>) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03504.html#NL3D_1_1UTextureRawa1">setReleasable</a> (bool bReleasable)=0</td></tr> + +<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">Object</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03504.html#NL3D_1_1UTexturez1568_0">UTexture</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a03504.html#NL3D_1_1UTexturez1568_1">~UTexture</a> ()</td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NL3D_1_1UTextureRaww26" doxytag="NL3D::UTexture::TMagFilter" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a03504.html#NL3D_1_1UTextureRaww26">NL3D::UTexture::TMagFilter</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Magnification mode. Same behavior as OpenGL.<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww26NL3D_1_1UTextureRaww16" doxytag="Nearest" ></a>Nearest</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww26NL3D_1_1UTextureRaww9" doxytag="Linear" ></a>Linear</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww26NL3D_1_1UTextureRaww14" doxytag="MagFilterCount" ></a>MagFilterCount</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06632.html#l00087">87</a> of file <a class="el" href="a06632.html">u_texture.h</a>. +<p> +<div class="fragment"><pre>00088 { +00089 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww26NL3D_1_1UTextureRaww16">Nearest</a>=0, +00090 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww26NL3D_1_1UTextureRaww9">Linear</a>, +00091 +00092 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww26NL3D_1_1UTextureRaww14">MagFilterCount</a> +00093 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRaww27" doxytag="NL3D::UTexture::TMinFilter" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a03504.html#NL3D_1_1UTextureRaww27">NL3D::UTexture::TMinFilter</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Minifying mode. Same behavior as OpenGL. If the bitmap has no mipmap, and mipmap is required, then mipmaps are computed.<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww19" doxytag="NearestMipMapOff" ></a>NearestMipMapOff</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww18" doxytag="NearestMipMapNearest" ></a>NearestMipMapNearest</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww17" doxytag="NearestMipMapLinear" ></a>NearestMipMapLinear</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww12" doxytag="LinearMipMapOff" ></a>LinearMipMapOff</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww11" doxytag="LinearMipMapNearest" ></a>LinearMipMapNearest</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww10" doxytag="LinearMipMapLinear" ></a>LinearMipMapLinear</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww15" doxytag="MinFilterCount" ></a>MinFilterCount</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06632.html#l00098">98</a> of file <a class="el" href="a06632.html">u_texture.h</a>. +<p> +<div class="fragment"><pre>00099 { +00100 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww19">NearestMipMapOff</a>=0, +00101 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww18">NearestMipMapNearest</a>, +00102 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww17">NearestMipMapLinear</a>, +00103 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww12">LinearMipMapOff</a>, +00104 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww11">LinearMipMapNearest</a>, +00105 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww10">LinearMipMapLinear</a>, +00106 +00107 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww27NL3D_1_1UTextureRaww15">MinFilterCount</a> +00108 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRaww28" doxytag="NL3D::UTexture::TUploadFormat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a03504.html#NL3D_1_1UTextureRaww28">NL3D::UTexture::TUploadFormat</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww2" doxytag="Auto" ></a>Auto</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww25" doxytag="RGBA8888" ></a>RGBA8888</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww23" doxytag="RGBA4444" ></a>RGBA4444</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww24" doxytag="RGBA5551" ></a>RGBA5551</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww22" doxytag="RGB888" ></a>RGB888</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww21" doxytag="RGB565" ></a>RGB565</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww5" doxytag="DXTC1" ></a>DXTC1</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww6" doxytag="DXTC1Alpha" ></a>DXTC1Alpha</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww7" doxytag="DXTC3" ></a>DXTC3</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww8" doxytag="DXTC5" ></a>DXTC5</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww13" doxytag="Luminance" ></a>Luminance</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww0" doxytag="Alpha" ></a>Alpha</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww1" doxytag="AlphaLuminance" ></a>AlphaLuminance</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww4" doxytag="DsDt" ></a>DsDt</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww30" doxytag="UploadFormatCount" ></a>UploadFormatCount</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06632.html#l00064">64</a> of file <a class="el" href="a06632.html">u_texture.h</a>. +<p> +<div class="fragment"><pre>00065 { +00066 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww2">Auto</a>= 0, +00067 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww25">RGBA8888</a>, +00068 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww23">RGBA4444</a>, +00069 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww24">RGBA5551</a>, +00070 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww22">RGB888</a>, +00071 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww21">RGB565</a>, +00072 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww5">DXTC1</a>, +00073 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww6">DXTC1Alpha</a>, +00074 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww7">DXTC3</a>, +00075 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww8">DXTC5</a>, +00076 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww13">Luminance</a>, +00077 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww0">Alpha</a>, +00078 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww1">AlphaLuminance</a>, +00079 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww4">DsDt</a>, +00080 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww28NL3D_1_1UTextureRaww30">UploadFormatCount</a> +00081 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRaww29" doxytag="NL3D::UTexture::TWrapMode" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a03504.html#NL3D_1_1UTextureRaww29">NL3D::UTexture::TWrapMode</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww29NL3D_1_1UTextureRaww20" doxytag="Repeat" ></a>Repeat</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww29NL3D_1_1UTextureRaww3" doxytag="Clamp" ></a>Clamp</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextureRaww29NL3D_1_1UTextureRaww31" doxytag="WrapModeCount" ></a>WrapModeCount</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06632.html#l00056">56</a> of file <a class="el" href="a06632.html">u_texture.h</a>. +<p> +<div class="fragment"><pre>00057 { +00058 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww29NL3D_1_1UTextureRaww20">Repeat</a>= 0, +00059 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww29NL3D_1_1UTextureRaww3">Clamp</a>, +00060 +00061 <a class="code" href="a03504.html#NL3D_1_1UTextureRaww29NL3D_1_1UTextureRaww31">WrapModeCount</a> +00062 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1UTexturez1568_0" doxytag="NL3D::UTexture::UTexture" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::UTexture::UTexture </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06632.html#l00048">48</a> of file <a class="el" href="a06632.html">u_texture.h</a>. +<p> +<div class="fragment"><pre>00048 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTexturez1568_1" doxytag="NL3D::UTexture::~UTexture" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual NL3D::UTexture::~<a class="el" href="a03504.html">UTexture</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06632.html#l00049">49</a> of file <a class="el" href="a06632.html">u_texture.h</a>. +<p> +<div class="fragment"><pre>00049 {} +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1UTextureRawz1570_0" doxytag="NL3D::UTexture::getMagFilter" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a03504.html#NL3D_1_1UTextureRaww26">TMagFilter</a> NL3D::UTexture::getMagFilter </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a03505.html#NL3D_1_1CTextureUsera1">NL3D::CTextureUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRawz1570_1" doxytag="NL3D::UTexture::getMinFilter" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a03504.html#NL3D_1_1UTextureRaww27">TMinFilter</a> NL3D::UTexture::getMinFilter </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a03505.html#NL3D_1_1CTextureUsera2">NL3D::CTextureUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRawa0" doxytag="NL3D::UTexture::getPixelColor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a03337.html">NLMISC::CRGBA</a> NL3D::UTexture::getPixelColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap> <em>y</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a03505.html#NL3D_1_1CTextureUsera3">NL3D::CTextureUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRawz1570_2" doxytag="NL3D::UTexture::getUploadFormat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a03504.html#NL3D_1_1UTextureRaww28">TUploadFormat</a> NL3D::UTexture::getUploadFormat </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a03505.html#NL3D_1_1CTextureUsera4">NL3D::CTextureUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRawz1570_3" doxytag="NL3D::UTexture::getWrapS" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a03504.html#NL3D_1_1UTextureRaww29">TWrapMode</a> NL3D::UTexture::getWrapS </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a03505.html#NL3D_1_1CTextureUsera5">NL3D::CTextureUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRawz1570_4" doxytag="NL3D::UTexture::getWrapT" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a03504.html#NL3D_1_1UTextureRaww29">TWrapMode</a> NL3D::UTexture::getWrapT </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a03505.html#NL3D_1_1CTextureUsera6">NL3D::CTextureUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRawz1570_5" doxytag="NL3D::UTexture::mipMapOff" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::UTexture::mipMapOff </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set mipmap property to off If the texture is DXTC and has mipmap, the driver will NOT upload them in VRAM if the user dont want them. +<p> +Implemented in <a class="el" href="a03505.html#NL3D_1_1CTextureUsera7">NL3D::CTextureUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRawz1570_6" doxytag="NL3D::UTexture::mipMapOn" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::UTexture::mipMapOn </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set mipmap property to on If the texture is DXTC and has no mipmap the driver will NOT create them. (This is due to performance: to create mipmap in DXTC the driver have to decompress the texture, create the mipmap and recompress the texture to upload it in VRAM. This is really time consuming and texture quality is altered, so the driver will not create them). +<p> +Implemented in <a class="el" href="a03505.html#NL3D_1_1CTextureUsera8">NL3D::CTextureUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRawz1570_7" doxytag="NL3D::UTexture::setFilterMode" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UTexture::setFilterMode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03504.html#NL3D_1_1UTextureRaww26">TMagFilter</a> </td> + <td class="mdname" nowrap> <em>magf</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03504.html#NL3D_1_1UTextureRaww27">TMinFilter</a> </td> + <td class="mdname" nowrap> <em>minf</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a03505.html#NL3D_1_1CTextureUsera9">NL3D::CTextureUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRawa1" doxytag="NL3D::UTexture::setReleasable" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UTexture::setReleasable </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>bReleasable</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a03505.html#NL3D_1_1CTextureUsera10">NL3D::CTextureUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRawz1570_8" doxytag="NL3D::UTexture::setUploadFormat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UTexture::setUploadFormat </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03504.html#NL3D_1_1UTextureRaww28">TUploadFormat</a> </td> + <td class="mdname1" valign="top" nowrap> <em>pf</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Replace the uploaded format of the texture. If "Auto", the driver use <a class="el" href="a02268.html#NL3D_1_1ITexturea15">CBitmap::getPixelFormat()</a> to find the best associated pixelFormat. When no alpha is wanted (RGB, Luminance....), texture default output is 1.0. For "Alpha" mode, RGB output is (0,0,0). +<p> +Implemented in <a class="el" href="a03505.html#NL3D_1_1CTextureUsera11">NL3D::CTextureUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRawz1570_9" doxytag="NL3D::UTexture::setWrapS" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UTexture::setWrapS </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03504.html#NL3D_1_1UTextureRaww29">TWrapMode</a> </td> + <td class="mdname1" valign="top" nowrap> <em>mode</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +By default, parameters are:<ul> +<li>WrapS==Repeat</li><li>WrapT==Repeat</li><li>UploadFormat== Auto</li><li>MagFilter== Linear.</li><li>MinFilter= LinearMipMapLinear.</li></ul> +<p> +NB: if multiple <a class="el" href="a03487.html">ITexture</a> acces the same data via the sharing system (such as a <a class="el" href="a03502.html">CTextureFile</a>), then:<ul> +<li>WrapS/WrapT is LOCAL for each <a class="el" href="a03487.html">ITexture</a> (ie each <a class="el" href="a03487.html">ITexture</a> will have his own Wrap mode) => no duplication is made.</li><li>UploadFormat may duplicate the texture in video memory. There is one texture per different UploadFormat.</li><li>MinFilter may duplicate the texture in video memory in the same way, wether the texture has mipmap or not.</li></ul> + +<p> +Implemented in <a class="el" href="a03505.html#NL3D_1_1CTextureUsera12">NL3D::CTextureUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextureRawz1570_10" doxytag="NL3D::UTexture::setWrapT" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UTexture::setWrapT </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03504.html#NL3D_1_1UTextureRaww29">TWrapMode</a> </td> + <td class="mdname1" valign="top" nowrap> <em>mode</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a03505.html#NL3D_1_1CTextureUsera13">NL3D::CTextureUser</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a06632.html">u_texture.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:51:37 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |