aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNL3D_1_1CTextureMem.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNL3D_1_1CTextureMem.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CTextureMem.html')
-rw-r--r--docs/doxygen/nel/classNL3D_1_1CTextureMem.html1053
1 files changed, 1053 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CTextureMem.html b/docs/doxygen/nel/classNL3D_1_1CTextureMem.html
new file mode 100644
index 00000000..05a012b3
--- /dev/null
+++ b/docs/doxygen/nel/classNL3D_1_1CTextureMem.html
@@ -0,0 +1,1053 @@
+<!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>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</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>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</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>
+&nbsp;
+
+<!-- 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>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <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> &nbsp; </center>
+<hr><h1>NL3D::CTextureMem Class Reference</h1><a class="el" href="classNL3D_1_1CTextureMem.html">CTextureMem</a>.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CTextureMem:
+<p><center><img src="classNL3D_1_1CTextureMem.gif" usemap="#NL3D::CTextureMem_map" border="0"></center>
+<map name="NL3D::CTextureMem_map">
+<area href="classNL3D_1_1ITexture.html" alt="NL3D::ITexture" shape="rect" coords="141,112,272,136">
+<area href="classNLMISC_1_1CBitmap.html" alt="NLMISC::CBitmap" shape="rect" coords="0,56,131,80">
+<area href="classNLMISC_1_1CRefCount.html" alt="NLMISC::CRefCount" shape="rect" coords="141,56,272,80">
+<area href="classNLMISC_1_1IStreamable.html" alt="NLMISC::IStreamable" shape="rect" coords="282,56,413,80">
+<area href="classNLMISC_1_1IClassable.html" alt="NLMISC::IClassable" shape="rect" coords="282,0,413,24">
+</map>
+<a href="classNL3D_1_1CTextureMem-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>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a0">CTextureMem</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Default constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a1">~CTextureMem</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a2">CTextureMem</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> *<a class="el" href="driver__opengl__extension__def_8h.html#a394">data</a>, <a class="el" href="memory__common_8h.html#a11">uint32</a> length, bool _delete, bool isFile=true, <a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a389">width</a>=0, <a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a390">height</a>=0, CBitmap::TType texType=CBitmap::RGBA)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>constructor.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a3">setPointer</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> *<a class="el" href="driver__opengl__extension__def_8h.html#a394">data</a>, <a class="el" href="memory__common_8h.html#a11">uint32</a> length, bool _delete, bool isFile=true, <a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a389">width</a>=0, <a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a390">height</a>=0, CBitmap::TType texType=CBitmap::RGBA)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the pointer of the mem file containing the texture.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a4">getPointer</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the Pointer of the memory file containing the texture.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a5">getLength</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get length of the memory file containing the texture.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a6">isDeletable</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return true if the class handle the delete of the pointer.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a7">doGenerate</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Generate the texture.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a8">supportSharing</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>inherited from <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a>.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual std::string&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a9">getShareName</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>inherited from <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a>.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a10">setShareName</a> (const std::string &amp;shareName)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Make this texture sharable by assigning it a share name. An empty share name means it is not sharable, which is the default.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a11">allowDegradation</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>texture file may allow the driver to degrade (default is true).</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a12">setAllowDegradation</a> (bool allow)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>===========================================================================.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a13">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Todo: serialize a mem texture.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#a14">NLMISC_DECLARE_CLASS</a> (CTextureMem)</td></tr>
+<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#d0">Create1x1WhiteTex</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>===========================================================================.</em> <a href="#d0">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#a7">uint8</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#o0">_Data</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#o1">_Length</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#o2">_Delete</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#o3">_IsFile</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#o4">_AllowDegradation</a></td></tr>
+<tr><td nowrap align=right valign=top>std::string&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#o5">_ShareName</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CBitmap.html#s11">NLMISC::CBitmap::TType</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#o6">_TexType</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#o7">_TexWidth</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>keep size for textures that aren't from a file.</em> <a href="#o7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureMem.html#o8">_TexHeight</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>keep size for textures that aren't from a file.</em> <a href="#o8">More...</a><em></em></font><br><br></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<a class="el" href="classNL3D_1_1CTextureMem.html">CTextureMem</a>.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00042">42</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NL3D::CTextureMem::CTextureMem"></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::CTextureMem::CTextureMem </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Default constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00059">59</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+References <a class="el" href="texture__mem_8h-source.html#l00048">_AllowDegradation</a>, <a class="el" href="texture__mem_8h-source.html#l00044">_Data</a>, <a class="el" href="texture__mem_8h-source.html#l00046">_Delete</a>, <a class="el" href="texture__mem_8h-source.html#l00050">_TexType</a>, <a class="el" href="bitmap_8h-source.html#l00253">NLMISC::CBitmap::CBitmap</a>, and <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">NLMISC::CBitmap::RGBA</a>.
+<p>
+Referenced by <a class="el" href="texture__mem_8cpp-source.html#l00072">Create1x1WhiteTex</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NL3D::CTextureMem::~CTextureMem"></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"> virtual NL3D::CTextureMem::~CTextureMem </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Destructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00070">70</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+References <a class="el" href="texture__mem_8h-source.html#l00044">_Data</a>, and <a class="el" href="texture__mem_8h-source.html#l00046">_Delete</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NL3D::CTextureMem::CTextureMem"></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::CTextureMem::CTextureMem </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>data</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>length</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>_delete</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>isFile</em> = true, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>width</em> = 0, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>height</em> = 0, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CBitmap::TType&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>texType</em> = CBitmap::RGBA</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+constructor.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>data</em>&nbsp;</td><td>
+Pointer of the file. </td></tr>
+<tr><td valign=top><em>length</em>&nbsp;</td><td>
+length, in bytes, of the datas. </td></tr>
+<tr><td valign=top><em>_delete</em>&nbsp;</td><td>
+Is true if the class must delete the pointer. </td></tr>
+<tr><td valign=top><em>isFile</em>&nbsp;</td><td>
+is true if the data must be interpreted as a texture file. Otherwise, it is interpreted as the raw datas of the texture, so the format and size of the texture must also have been set to match the raw datas </td></tr>
+<tr><td valign=top><em>width</em>&nbsp;</td><td>
+used only if isFile is set to false </td></tr>
+<tr><td valign=top><em>height</em>&nbsp;</td><td>
+used only if isFile is set to false </td></tr>
+<tr><td valign=top><em>texType</em>&nbsp;</td><td>
+relevant only when isFile is set to false. Gives the format to expand the texture to when it is generated. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00089">89</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+References <a class="el" href="texture__mem_8h-source.html#l00048">_AllowDegradation</a>, <a class="el" href="texture__mem_8h-source.html#l00044">_Data</a>, <a class="el" href="texture__mem_8h-source.html#l00046">_Delete</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">data</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">height</a>, <a class="el" href="texture__mem_8h-source.html#l00108">setPointer</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">width</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a11" doxytag="NL3D::CTextureMem::allowDegradation"></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"> virtual bool NL3D::CTextureMem::allowDegradation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+texture file may allow the driver to degrade (default is true).
+<p>
+
+<p>
+Reimplemented from <a class="el" href="classNL3D_1_1ITexture.html#a11">NL3D::ITexture</a>.
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00167">167</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+References <a class="el" href="texture__mem_8h-source.html#l00048">_AllowDegradation</a>. </td>
+ </tr>
+</table>
+<a name="d0" doxytag="NL3D::CTextureMem::Create1x1WhiteTex"></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::CTextureMem::Create1x1WhiteTex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+===========================================================================.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8cpp-source.html#l00072">72</a> of file <a class="el" href="texture__mem_8cpp-source.html">texture_mem.cpp</a>.
+<p>
+References <a class="el" href="texture__mem_8h-source.html#l00059">CTextureMem</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NL3D::CTextureMem::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::CTextureMem::doGenerate </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Generate the texture.
+<p>
+
+<p>
+Implements <a class="el" href="classNL3D_1_1ITexture.html#b0">NL3D::ITexture</a>.
+<p>
+Definition at line <a class="el" href="texture__mem_8cpp-source.html#l00045">45</a> of file <a class="el" href="texture__mem_8cpp-source.html">texture_mem.cpp</a>.
+<p>
+References <a class="el" href="texture__mem_8h-source.html#l00044">_Data</a>, <a class="el" href="texture__mem_8h-source.html#l00045">_Length</a>, <a class="el" href="texture__mem_8h-source.html#l00053">_TexHeight</a>, <a class="el" href="texture__mem_8h-source.html#l00050">_TexType</a>, <a class="el" href="texture__mem_8h-source.html#l00053">_TexWidth</a>, <a class="el" href="bitmap_8cpp-source.html#l01375">NLMISC::CBitmap::buildMipMaps</a>, <a class="el" href="mem__stream_8h-source.html#l00196">NLMISC::CMemStream::fill</a>, <a class="el" href="bitmap_8h-source.html#l00307">NLMISC::CBitmap::getPixels</a>, <a class="el" href="bitmap_8cpp-source.html#l00094">NLMISC::CBitmap::load</a>, <a class="el" href="bitmap_8cpp-source.html#l00156">NLMISC::CBitmap::makeDummy</a>, and <a class="el" href="bitmap_8cpp-source.html#l01498">NLMISC::CBitmap::resize</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NL3D::CTextureMem::getLength"></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#a11">uint32</a> NL3D::CTextureMem::getLength </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get length of the memory file containing the texture.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00133">133</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+References <a class="el" href="texture__mem_8h-source.html#l00045">_Length</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NL3D::CTextureMem::getPointer"></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#a7">uint8</a>* NL3D::CTextureMem::getPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the Pointer of the memory file containing the texture.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00127">127</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+References <a class="el" href="texture__mem_8h-source.html#l00044">_Data</a>. </td>
+ </tr>
+</table>
+<a name="a9" doxytag="NL3D::CTextureMem::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"> virtual std::string NL3D::CTextureMem::getShareName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+inherited from <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a>.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="classNL3D_1_1ITexture.html#a8">NL3D::ITexture</a>.
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00154">154</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+References <a class="el" href="texture__mem_8h-source.html#l00049">_ShareName</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NL3D::CTextureMem::isDeletable"></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::CTextureMem::isDeletable </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return true if the class handle the delete of the pointer.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00139">139</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+References <a class="el" href="texture__mem_8h-source.html#l00046">_Delete</a>. </td>
+ </tr>
+</table>
+<a name="a14" doxytag="NL3D::CTextureMem::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::CTextureMem::NLMISC_DECLARE_CLASS </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CTextureMem&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ </td>
+ </tr>
+</table>
+<a name="a13" doxytag="NL3D::CTextureMem::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"> virtual void NL3D::CTextureMem::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>f</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> throw (<a class="el" href="structNLMISC_1_1EStream.html">NLMISC::EStream</a>)<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Todo: serialize a mem texture.
+<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__mem_8h-source.html#l00172">172</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>. </td>
+ </tr>
+</table>
+<a name="a12" doxytag="NL3D::CTextureMem::setAllowDegradation"></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::CTextureMem::setAllowDegradation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>allow</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+===========================================================================.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8cpp-source.html#l00085">85</a> of file <a class="el" href="texture__mem_8cpp-source.html">texture_mem.cpp</a>.
+<p>
+References <a class="el" href="texture__mem_8h-source.html#l00048">_AllowDegradation</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NL3D::CTextureMem::setPointer"></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::CTextureMem::setPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>data</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>length</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>_delete</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>isFile</em> = true, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>width</em> = 0, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>height</em> = 0, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CBitmap::TType&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>texType</em> = CBitmap::RGBA</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the pointer of the mem file containing the texture.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>data</em>&nbsp;</td><td>
+Pointer of the file. </td></tr>
+<tr><td valign=top><em>length</em>&nbsp;</td><td>
+length, in bytes, of the datas. </td></tr>
+<tr><td valign=top><em>isFile</em>&nbsp;</td><td>
+is true if the data must be interpreted as a texture file. Otherwise, it is interpreted as the raw datas of the texture, so the format and size of the texture must also have been set to match the raw datas </td></tr>
+<tr><td valign=top><em>_delete</em>&nbsp;</td><td>
+Is true if the class must delete the pointer. </td></tr>
+<tr><td valign=top><em>texType</em>&nbsp;</td><td>
+relevant only when isFile is set to false. Gives the format to expand the texture to when it is generated. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00108">108</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+References <a class="el" href="texture__mem_8h-source.html#l00044">_Data</a>, <a class="el" href="texture__mem_8h-source.html#l00046">_Delete</a>, <a class="el" href="texture__mem_8h-source.html#l00047">_IsFile</a>, <a class="el" href="texture__mem_8h-source.html#l00045">_Length</a>, <a class="el" href="texture__mem_8h-source.html#l00053">_TexHeight</a>, <a class="el" href="texture__mem_8h-source.html#l00050">_TexType</a>, <a class="el" href="texture__mem_8h-source.html#l00053">_TexWidth</a>, <a class="el" href="texture_8h-source.html#l00369">NL3D::ITexture::_Touched</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">data</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">height</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">width</a>.
+<p>
+Referenced by <a class="el" href="texture__mem_8h-source.html#l00089">CTextureMem</a>. </td>
+ </tr>
+</table>
+<a name="a10" doxytag="NL3D::CTextureMem::setShareName"></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::CTextureMem::setShareName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>shareName</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Make this texture sharable by assigning it a share name. An empty share name means it is not sharable, which is the default.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00161">161</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+References <a class="el" href="texture__mem_8h-source.html#l00049">_ShareName</a>. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="NL3D::CTextureMem::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"> virtual bool NL3D::CTextureMem::supportSharing </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+inherited from <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a>.
+<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__mem_8h-source.html#l00148">148</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+References <a class="el" href="texture__mem_8h-source.html#l00049">_ShareName</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="o4" doxytag="NL3D::CTextureMem::_AllowDegradation"></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::CTextureMem::_AllowDegradation<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00048">48</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+Referenced by <a class="el" href="texture__mem_8h-source.html#l00167">allowDegradation</a>, <a class="el" href="texture__mem_8h-source.html#l00059">CTextureMem</a>, and <a class="el" href="texture__mem_8cpp-source.html#l00085">setAllowDegradation</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NL3D::CTextureMem::_Data"></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#a7">uint8</a>* NL3D::CTextureMem::_Data<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Reimplemented from <a class="el" href="classNLMISC_1_1CBitmap.html#n0">NLMISC::CBitmap</a>.
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00044">44</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+Referenced by <a class="el" href="texture__mem_8h-source.html#l00059">CTextureMem</a>, <a class="el" href="texture__mem_8cpp-source.html#l00045">doGenerate</a>, <a class="el" href="texture__mem_8h-source.html#l00127">getPointer</a>, <a class="el" href="texture__mem_8h-source.html#l00108">setPointer</a>, and <a class="el" href="texture__mem_8h-source.html#l00070">~CTextureMem</a>. </td>
+ </tr>
+</table>
+<a name="o2" doxytag="NL3D::CTextureMem::_Delete"></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::CTextureMem::_Delete<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00046">46</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+Referenced by <a class="el" href="texture__mem_8h-source.html#l00059">CTextureMem</a>, <a class="el" href="texture__mem_8h-source.html#l00139">isDeletable</a>, <a class="el" href="texture__mem_8h-source.html#l00108">setPointer</a>, and <a class="el" href="texture__mem_8h-source.html#l00070">~CTextureMem</a>. </td>
+ </tr>
+</table>
+<a name="o3" doxytag="NL3D::CTextureMem::_IsFile"></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::CTextureMem::_IsFile<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00047">47</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+Referenced by <a class="el" href="texture__mem_8h-source.html#l00108">setPointer</a>. </td>
+ </tr>
+</table>
+<a name="o1" doxytag="NL3D::CTextureMem::_Length"></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#a11">uint32</a> NL3D::CTextureMem::_Length<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00045">45</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+Referenced by <a class="el" href="texture__mem_8cpp-source.html#l00045">doGenerate</a>, <a class="el" href="texture__mem_8h-source.html#l00133">getLength</a>, and <a class="el" href="texture__mem_8h-source.html#l00108">setPointer</a>. </td>
+ </tr>
+</table>
+<a name="o5" doxytag="NL3D::CTextureMem::_ShareName"></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::CTextureMem::_ShareName<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00049">49</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+Referenced by <a class="el" href="texture__mem_8h-source.html#l00154">getShareName</a>, <a class="el" href="texture__mem_8h-source.html#l00161">setShareName</a>, and <a class="el" href="texture__mem_8h-source.html#l00148">supportSharing</a>. </td>
+ </tr>
+</table>
+<a name="o8" doxytag="NL3D::CTextureMem::_TexHeight"></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#a15">uint</a> NL3D::CTextureMem::_TexHeight<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+keep size for textures that aren't from a file.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00053">53</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+Referenced by <a class="el" href="texture__mem_8cpp-source.html#l00045">doGenerate</a>, and <a class="el" href="texture__mem_8h-source.html#l00108">setPointer</a>. </td>
+ </tr>
+</table>
+<a name="o6" doxytag="NL3D::CTextureMem::_TexType"></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_1CBitmap.html#s11">NLMISC::CBitmap::TType</a> NL3D::CTextureMem::_TexType<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00050">50</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+Referenced by <a class="el" href="texture__mem_8h-source.html#l00059">CTextureMem</a>, <a class="el" href="texture__mem_8cpp-source.html#l00045">doGenerate</a>, and <a class="el" href="texture__mem_8h-source.html#l00108">setPointer</a>. </td>
+ </tr>
+</table>
+<a name="o7" doxytag="NL3D::CTextureMem::_TexWidth"></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#a15">uint</a> NL3D::CTextureMem::_TexWidth<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+keep size for textures that aren't from a file.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__mem_8h-source.html#l00053">53</a> of file <a class="el" href="texture__mem_8h-source.html">texture_mem.h</a>.
+<p>
+Referenced by <a class="el" href="texture__mem_8cpp-source.html#l00045">doGenerate</a>, and <a class="el" href="texture__mem_8h-source.html#l00108">setPointer</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="texture__mem_8h-source.html">texture_mem.h</a><li><a class="el" href="texture__mem_8cpp-source.html">texture_mem.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </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>