diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CTextureBlend.html | 710 |
1 files changed, 710 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CTextureBlend.html b/docs/doxygen/nel/classNL3D_1_1CTextureBlend.html new file mode 100644 index 00000000..0e6381ce --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CTextureBlend.html @@ -0,0 +1,710 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.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">Compound List</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">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::CTextureBlend Class Reference</h1>This is a helper texture that helps to blend between 2 others textures. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="texture__blend_8h-source.html">texture_blend.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CTextureBlend: +<p><center><img src="classNL3D_1_1CTextureBlend.gif" usemap="#NL3D::CTextureBlend_map" border="0"></center> +<map name="NL3D::CTextureBlend_map"> +<area href="classNL3D_1_1ITexture.html" alt="NL3D::ITexture" shape="rect" coords="143,112,276,136"> +<area href="classNLMISC_1_1CBitmap.html" alt="NLMISC::CBitmap" shape="rect" coords="0,56,133,80"> +<area href="classNLMISC_1_1CRefCount.html" alt="NLMISC::CRefCount" shape="rect" coords="143,56,276,80"> +<area href="classNLMISC_1_1IStreamable.html" alt="NLMISC::IStreamable" shape="rect" coords="286,56,419,80"> +<area href="classNLMISC_1_1IClassable.html" alt="NLMISC::IClassable" shape="rect" coords="286,0,419,24"> +</map> +<a href="classNL3D_1_1CTextureBlend-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#a0">NLMISC_DECLARE_CLASS</a> (CTextureBlend)</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#a1">CTextureBlend</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>ctor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#a2">setBlendTexture</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>, <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> *tex)</td></tr> +<tr><td> </td><td><font size=-1><em>Set one of the textures between which to blend. If set to NULL, the result texture will be a dummy texture.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#a3">getBlendtexture</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Get a blend texture.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#a4">getBlendtexture</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>) const</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#a5">setBlendFactor</a> (<a class="el" href="memory__common_8h.html#a9">uint16</a> factor)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the blend factor between textures.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#a6">getBlendFactor</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the blend factor between the textures (from 0 to 255).</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#a7">doGenerate</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Generate this texture data's.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#a8">release</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>release this texture datas.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#a9">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> +<tr><td> </td><td><font size=-1><em>serial <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> basic infos (clamp ...).</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Texture sharing</div></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#z828_0">supportSharing</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Does this texture support sharing system.</em> <a href="#z828_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual std::string </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#z828_1">getShareName</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the Unique ident/name of the texture, used for Driver sharing caps.</em> <a href="#z828_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#z828_2">enableSharing</a> (bool enabled=false)</td></tr> +<tr><td> </td><td><font size=-1><em>enable / disable sharing support.</em> <a href="#z828_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#z828_3">isSharingEnabled</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>test whether texture sharing is enabled.</em> <a href="#z828_3">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#o0">_BlendFactor</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CSmartPtr.html">NLMISC::CSmartPtr</a>< <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#o1">_BlendTex</a> [2]</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBlend.html#o2">_SharingEnabled</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +This is a helper texture that helps to blend between 2 others textures. +<p> +It may help where sharing is needed. (for example, with a texture that blend between day / night, and that is shared by several object). The default is to have sharing enabled. NB : sharing is only supported if the 2 blending textures support sharing IMPORTANT: you should setup all your blend texture after changing the blend factor to avoid previous texture to be left in VRAM <dl compact><dt><b> +Author: </b><dd> +Nicolas Vizerie , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="texture__blend_8h-source.html#l00047">47</a> of file <a class="el" href="texture__blend_8h-source.html">texture_blend.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a1" doxytag="NL3D::CTextureBlend::CTextureBlend"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CTextureBlend::CTextureBlend </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +ctor. +<p> + +<p> +Definition at line <a class="el" href="texture__blend_8cpp-source.html#l00035">35</a> of file <a class="el" href="texture__blend_8cpp-source.html">texture_blend.cpp</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a7" doxytag="NL3D::CTextureBlend::doGenerate"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextureBlend::doGenerate </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Generate this texture data's. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ITexture.html#b0">NL3D::ITexture</a>. +<p> +Definition at line <a class="el" href="texture__blend_8cpp-source.html#l00102">102</a> of file <a class="el" href="texture__blend_8cpp-source.html">texture_blend.cpp</a>. +<p> +References <a class="el" href="texture__blend_8h-source.html#l00089">_BlendFactor</a>, <a class="el" href="texture__blend_8h-source.html#l00090">_BlendTex</a>, <a class="el" href="bitmap_8cpp-source.html#l01291">NLMISC::CBitmap::blend</a>, and <a class="el" href="bitmap_8cpp-source.html#l00156">NLMISC::CBitmap::makeDummy</a>. </td> + </tr> +</table> +<a name="z828_2" doxytag="NL3D::CTextureBlend::enableSharing"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextureBlend::enableSharing </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enabled</em> = false </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +enable / disable sharing support. +<p> + +<p> +Definition at line <a class="el" href="texture__blend_8cpp-source.html#l00061">61</a> of file <a class="el" href="texture__blend_8cpp-source.html">texture_blend.cpp</a>. +<p> +References <a class="el" href="texture__blend_8h-source.html#l00091">_SharingEnabled</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NL3D::CTextureBlend::getBlendFactor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a9">uint16</a> NL3D::CTextureBlend::getBlendFactor </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the blend factor between the textures (from 0 to 255). +<p> + +<p> +Definition at line <a class="el" href="texture__blend_8h-source.html#l00067">67</a> of file <a class="el" href="texture__blend_8h-source.html">texture_blend.h</a>. +<p> +References <a class="el" href="texture__blend_8h-source.html#l00089">_BlendFactor</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::CTextureBlend::getBlendtexture"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a>* NL3D::CTextureBlend::getBlendtexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</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="texture__blend_8h-source.html#l00059">59</a> of file <a class="el" href="texture__blend_8h-source.html">texture_blend.h</a>. +<p> +References <a class="el" href="texture__blend_8h-source.html#l00090">_BlendTex</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>, <a class="el" href="texture_8cpp-source.html#l00043">NL3D::ITexture::ITexture</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NL3D::CTextureBlend::getBlendtexture"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a>* NL3D::CTextureBlend::getBlendtexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</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> +Get a blend texture. +<p> + +<p> +Definition at line <a class="el" href="texture__blend_8h-source.html#l00058">58</a> of file <a class="el" href="texture__blend_8h-source.html">texture_blend.h</a>. +<p> +References <a class="el" href="texture__blend_8h-source.html#l00090">_BlendTex</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>, <a class="el" href="texture_8cpp-source.html#l00043">NL3D::ITexture::ITexture</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="z828_1" doxytag="NL3D::CTextureBlend::getShareName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string NL3D::CTextureBlend::getShareName </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the Unique ident/name of the texture, used for Driver sharing caps. +<p> +Deriver should add a prefix for their texture type. eg "file::pipoland", "noise::4-4-2" etc.... +<p> +Reimplemented from <a class="el" href="classNL3D_1_1ITexture.html#a8">NL3D::ITexture</a>. +<p> +Definition at line <a class="el" href="texture__blend_8cpp-source.html#l00048">48</a> of file <a class="el" href="texture__blend_8cpp-source.html">texture_blend.cpp</a>. +<p> +References <a class="el" href="texture__blend_8h-source.html#l00089">_BlendFactor</a>, <a class="el" href="texture__blend_8h-source.html#l00090">_BlendTex</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="common_8cpp-source.html#l00153">NLMISC::smprintf</a>, and <a class="el" href="texture__blend_8cpp-source.html#l00041">supportSharing</a>. </td> + </tr> +</table> +<a name="z828_3" doxytag="NL3D::CTextureBlend::isSharingEnabled"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CTextureBlend::isSharingEnabled </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +test whether texture sharing is enabled. +<p> + +<p> +Definition at line <a class="el" href="texture__blend_8h-source.html#l00076">76</a> of file <a class="el" href="texture__blend_8h-source.html">texture_blend.h</a>. +<p> +References <a class="el" href="texture__blend_8h-source.html#l00091">_SharingEnabled</a>. </td> + </tr> +</table> +<a name="a0" doxytag="NL3D::CTextureBlend::NLMISC_DECLARE_CLASS"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CTextureBlend::NLMISC_DECLARE_CLASS </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">CTextureBlend </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a8" doxytag="NL3D::CTextureBlend::release"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextureBlend::release </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +release this texture datas. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1ITexture.html#a6">NL3D::ITexture</a>. +<p> +Definition at line <a class="el" href="texture__blend_8cpp-source.html#l00068">68</a> of file <a class="el" href="texture__blend_8cpp-source.html">texture_blend.cpp</a>. +<p> +References <a class="el" href="texture__blend_8h-source.html#l00090">_BlendTex</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NL3D::CTextureBlend::serial"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextureBlend::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> throw (<a class="el" href="structNLMISC_1_1EStream.html">NLMISC::EStream</a>)<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +serial <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> basic infos (clamp ...). +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1ITexture.html#a12">NL3D::ITexture</a>. +<p> +Definition at line <a class="el" href="texture__blend_8cpp-source.html#l00117">117</a> of file <a class="el" href="texture__blend_8cpp-source.html">texture_blend.cpp</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NL3D::CTextureBlend::setBlendFactor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CTextureBlend::setBlendFactor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a9">uint16</a> </td> + <td class="mdname1" valign="top" nowrap> <em>factor</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the blend factor between textures. +<p> +It must range from 0 to 256. <dl compact><dt><b> +Returns: </b><dd> +true if the texture has been touched </dl> +<p> +Definition at line <a class="el" href="texture__blend_8cpp-source.html#l00076">76</a> of file <a class="el" href="texture__blend_8cpp-source.html">texture_blend.cpp</a>. +<p> +References <a class="el" href="texture__blend_8h-source.html#l00089">_BlendFactor</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="texture_8h-source.html#l00219">NL3D::ITexture::touch</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CTextureBlend::setBlendTexture"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextureBlend::setBlendTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>index</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> * </td> + <td class="mdname" nowrap> <em>tex</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set one of the textures between which to blend. If set to NULL, the result texture will be a dummy texture. +<p> + +<p> +Definition at line <a class="el" href="texture__blend_8cpp-source.html#l00090">90</a> of file <a class="el" href="texture__blend_8cpp-source.html">texture_blend.cpp</a>. +<p> +References <a class="el" href="texture__blend_8h-source.html#l00090">_BlendTex</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="texture_8h-source.html#l00219">NL3D::ITexture::touch</a>. </td> + </tr> +</table> +<a name="z828_0" doxytag="NL3D::CTextureBlend::supportSharing"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CTextureBlend::supportSharing </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Does this texture support sharing system. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1ITexture.html#a7">NL3D::ITexture</a>. +<p> +Definition at line <a class="el" href="texture__blend_8cpp-source.html#l00041">41</a> of file <a class="el" href="texture__blend_8cpp-source.html">texture_blend.cpp</a>. +<p> +References <a class="el" href="texture__blend_8h-source.html#l00090">_BlendTex</a>. +<p> +Referenced by <a class="el" href="texture__blend_8cpp-source.html#l00048">getShareName</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o0" doxytag="NL3D::CTextureBlend::_BlendFactor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a9">uint16</a> NL3D::CTextureBlend::_BlendFactor<code> [private]</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="texture__blend_8h-source.html#l00089">89</a> of file <a class="el" href="texture__blend_8h-source.html">texture_blend.h</a>. +<p> +Referenced by <a class="el" href="texture__blend_8cpp-source.html#l00102">doGenerate</a>, <a class="el" href="texture__blend_8h-source.html#l00067">getBlendFactor</a>, <a class="el" href="texture__blend_8cpp-source.html#l00048">getShareName</a>, and <a class="el" href="texture__blend_8cpp-source.html#l00076">setBlendFactor</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NL3D::CTextureBlend::_BlendTex"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CSmartPtr.html">NLMISC::CSmartPtr</a><<a class="el" href="classNL3D_1_1ITexture.html">ITexture</a>> NL3D::CTextureBlend::_BlendTex[2]<code> [private]</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="texture__blend_8h-source.html#l00090">90</a> of file <a class="el" href="texture__blend_8h-source.html">texture_blend.h</a>. +<p> +Referenced by <a class="el" href="texture__blend_8cpp-source.html#l00102">doGenerate</a>, <a class="el" href="texture__blend_8h-source.html#l00058">getBlendtexture</a>, <a class="el" href="texture__blend_8cpp-source.html#l00048">getShareName</a>, <a class="el" href="texture__blend_8cpp-source.html#l00068">release</a>, <a class="el" href="texture__blend_8cpp-source.html#l00090">setBlendTexture</a>, and <a class="el" href="texture__blend_8cpp-source.html#l00041">supportSharing</a>. </td> + </tr> +</table> +<a name="o2" doxytag="NL3D::CTextureBlend::_SharingEnabled"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CTextureBlend::_SharingEnabled<code> [private]</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="texture__blend_8h-source.html#l00091">91</a> of file <a class="el" href="texture__blend_8h-source.html">texture_blend.h</a>. +<p> +Referenced by <a class="el" href="texture__blend_8cpp-source.html#l00061">enableSharing</a>, and <a class="el" href="texture__blend_8h-source.html#l00076">isSharingEnabled</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="texture__blend_8h-source.html">texture_blend.h</a><li><a class="el" href="texture__blend_8cpp-source.html">texture_blend.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |