diff options
Diffstat (limited to 'docs/doxygen/nel/a03505.html')
-rw-r--r-- | docs/doxygen/nel/a03505.html | 1041 |
1 files changed, 1041 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03505.html b/docs/doxygen/nel/a03505.html new file mode 100644 index 00000000..ceca7de3 --- /dev/null +++ b/docs/doxygen/nel/a03505.html @@ -0,0 +1,1041 @@ +<!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::CTextureUser 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::CTextureUser Class Reference</h1><code>#include <<a class="el" href="a06534.html">texture_user.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CTextureUser: +<p><center><img src="a03505.png" usemap="#NL3D::CTextureUser_map" border="0" alt=""></center> +<map name="NL3D::CTextureUser_map"> +<area href="a03504.html" alt="NL3D::UTexture" shape="rect" coords="80,0,231,24"> +<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"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="a03504.html">UTexture</a> implementation. This Texture must keep a SmartPtr on the real <a class="el" href="a03487.html">ITexture</a>. Because <a class="el" href="a02839.html">CMaterial</a> attach texture with SmartPtr too!! <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="a06534.html#l00051">51</a> of file <a class="el" href="a06534.html">texture_user.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><a class="el" href="a03487.html">ITexture</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUsera0">getITexture</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Accessor for <a class="el" href="a02850.html">UMaterial</a> imp. <a href="#NL3D_1_1CTextureUsera0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03504.html#NL3D_1_1UTextureRaww26">TMagFilter</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUsera1">getMagFilter</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03504.html#NL3D_1_1UTextureRaww27">TMinFilter</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUsera2">getMinFilter</a> () const </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="a03505.html#NL3D_1_1CTextureUsera3">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 </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03504.html#NL3D_1_1UTextureRaww28">TUploadFormat</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUsera4">getUploadFormat</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03504.html#NL3D_1_1UTextureRaww29">TWrapMode</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUsera5">getWrapS</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03504.html#NL3D_1_1UTextureRaww29">TWrapMode</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUsera6">getWrapT</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUsera7">mipMapOff</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUsera8">mipMapOn</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUsera9">setFilterMode</a> (<a class="el" href="a03504.html#NL3D_1_1UTextureRaww26">TMagFilter</a> magf, <a class="el" href="a03504.html#NL3D_1_1UTextureRaww27">TMinFilter</a> minf)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUsera10">setReleasable</a> (bool bReleasable)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUsera11">setUploadFormat</a> (<a class="el" href="a03504.html#NL3D_1_1UTextureRaww28">TUploadFormat</a> pf)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUsera12">setWrapS</a> (<a class="el" href="a03504.html#NL3D_1_1UTextureRaww29">TWrapMode</a> mode)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUsera13">setWrapT</a> (<a class="el" href="a03504.html#NL3D_1_1UTextureRaww29">TWrapMode</a> mode)</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="a03505.html#NL3D_1_1CTextureUserz990_0">CTextureUser</a> (<a class="el" href="a03487.html">ITexture</a> *text)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This ctpor takes a freshly created texture!! <a class="el" href="a03504.html">UTexture</a> will owns this texture (via smartptr). <a href="#NL3D_1_1CTextureUserz990_0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUserz990_1">~CTextureUser</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This ctpor takes a freshly created texture!! <a class="el" href="a03504.html">UTexture</a> will owns this texture (via smartptr). <a href="#NL3D_1_1CTextureUserz990_1"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03408.html">CSmartPtr</a>< <a class="el" href="a03487.html">ITexture</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NL3D_1_1UTextureRaww26" doxytag="NL3D::CTextureUser::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><code> [inherited]</code> + </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::CTextureUser::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><code> [inherited]</code> + </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::CTextureUser::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><code> [inherited]</code> + </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::CTextureUser::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><code> [inherited]</code> + </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_1CTextureUserz990_0" doxytag="NL3D::CTextureUser::CTextureUser" ></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::CTextureUser::CTextureUser </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03487.html">ITexture</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>text</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This ctpor takes a freshly created texture!! <a class="el" href="a03504.html">UTexture</a> will owns this texture (via smartptr). +<p> + +<p> +Definition at line <a class="el" href="a06534.html#l00061">61</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00062 { +00063 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00064 <a class="code" href="a04199.html#a6">nlassert</a>(text); +00065 <a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>=text; +00066 +00067 <span class="comment">// UTexture and ITexture MUST be the same!</span> +00068 <a class="code" href="a04199.html#a6">nlassert</a>((<a class="code" href="a04558.html#a15">uint</a>)UTexture::WrapModeCount==(<a class="code" href="a04558.html#a15">uint</a>)ITexture::WrapModeCount); +00069 <a class="code" href="a04199.html#a6">nlassert</a>((<a class="code" href="a04558.html#a15">uint</a>)UTexture::UploadFormatCount==(<a class="code" href="a04558.html#a15">uint</a>)ITexture::UploadFormatCount); +00070 <a class="code" href="a04199.html#a6">nlassert</a>((<a class="code" href="a04558.html#a15">uint</a>)UTexture::MagFilterCount==(<a class="code" href="a04558.html#a15">uint</a>)ITexture::MagFilterCount); +00071 <a class="code" href="a04199.html#a6">nlassert</a>((<a class="code" href="a04558.html#a15">uint</a>)UTexture::MinFilterCount==(<a class="code" href="a04558.html#a15">uint</a>)ITexture::MinFilterCount); +00072 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextureUserz990_1" doxytag="NL3D::CTextureUser::~CTextureUser" ></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::CTextureUser::~<a class="el" href="a03505.html">CTextureUser</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, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This ctpor takes a freshly created texture!! <a class="el" href="a03504.html">UTexture</a> will owns this texture (via smartptr). +<p> + +<p> +Definition at line <a class="el" href="a06534.html#l00073">73</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>. +<p> +<div class="fragment"><pre>00074 { +00075 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00076 <span class="comment">// texture auto deleted.</span> +00077 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CTextureUsera0" doxytag="NL3D::CTextureUser::getITexture" ></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"> <a class="el" href="a03487.html">ITexture</a>* NL3D::CTextureUser::getITexture </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Accessor for <a class="el" href="a02850.html">UMaterial</a> imp. +<p> + +<p> +Definition at line <a class="el" href="a06534.html#l00147">147</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>. +<p> +<div class="fragment"><pre>00148 { +00149 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00150 <span class="keywordflow">return</span> <a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>; +00151 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextureUsera1" doxytag="NL3D::CTextureUser::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::CTextureUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a03504.html#NL3D_1_1UTextureRawz1570_0">NL3D::UTexture</a>. +<p> +Definition at line <a class="el" href="a06534.html#l00115">115</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00116 { +00117 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00118 <span class="keywordflow">return</span> (UTexture::TMagFilter)(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>->getMagFilter(); +00119 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextureUsera2" doxytag="NL3D::CTextureUser::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::CTextureUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a03504.html#NL3D_1_1UTextureRawz1570_1">NL3D::UTexture</a>. +<p> +Definition at line <a class="el" href="a06534.html#l00120">120</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00121 { +00122 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00123 <span class="keywordflow">return</span> (UTexture::TMinFilter)(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>->getMinFilter(); +00124 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextureUsera3" doxytag="NL3D::CTextureUser::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::CTextureUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a03504.html#NL3D_1_1UTextureRawa0">NL3D::UTexture</a>. +<p> +Definition at line <a class="el" href="a06534.html#l00135">135</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>. +<p> +<div class="fragment"><pre>00136 { +00137 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00138 <span class="keywordflow">return</span> <a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>->getPixelColor(x,y); +00139 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextureUsera4" doxytag="NL3D::CTextureUser::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::CTextureUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a03504.html#NL3D_1_1UTextureRawz1570_2">NL3D::UTexture</a>. +<p> +Definition at line <a class="el" href="a06534.html#l00105">105</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00106 { +00107 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00108 <span class="keywordflow">return</span> (UTexture::TUploadFormat)(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>->getUploadFormat(); +00109 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextureUsera5" doxytag="NL3D::CTextureUser::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::CTextureUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a03504.html#NL3D_1_1UTextureRawz1570_3">NL3D::UTexture</a>. +<p> +Definition at line <a class="el" href="a06534.html#l00090">90</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00091 { +00092 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00093 <span class="keywordflow">return</span> (UTexture::TWrapMode)(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>->getWrapS(); +00094 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextureUsera6" doxytag="NL3D::CTextureUser::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::CTextureUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a03504.html#NL3D_1_1UTextureRawz1570_4">NL3D::UTexture</a>. +<p> +Definition at line <a class="el" href="a06534.html#l00095">95</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00096 { +00097 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00098 <span class="keywordflow">return</span> (UTexture::TWrapMode)(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>->getWrapT(); +00099 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextureUsera7" doxytag="NL3D::CTextureUser::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::CTextureUser::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> [inline, 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> +Implements <a class="el" href="a03504.html#NL3D_1_1UTextureRawz1570_5">NL3D::UTexture</a>. +<p> +Definition at line <a class="el" href="a06534.html#l00125">125</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>. +<p> +<div class="fragment"><pre>00126 { +00127 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00128 <span class="keywordflow">return</span> <a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>->mipMapOff(); +00129 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextureUsera8" doxytag="NL3D::CTextureUser::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::CTextureUser::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> [inline, 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> +Implements <a class="el" href="a03504.html#NL3D_1_1UTextureRawz1570_6">NL3D::UTexture</a>. +<p> +Definition at line <a class="el" href="a06534.html#l00130">130</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>. +<p> +<div class="fragment"><pre>00131 { +00132 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00133 <span class="keywordflow">return</span> <a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>->mipMapOn(); +00134 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextureUsera9" doxytag="NL3D::CTextureUser::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::CTextureUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a03504.html#NL3D_1_1UTextureRawz1570_7">NL3D::UTexture</a>. +<p> +Definition at line <a class="el" href="a06534.html#l00110">110</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00111 { +00112 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00113 <a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>->setFilterMode((ITexture::TMagFilter)(<a class="code" href="a04558.html#a11">uint32</a>)magf, (ITexture::TMinFilter)(uint32)minf); +00114 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextureUsera10" doxytag="NL3D::CTextureUser::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::CTextureUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a03504.html#NL3D_1_1UTextureRawa1">NL3D::UTexture</a>. +<p> +Definition at line <a class="el" href="a06534.html#l00140">140</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>. +<p> +<div class="fragment"><pre>00141 { +00142 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00143 <a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>->setReleasable(bReleasable); +00144 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextureUsera11" doxytag="NL3D::CTextureUser::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::CTextureUser::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> [inline, 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> +Implements <a class="el" href="a03504.html#NL3D_1_1UTextureRawz1570_8">NL3D::UTexture</a>. +<p> +Definition at line <a class="el" href="a06534.html#l00100">100</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00101 { +00102 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00103 <a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>->setUploadFormat((ITexture::TUploadFormat)(<a class="code" href="a04558.html#a11">uint32</a>)pf); +00104 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextureUsera12" doxytag="NL3D::CTextureUser::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::CTextureUser::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> [inline, 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> +Implements <a class="el" href="a03504.html#NL3D_1_1UTextureRawz1570_9">NL3D::UTexture</a>. +<p> +Definition at line <a class="el" href="a06534.html#l00080">80</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00081 { +00082 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00083 <a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>->setWrapS((ITexture::TWrapMode)(<a class="code" href="a04558.html#a11">uint32</a>)mode); +00084 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextureUsera13" doxytag="NL3D::CTextureUser::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::CTextureUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a03504.html#NL3D_1_1UTextureRawz1570_10">NL3D::UTexture</a>. +<p> +Definition at line <a class="el" href="a06534.html#l00085">85</a> of file <a class="el" href="a06534.html">texture_user.h</a>. +<p> +References <a class="el" href="a06534.html#l00034">NL3D_MEM_TEXTURE</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00086 { +00087 <a class="code" href="a05111.html#a0">NL3D_MEM_TEXTURE</a> +00088 <a class="code" href="a03505.html#NL3D_1_1CTextureUserp0">_Texture</a>->setWrapT((ITexture::TWrapMode)(<a class="code" href="a04558.html#a11">uint32</a>)mode); +00089 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CTextureUserp0" doxytag="NL3D::CTextureUser::_Texture" ></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"> <a class="el" href="a03408.html">CSmartPtr</a><<a class="el" href="a03487.html">ITexture</a>> <a class="el" href="a03505.html#NL3D_1_1CTextureUserp0">NL3D::CTextureUser::_Texture</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06534.html#l00054">54</a> of file <a class="el" href="a06534.html">texture_user.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a06534.html">texture_user.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:03:39 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> |