aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNLMISC_1_1CBitmap.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/classNLMISC_1_1CBitmap.html3418
1 files changed, 3418 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLMISC_1_1CBitmap.html b/docs/doxygen/nel/classNLMISC_1_1CBitmap.html
new file mode 100644
index 00000000..3700282c
--- /dev/null
+++ b/docs/doxygen/nel/classNLMISC_1_1CBitmap.html
@@ -0,0 +1,3418 @@
+<!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>NLMISC::CBitmap Class Reference</h1>Class Bitmap.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="bitmap_8h-source.html">bitmap.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NLMISC::CBitmap:
+<p><center><img src="classNLMISC_1_1CBitmap.gif" usemap="#NLMISC::CBitmap_map" border="0"></center>
+<map name="NLMISC::CBitmap_map">
+<area href="classNL3D_1_1ITexture.html" alt="NL3D::ITexture" shape="rect" coords="0,56,150,80">
+<area href="classNL3D_1_1CTextureBlank.html" alt="NL3D::CTextureBlank" shape="rect" coords="160,112,310,136">
+<area href="classNL3D_1_1CTextureBlend.html" alt="NL3D::CTextureBlend" shape="rect" coords="160,168,310,192">
+<area href="classNL3D_1_1CTextureBump.html" alt="NL3D::CTextureBump" shape="rect" coords="160,224,310,248">
+<area href="classNL3D_1_1CTextureCross.html" alt="NL3D::CTextureCross" shape="rect" coords="160,280,310,304">
+<area href="classNL3D_1_1CTextureCube.html" alt="NL3D::CTextureCube" shape="rect" coords="160,336,310,360">
+<area href="classNL3D_1_1CTextureDLM.html" alt="NL3D::CTextureDLM" shape="rect" coords="160,392,310,416">
+<area href="classNL3D_1_1CTextureFar.html" alt="NL3D::CTextureFar" shape="rect" coords="160,448,310,472">
+<area href="classNL3D_1_1CTextureFile.html" alt="NL3D::CTextureFile" shape="rect" coords="160,504,310,528">
+<area href="classNL3D_1_1CTextureFont.html" alt="NL3D::CTextureFont" shape="rect" coords="160,560,310,584">
+<area href="classNL3D_1_1CTextureGrouped.html" alt="NL3D::CTextureGrouped" shape="rect" coords="160,616,310,640">
+<area href="classNL3D_1_1CTextureMem.html" alt="NL3D::CTextureMem" shape="rect" coords="160,672,310,696">
+<area href="classNL3D_1_1CTextureMultiFile.html" alt="NL3D::CTextureMultiFile" shape="rect" coords="160,728,310,752">
+<area href="classNL3D_1_1CTextureNear.html" alt="NL3D::CTextureNear" shape="rect" coords="160,784,310,808">
+</map>
+<a href="classNLMISC_1_1CBitmap-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>[NOHEADER]</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z276_0">getDXTC1Texel</a> (<a class="el" href="memory__common_8h.html#a14">sint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a364">x</a>, <a class="el" href="memory__common_8h.html#a14">sint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a365">y</a>, <a class="el" href="memory__common_8h.html#a11">uint32</a> numMipMap) const</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z276_1">getDXTC3Texel</a> (<a class="el" href="memory__common_8h.html#a14">sint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a364">x</a>, <a class="el" href="memory__common_8h.html#a14">sint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a365">y</a>, <a class="el" href="memory__common_8h.html#a11">uint32</a> numMipMap) const</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z276_2">getDXTC5Texel</a> (<a class="el" href="memory__common_8h.html#a14">sint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a364">x</a>, <a class="el" href="memory__common_8h.html#a14">sint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a365">y</a>, <a class="el" href="memory__common_8h.html#a11">uint32</a> numMipMap) const</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z276_3">getDXTCColorFromBlock</a> (const <a class="el" href="memory__common_8h.html#a7">uint8</a> *block, <a class="el" href="memory__common_8h.html#a14">sint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a364">x</a>, <a class="el" href="memory__common_8h.html#a14">sint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a365">y</a>)</td></tr>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#s11">TType</a> { <br>
+&nbsp;&nbsp;<a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a> = 0,
+<a class="el" href="classNLMISC_1_1CBitmap.html#s11s1">Luminance</a>,
+<a class="el" href="classNLMISC_1_1CBitmap.html#s11s2">Alpha</a>,
+<a class="el" href="classNLMISC_1_1CBitmap.html#s11s3">AlphaLuminance</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="classNLMISC_1_1CBitmap.html#s11s4">DXTC1</a>,
+<a class="el" href="classNLMISC_1_1CBitmap.html#s11s5">DXTC1Alpha</a>,
+<a class="el" href="classNLMISC_1_1CBitmap.html#s11s6">DXTC3</a>,
+<a class="el" href="classNLMISC_1_1CBitmap.html#s11s7">DXTC5</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="classNLMISC_1_1CBitmap.html#s11s8">DsDt</a>,
+<a class="el" href="classNLMISC_1_1CBitmap.html#s11s9">ModeCount</a>,
+<a class="el" href="classNLMISC_1_1CBitmap.html#s11s10">DonTKnow</a> = 0xffffffff
+<br>
+ }</td></tr>
+<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="classNLMISC_1_1CBitmap.html#a0">CBitmap</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#a1">~CBitmap</a> ()</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="classNLMISC_1_1CBitmap.html#a2">load</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f, <a class="el" href="memory__common_8h.html#a15">uint</a> mipMapSkip=0)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Read a bitmap(TGA or DDS) from an <a class="el" href="classNLMISC_1_1IStream.html">IStream</a>.</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="classNLMISC_1_1CBitmap.html#a3">makeDummy</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Make a dummy "?" texture.</em> <a href="#a3">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="classNLMISC_1_1CBitmap.html#a4">convertToType</a> (<a class="el" href="classNLMISC_1_1CBitmap.html#s11">TType</a> <a class="el" href="driver__opengl__extension__def_8h.html#a373">type</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Convert bitmap to another type conversion to rgba always work.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CBitmap.html#s11">TType</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#a5">getPixelFormat</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the format of pixels stored at the present time in the object buffer.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#a6">getWidth</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> numMipMap=0) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the image width, or a mipmap width.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#a7">getHeight</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> numMipMap=0) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the image height, or a mipmap height.</em> <a href="#a7">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="classNLMISC_1_1CBitmap.html#a8">getSize</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> numMipMap=0) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the size (in pixels) of the image: &lt;=&gt; <a class="el" href="classNLMISC_1_1CBitmap.html#a7">getHeight</a>()*<a class="el" href="classNLMISC_1_1CBitmap.html#a6">getWidth</a>().</em> <a href="#a8">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="classNLMISC_1_1CBitmap.html#a9">getMipMapCount</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the number of mipmaps.</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="classNLMISC_1_1CBitmap.html#a10">rotateCCW</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Rotate a bitmap in CCW mode.</em> <a href="#a10">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="classNLMISC_1_1CBitmap.html#a11">buildMipMaps</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Build the mipmaps of the bitmap if they don't exist.</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="classNLMISC_1_1CBitmap.html#a12">releaseMipMaps</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Release the mipmaps of the bitmap if they exist.</em> <a href="#a12">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="classNLMISC_1_1CBitmap.html#a13">reset</a> (<a class="el" href="classNLMISC_1_1CBitmap.html#s11">TType</a> <a class="el" href="driver__opengl__extension__def_8h.html#a373">type</a>=RGBA)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Reset the buffer.</em> <a href="#a13">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="classNLMISC_1_1CBitmap.html#a14">resample</a> (<a class="el" href="memory__common_8h.html#a10">sint32</a> nNewWidth, <a class="el" href="memory__common_8h.html#a10">sint32</a> nNewHeight)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Resample the bitmap.</em> <a href="#a14">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="classNLMISC_1_1CBitmap.html#a15">resize</a> (<a class="el" href="memory__common_8h.html#a10">sint32</a> nNewWidth, <a class="el" href="memory__common_8h.html#a10">sint32</a> nNewHeight, <a class="el" href="classNLMISC_1_1CBitmap.html#s11">TType</a> newType=DonTKnow)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Resize the bitmap.</em> <a href="#a15">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="classNLMISC_1_1CBitmap.html#a16">resizeMipMap</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> numMipMap, <a class="el" href="memory__common_8h.html#a10">sint32</a> nNewWidth, <a class="el" href="memory__common_8h.html#a10">sint32</a> nNewHeight)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>ADVANCED USE Resize a single mipmap level.</em> <a href="#a16">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="classNLMISC_1_1CBitmap.html#a17">setMipMapCount</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> mmc)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>ADVANCED USE To use in conjunction with resizeMipMap.</em> <a href="#a17">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="classNLMISC_1_1CBitmap.html#a18">writeTGA</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f, <a class="el" href="memory__common_8h.html#a11">uint32</a> d, bool upsideDown=false)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Write a TGA (24 or 32 bits) from the object pixels buffer.</em> <a href="#a18">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="classNLMISC_1_1CBitmap.html#a19">writeJPG</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f, <a class="el" href="memory__common_8h.html#a7">uint8</a> quality=80)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Write a JPG from the object pixels buffer.</em> <a href="#a19">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="classNLMISC_1_1CBitmap.html#a20">loadGrayscaleAsAlpha</a> (bool loadAsAlpha)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Tell the bitmap to load grayscale bitmap as alpha or luminance format.</em> <a href="#a20">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="classNLMISC_1_1CBitmap.html#a21">isGrayscaleAsAlpha</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Tell if the bitmap loads grayscale bitmap as alpha or luminance format.</em> <a href="#a21">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="classNLMISC_1_1CBitmap.html#a22">blit</a> (const CBitmap *<a class="el" href="driver__opengl__extension__def_8h.html#a409">src</a>, <a class="el" href="memory__common_8h.html#a10">sint32</a> <a class="el" href="driver__opengl__extension__def_8h.html#a364">x</a>, <a class="el" href="memory__common_8h.html#a10">sint32</a> <a class="el" href="driver__opengl__extension__def_8h.html#a365">y</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Perform a simple blit from the source to this bitmap at the (x, y) pos The dimension of the original bitmap are preserved For now, this texture and the source must have the same format With DXTC format, the dest coordinates must be a multiple of 4 mipmap are not rebuild when present.</em> <a href="#a22">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBAF.html">CRGBAF</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#a23">getColor</a> (float <a class="el" href="driver__opengl__extension__def_8h.html#a364">x</a>, float <a class="el" href="driver__opengl__extension__def_8h.html#a365">y</a>) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the color in the bitmap given a pixel size The mipmaps must be built.</em> <a href="#a23">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#a24">getPixelColor</a> (<a class="el" href="memory__common_8h.html#a14">sint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a364">x</a>, <a class="el" href="memory__common_8h.html#a14">sint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a365">y</a>, <a class="el" href="memory__common_8h.html#a11">uint32</a> numMipMap=0) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the pixel at the given coorrdinate.</em> <a href="#a24">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="classNLMISC_1_1CBitmap.html#a25">flipH</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Horizontal flip (all the columns are flipped).</em> <a href="#a25">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="classNLMISC_1_1CBitmap.html#a26">flipV</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Vertical flip (all the rows are flipped).</em> <a href="#a26">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="classNLMISC_1_1CBitmap.html#a27">rot90CW</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Rotation of the bitmap of 90 degree in clockwise.</em> <a href="#a27">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="classNLMISC_1_1CBitmap.html#a28">rot90CCW</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Rotation of the bitmap of 90 degree in counter clockwise.</em> <a href="#a28">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="classNLMISC_1_1CBitmap.html#a29">blend</a> (const CBitmap &amp;Bm0, const CBitmap &amp;Bm1, <a class="el" href="memory__common_8h.html#a9">uint16</a> factor)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set this bitmap as the result of the blend bewteen 2 bitmap REQUIRE : - Bm0 and Bm1 should have the same size.</em> <a href="#a29">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; <a class="el" href="memory__common_8h.html#a7">uint8</a> &gt; &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z277_0">getPixels</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> numMipMap=0)</td></tr>
+<tr><td nowrap align=right valign=top>const std::vector&lt; <a class="el" href="memory__common_8h.html#a7">uint8</a> &gt; &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z277_1">getPixels</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> numMipMap=0) const</td></tr>
+<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#d0">loadSize</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f, <a class="el" href="memory__common_8h.html#a11">uint32</a> &amp;<a class="el" href="driver__opengl__extension__def_8h.html#a389">width</a>, <a class="el" href="memory__common_8h.html#a11">uint32</a> &amp;<a class="el" href="driver__opengl__extension__def_8h.html#a390">height</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Determinate the bitmap size from a bitmap(TGA or DDS) from an <a class="el" href="classNLMISC_1_1IStream.html">IStream</a>.</em> <a href="#d0">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="classNLMISC_1_1CBitmap.html#d1">loadSize</a> (const std::string &amp;path, <a class="el" href="memory__common_8h.html#a11">uint32</a> &amp;retWidth, <a class="el" href="memory__common_8h.html#a11">uint32</a> &amp;retHeight)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>same than other <a class="el" href="classNLMISC_1_1CBitmap.html#d0">loadSize</a>(), but with a pathName.</em> <a href="#d1">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>enum <a class="el" href="classNLMISC_1_1CBitmap.html#s11">NLMISC::CBitmap::TType</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a></td></tr>
+<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>const <a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#p0">bitPerPixels</a> [ModeCount]</td></tr>
+<tr><td nowrap align=right valign=top>const <a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#p1">DXTC1HEADER</a> = NL_MAKEFOURCC('D','X', 'T', '1')</td></tr>
+<tr><td nowrap align=right valign=top>const <a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#p2">DXTC3HEADER</a> = NL_MAKEFOURCC('D','X', 'T', '3')</td></tr>
+<tr><td nowrap align=right valign=top>const <a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#p3">DXTC5HEADER</a> = NL_MAKEFOURCC('D','X', 'T', '5')</td></tr>
+<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; <a class="el" href="memory__common_8h.html#a7">uint8</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#n0">_Data</a> [<a class="el" href="namespaceNLMISC.html#a4">MAX_MIPMAP</a>]</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="classNLMISC_1_1CBitmap.html#n1">_MipMapCount</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#n2">_LoadGrayscaleAsAlpha</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="classNLMISC_1_1CBitmap.html#n3">_Width</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="classNLMISC_1_1CBitmap.html#n4">_Height</a></td></tr>
+<tr><td colspan=2><br><h2>Private Methods</h2></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="classNLMISC_1_1CBitmap.html#c0">blend</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> &amp;n0, <a class="el" href="memory__common_8h.html#a11">uint32</a> &amp;n1, <a class="el" href="memory__common_8h.html#a11">uint32</a> coef0)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>blend 2 integers between 0 and 255 .</em> <a href="#c0">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="classNLMISC_1_1CBitmap.html#c1">readDDS</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f, <a class="el" href="memory__common_8h.html#a15">uint</a> mipMapSkip)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Read a DDS from an <a class="el" href="classNLMISC_1_1IStream.html">IStream</a>.</em> <a href="#c1">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="classNLMISC_1_1CBitmap.html#c2">readTGA</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Read a TGA from an <a class="el" href="classNLMISC_1_1IStream.html">IStream</a>.</em> <a href="#c2">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="classNLMISC_1_1CBitmap.html#c3">decompressDXT1</a> (bool <a class="el" href="driver__opengl__extension__def_8h.html#a420">alpha</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Decompress bitmap compressed with S3TC DXT1 algorithm.</em> <a href="#c3">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="classNLMISC_1_1CBitmap.html#c4">decompressDXT3</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Decompress bitmap compressed with S3TC DXT3 algorithm.</em> <a href="#c4">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="classNLMISC_1_1CBitmap.html#c5">decompressDXT5</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Decompress bitmap compressed with S3TC DXT3 algorithm.</em> <a href="#c5">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="classNLMISC_1_1CBitmap.html#c6">resamplePicture32</a> (const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> *pSrc, <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> *pDest, <a class="el" href="memory__common_8h.html#a10">sint32</a> nSrcWidth, <a class="el" href="memory__common_8h.html#a10">sint32</a> nSrcHeight, <a class="el" href="memory__common_8h.html#a10">sint32</a> nDestWidth, <a class="el" href="memory__common_8h.html#a10">sint32</a> nDestHeight)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The resample function.</em> <a href="#c6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#c7">getColorInterp</a> (float <a class="el" href="driver__opengl__extension__def_8h.html#a364">x</a>, float <a class="el" href="driver__opengl__extension__def_8h.html#a365">y</a>, float xy00, float xy01, float xy10, float xy11) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Quadratic interpolator.</em> <a href="#c7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#c8">CBitmap::getRGBAPixel</a> (<a class="el" href="memory__common_8h.html#a14">sint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a364">x</a>, <a class="el" href="memory__common_8h.html#a14">sint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a365">y</a>, <a class="el" href="memory__common_8h.html#a11">uint32</a> numMipMap) const</td></tr>
+<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_0">convertToDXTC5</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_1">convertToRGBA</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_2">luminanceToRGBA</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_3">alphaToRGBA</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_4">alphaLuminanceToRGBA</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_5">convertToLuminance</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_6">rgbaToLuminance</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_7">alphaToLuminance</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_8">alphaLuminanceToLuminance</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_9">convertToAlpha</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_10">rgbaToAlpha</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_11">luminanceToAlpha</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_12">alphaLuminanceToAlpha</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_13">convertToAlphaLuminance</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_14">rgbaToAlphaLuminance</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_15">luminanceToAlphaLuminance</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#z275_16">alphaToAlphaLuminance</a> ()</td></tr>
+<tr><td colspan=2><br><h2>Static Private Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitmap.html#f0">uncompress</a> (<a class="el" href="memory__common_8h.html#a9">uint16</a> color, <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Extracting RGBA infos from a 16bits word.</em> <a href="#f0">More...</a><em></em></font><br><br></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Class Bitmap.
+<p>
+<dl compact><dt><b>
+Author: </b><dd>
+Stephane Coutelas , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2000 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="bitmap_8h-source.html#l00086">86</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.<hr><h2>Member Enumeration Documentation</h2>
+<a name="s11" doxytag="NLMISC::CBitmap::TType"></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"> enum NLMISC::CBitmap::TType
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="s11s0" doxytag="RGBA"></a><em>RGBA</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s11s1" doxytag="Luminance"></a><em>Luminance</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s11s2" doxytag="Alpha"></a><em>Alpha</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s11s3" doxytag="AlphaLuminance"></a><em>AlphaLuminance</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s11s4" doxytag="DXTC1"></a><em>DXTC1</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s11s5" doxytag="DXTC1Alpha"></a><em>DXTC1Alpha</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s11s6" doxytag="DXTC3"></a><em>DXTC3</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s11s7" doxytag="DXTC5"></a><em>DXTC5</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s11s8" doxytag="DsDt"></a><em>DsDt</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s11s9" doxytag="ModeCount"></a><em>ModeCount</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s11s10" doxytag="DonTKnow"></a><em>DonTKnow</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="bitmap_8h-source.html#l00233">233</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8h-source.html#l00334">getPixelFormat</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NLMISC::CBitmap::CBitmap"></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"> NLMISC::CBitmap::CBitmap </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>
+
+<p>
+Definition at line <a class="el" href="bitmap_8h-source.html#l00253">253</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00093">_LoadGrayscaleAsAlpha</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, and <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l02751">blend</a>, <a class="el" href="texture__file_8cpp-source.html#l00041">NL3D::CTextureFile::buildBitmapFromFile</a>, <a class="el" href="texture__mem_8h-source.html#l00059">NL3D::CTextureMem::CTextureMem</a>, and <a class="el" href="texture__font_8cpp-source.html#l00154">NL3D::CTextureFont::dumpTextureFont</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NLMISC::CBitmap::~CBitmap"></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 NLMISC::CBitmap::~CBitmap </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>
+
+<p>
+Definition at line <a class="el" href="bitmap_8h-source.html#l00262">262</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="z275_12" doxytag="NLMISC::CBitmap::alphaLuminanceToAlpha"></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 NLMISC::CBitmap::alphaLuminanceToAlpha </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00726">726</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s2">Alpha</a>, <a class="el" href="common_8h-source.html#l00177">NLMISC::contReset</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, and <a class="el" href="cf__lexical_8cpp-source.html#l02935">size</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00784">convertToAlpha</a>. </td>
+ </tr>
+</table>
+<a name="z275_8" doxytag="NLMISC::CBitmap::alphaLuminanceToLuminance"></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 NLMISC::CBitmap::alphaLuminanceToLuminance </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00641">641</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="common_8h-source.html#l00177">NLMISC::contReset</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s1">Luminance</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, and <a class="el" href="cf__lexical_8cpp-source.html#l02935">size</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00753">convertToLuminance</a>. </td>
+ </tr>
+</table>
+<a name="z275_4" doxytag="NLMISC::CBitmap::alphaLuminanceToRGBA"></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 NLMISC::CBitmap::alphaLuminanceToRGBA </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00488">488</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, and <a class="el" href="cf__lexical_8cpp-source.html#l02935">size</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00845">convertToRGBA</a>. </td>
+ </tr>
+</table>
+<a name="z275_16" doxytag="NLMISC::CBitmap::alphaToAlphaLuminance"></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 NLMISC::CBitmap::alphaToAlphaLuminance </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00573">573</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s3">AlphaLuminance</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, and <a class="el" href="cf__lexical_8cpp-source.html#l02935">size</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00815">convertToAlphaLuminance</a>. </td>
+ </tr>
+</table>
+<a name="z275_7" doxytag="NLMISC::CBitmap::alphaToLuminance"></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 NLMISC::CBitmap::alphaToLuminance </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00628">628</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s1">Luminance</a>, and <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00753">convertToLuminance</a>. </td>
+ </tr>
+</table>
+<a name="z275_3" doxytag="NLMISC::CBitmap::alphaToRGBA"></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 NLMISC::CBitmap::alphaToRGBA </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00460">460</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, and <a class="el" href="cf__lexical_8cpp-source.html#l02935">size</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00845">convertToRGBA</a>. </td>
+ </tr>
+</table>
+<a name="a29" doxytag="NLMISC::CBitmap::blend"></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 NLMISC::CBitmap::blend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CBitmap &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>Bm0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CBitmap &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>Bm1</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>factor</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set this bitmap as the result of the blend bewteen 2 bitmap REQUIRE : - Bm0 and Bm1 should have the same size.
+<p>
+<ul>
+<li>Both bitmap should be convertible to RGBA pixel format. The result is a RGBA bitmap. NB: this just works with the first mipmaps </ul>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>factor</em>&nbsp;</td><td>
+The blend factor. 0 means the result is equal to Bm0, 256 means the result is equal to Bm1 </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l02751">2751</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="bitmap_8h-source.html#l00253">CBitmap</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="bitmap_8cpp-source.html#l01498">resize</a>, and <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>. </td>
+ </tr>
+</table>
+<a name="c0" doxytag="NLMISC::CBitmap::blend"></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> NLMISC::CBitmap::blend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>n0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>n1</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>coef0</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+blend 2 integers between 0 and 255 .
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>n0</em>&nbsp;</td><td>
+first integer </td></tr>
+<tr><td valign=top><em>n1</em>&nbsp;</td><td>
+second integer </td></tr>
+<tr><td valign=top><em>coef</em>&nbsp;</td><td>
+coefficient for the first integer (must be in [0,256]) </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01291">1291</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l01153">decompressDXT5</a>, and <a class="el" href="texture__blend_8cpp-source.html#l00102">NL3D::CTextureBlend::doGenerate</a>. </td>
+ </tr>
+</table>
+<a name="a22" doxytag="NLMISC::CBitmap::blit"></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 NLMISC::CBitmap::blit </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CBitmap *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>src</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>y</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Perform a simple blit from the source to this bitmap at the (x, y) pos The dimension of the original bitmap are preserved For now, this texture and the source must have the same format With DXTC format, the dest coordinates must be a multiple of 4 mipmap are not rebuild when present.
+<p>
+<dl compact><dt><b>
+Returns: </b><dd>
+true if the params were corrects and if the blit occures. In debug build there's an assertion </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l02267">2267</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="bitmap_8cpp-source.html#l00068">bitPerPixels</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s10">DonTKnow</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s4">DXTC1</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s5">DXTC1Alpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s6">DXTC3</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s7">DXTC5</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">height</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">width</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>.
+<p>
+Referenced by <a class="el" href="texture__grouped_8cpp-source.html#l00195">NL3D::CTextureGrouped::doGenerate</a>. </td>
+ </tr>
+</table>
+<a name="a11" doxytag="NLMISC::CBitmap::buildMipMaps"></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 NLMISC::CBitmap::buildMipMaps </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></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Build the mipmaps of the bitmap if they don't exist.
+<p>
+Work only in RGBA mode... <dl compact><dt><b>
+See also: </b><dd>
+<a class="el" href="classNLMISC_1_1CBitmap.html#a12">releaseMipMaps</a>(). </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01375">1375</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="common_8cpp-source.html#l00363">NLMISC::isPowerOf2</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">w</a>.
+<p>
+Referenced by <a class="el" href="texture__mem_8cpp-source.html#l00045">NL3D::CTextureMem::doGenerate</a>, <a class="el" href="bitmap_8cpp-source.html#l02615">flipH</a>, <a class="el" href="bitmap_8cpp-source.html#l02647">flipV</a>, <a class="el" href="bitmap_8cpp-source.html#l01461">resample</a>, <a class="el" href="bitmap_8cpp-source.html#l02714">rot90CCW</a>, and <a class="el" href="bitmap_8cpp-source.html#l02679">rot90CW</a>. </td>
+ </tr>
+</table>
+<a name="c8" doxytag="NLMISC::CBitmap::CBitmap::getRGBAPixel"></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_1CRGBA.html">CRGBA</a> NLMISC::CBitmap::CBitmap::getRGBAPixel </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>y</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>numMipMap</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ </td>
+ </tr>
+</table>
+<a name="z275_9" doxytag="NLMISC::CBitmap::convertToAlpha"></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 NLMISC::CBitmap::convertToAlpha </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00784">784</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="classNLMISC_1_1CBitmap.html#s11s2">Alpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s3">AlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00726">alphaLuminanceToAlpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s1">Luminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00701">luminanceToAlpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, and <a class="el" href="bitmap_8cpp-source.html#l00671">rgbaToAlpha</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00889">convertToType</a>. </td>
+ </tr>
+</table>
+<a name="z275_13" doxytag="NLMISC::CBitmap::convertToAlphaLuminance"></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 NLMISC::CBitmap::convertToAlphaLuminance </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00815">815</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="classNLMISC_1_1CBitmap.html#s11s2">Alpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s3">AlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00573">alphaToAlphaLuminance</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s1">Luminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00546">luminanceToAlphaLuminance</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, and <a class="el" href="bitmap_8cpp-source.html#l00518">rgbaToAlphaLuminance</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00889">convertToType</a>. </td>
+ </tr>
+</table>
+<a name="z275_0" doxytag="NLMISC::CBitmap::convertToDXTC5"></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 NLMISC::CBitmap::convertToDXTC5 </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> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+about DXTC1 to DXTC5 : Does nothing if the format is not DXTC1 about alpha encoding : alpha0 == alpha1 code(x,y) == 7 for every (x,y)
+<p>
+about luminance to alpha and alpha to luminance : the buffer keeps unchanged
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l00387">387</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00889">convertToType</a>. </td>
+ </tr>
+</table>
+<a name="z275_5" doxytag="NLMISC::CBitmap::convertToLuminance"></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 NLMISC::CBitmap::convertToLuminance </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00753">753</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="classNLMISC_1_1CBitmap.html#s11s2">Alpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s3">AlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00641">alphaLuminanceToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00628">alphaToLuminance</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s1">Luminance</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, and <a class="el" href="bitmap_8cpp-source.html#l00600">rgbaToLuminance</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00889">convertToType</a>. </td>
+ </tr>
+</table>
+<a name="z275_1" doxytag="NLMISC::CBitmap::convertToRGBA"></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 NLMISC::CBitmap::convertToRGBA </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00845">845</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="classNLMISC_1_1CBitmap.html#s11s2">Alpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s3">AlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00488">alphaLuminanceToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00460">alphaToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00928">decompressDXT1</a>, <a class="el" href="bitmap_8cpp-source.html#l01043">decompressDXT3</a>, <a class="el" href="bitmap_8cpp-source.html#l01153">decompressDXT5</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s4">DXTC1</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s5">DXTC1Alpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s6">DXTC3</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s7">DXTC5</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s1">Luminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00433">luminanceToRGBA</a>, and <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00889">convertToType</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NLMISC::CBitmap::convertToType"></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 NLMISC::CBitmap::convertToType </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CBitmap.html#s11">TType</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>type</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>
+Convert bitmap to another type conversion to rgba always work.
+<p>
+No-op if already rgba. <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>type</em>&nbsp;</td><td>
+new type for the bitmap </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+true if conversion succeeded, false else </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l00889">889</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="classNLMISC_1_1CBitmap.html#s11s2">Alpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s3">AlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00784">convertToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00815">convertToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00387">convertToDXTC5</a>, <a class="el" href="bitmap_8cpp-source.html#l00753">convertToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00845">convertToRGBA</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s7">DXTC5</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s1">Luminance</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00241">type</a>.
+<p>
+Referenced by <a class="el" href="hls__color__texture_8cpp-source.html#l00152">NL3D::CHLSColorTexture::addMask</a>, <a class="el" href="lod__character__manager_8cpp-source.html#l00633">NL3D::CLodCharacterTmpBitmap::build</a>, <a class="el" href="height__map_8cpp-source.html#l00049">NL3D::CHeightMap::buildFromBitmap</a>, and <a class="el" href="async__texture__manager_8cpp-source.html#l00059">NL3D::CAsyncTextureManager::CTextureEntry::createCoarseBitmap</a>. </td>
+ </tr>
+</table>
+<a name="c3" doxytag="NLMISC::CBitmap::decompressDXT1"></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 NLMISC::CBitmap::decompressDXT1 </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>alpha</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Decompress bitmap compressed with S3TC DXT1 algorithm.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>alpha</em>&nbsp;</td><td>
+if alpha is true there's alpha. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l00928">928</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="rgba_8h-source.html#l00329">NLMISC::CRGBA::A</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00869">alpha</a>, <a class="el" href="rgba_8h-source.html#l00327">NLMISC::CRGBA::B</a>, <a class="el" href="rgba_8h-source.html#l00093">NLMISC::CRGBA::blendFromui</a>, <a class="el" href="rgba_8h-source.html#l00325">NLMISC::CRGBA::G</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">height</a>, <a class="el" href="bitmap_8h-source.html#l00069">NLMISC::MAX_MIPMAP</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="rgba_8h-source.html#l00323">NLMISC::CRGBA::R</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, <a class="el" href="rgba_8cpp-source.html#l00066">NLMISC::CRGBA::set</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>, <a class="el" href="bitmap_8cpp-source.html#l01303">uncompress</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">width</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00845">convertToRGBA</a>. </td>
+ </tr>
+</table>
+<a name="c4" doxytag="NLMISC::CBitmap::decompressDXT3"></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 NLMISC::CBitmap::decompressDXT3 </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> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Decompress bitmap compressed with S3TC DXT3 algorithm.
+<p>
+<dl compact><dt><b>
+Exceptions: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a class="el" href="structNLMISC_1_1EAllocationFailure.html">EAllocationFailure</a></em>&nbsp;</td><td>
+ : can't allocate memory. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01043">1043</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00869">alpha</a>, <a class="el" href="rgba_8h-source.html#l00327">NLMISC::CRGBA::B</a>, <a class="el" href="rgba_8h-source.html#l00093">NLMISC::CRGBA::blendFromui</a>, <a class="el" href="rgba_8h-source.html#l00325">NLMISC::CRGBA::G</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">height</a>, <a class="el" href="bitmap_8h-source.html#l00069">NLMISC::MAX_MIPMAP</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="rgba_8h-source.html#l00323">NLMISC::CRGBA::R</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>, <a class="el" href="bitmap_8cpp-source.html#l01303">uncompress</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">width</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00845">convertToRGBA</a>. </td>
+ </tr>
+</table>
+<a name="c5" doxytag="NLMISC::CBitmap::decompressDXT5"></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 NLMISC::CBitmap::decompressDXT5 </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> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Decompress bitmap compressed with S3TC DXT3 algorithm.
+<p>
+<dl compact><dt><b>
+Exceptions: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a class="el" href="structNLMISC_1_1EAllocationFailure.html">EAllocationFailure</a></em>&nbsp;</td><td>
+ : can't allocate memory. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01153">1153</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00869">alpha</a>, <a class="el" href="rgba_8h-source.html#l00327">NLMISC::CRGBA::B</a>, <a class="el" href="bitmap_8cpp-source.html#l01291">blend</a>, <a class="el" href="rgba_8h-source.html#l00093">NLMISC::CRGBA::blendFromui</a>, <a class="el" href="rgba_8h-source.html#l00325">NLMISC::CRGBA::G</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">height</a>, <a class="el" href="bitmap_8h-source.html#l00069">NLMISC::MAX_MIPMAP</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="rgba_8h-source.html#l00323">NLMISC::CRGBA::R</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>, <a class="el" href="bitmap_8cpp-source.html#l01303">uncompress</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">width</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00845">convertToRGBA</a>. </td>
+ </tr>
+</table>
+<a name="a25" doxytag="NLMISC::CBitmap::flipH"></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 NLMISC::CBitmap::flipH </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></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Horizontal flip (all the columns are flipped).
+<p>
+
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l02615">2615</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8cpp-source.html#l01375">buildMipMaps</a>, <a class="el" href="bitmap_8cpp-source.html#l01341">getHeight</a>, <a class="el" href="bitmap_8cpp-source.html#l01316">getWidth</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="bitmap_8cpp-source.html#l01446">releaseMipMaps</a>, and <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>. </td>
+ </tr>
+</table>
+<a name="a26" doxytag="NLMISC::CBitmap::flipV"></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 NLMISC::CBitmap::flipV </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></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Vertical flip (all the rows are flipped).
+<p>
+
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l02647">2647</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8cpp-source.html#l01375">buildMipMaps</a>, <a class="el" href="bitmap_8cpp-source.html#l01341">getHeight</a>, <a class="el" href="bitmap_8cpp-source.html#l01316">getWidth</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="bitmap_8cpp-source.html#l01446">releaseMipMaps</a>, and <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>. </td>
+ </tr>
+</table>
+<a name="a23" doxytag="NLMISC::CBitmap::getColor"></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_1CRGBAF.html">CRGBAF</a> NLMISC::CBitmap::getColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>y</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the color in the bitmap given a pixel size The mipmaps must be built.
+<p>
+If not just return the bilinear at the given point. The input x and y must be clamped between 0 and 1
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l02405">2405</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="classNLMISC_1_1CBitmap.html#s11s2">Alpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s4">DXTC1</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s5">DXTC1Alpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s6">DXTC3</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s7">DXTC5</a>, <a class="el" href="bitmap_8cpp-source.html#l02394">getColorInterp</a>, <a class="el" href="bitmap_8cpp-source.html#l01341">getHeight</a>, <a class="el" href="bitmap_8cpp-source.html#l02974">getPixelColor</a>, <a class="el" href="bitmap_8h-source.html#l00307">getPixels</a>, <a class="el" href="bitmap_8cpp-source.html#l01316">getWidth</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s1">Luminance</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>. </td>
+ </tr>
+</table>
+<a name="c7" doxytag="NLMISC::CBitmap::getColorInterp"></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"> float NLMISC::CBitmap::getColorInterp </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>y</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>xy00</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>xy01</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>xy10</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>xy11</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Quadratic interpolator.
+<p>
+<dl compact><dt><b>
+Returns: </b><dd>
+the interpolation in (x,y) of the values (xy**) </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l02394">2394</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00815">res</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l02405">getColor</a>. </td>
+ </tr>
+</table>
+<a name="z276_0" doxytag="NLMISC::CBitmap::getDXTC1Texel"></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_1CRGBA.html">CRGBA</a> NLMISC::CBitmap::getDXTC1Texel </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>y</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>numMipMap</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<code> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l02888">2888</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8cpp-source.html#l02830">getDXTCColorFromBlock</a>, <a class="el" href="bitmap_8cpp-source.html#l01341">getHeight</a>, <a class="el" href="bitmap_8h-source.html#l00307">getPixels</a>, <a class="el" href="bitmap_8cpp-source.html#l01316">getWidth</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">w</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l02974">getPixelColor</a>. </td>
+ </tr>
+</table>
+<a name="z276_1" doxytag="NLMISC::CBitmap::getDXTC3Texel"></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_1CRGBA.html">CRGBA</a> NLMISC::CBitmap::getDXTC3Texel </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>y</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>numMipMap</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<code> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l02901">2901</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8cpp-source.html#l02830">getDXTCColorFromBlock</a>, <a class="el" href="bitmap_8cpp-source.html#l01341">getHeight</a>, <a class="el" href="bitmap_8h-source.html#l00307">getPixels</a>, <a class="el" href="bitmap_8cpp-source.html#l01316">getWidth</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">w</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l02974">getPixelColor</a>. </td>
+ </tr>
+</table>
+<a name="z276_2" doxytag="NLMISC::CBitmap::getDXTC5Texel"></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_1CRGBA.html">CRGBA</a> NLMISC::CBitmap::getDXTC5Texel </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>y</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>numMipMap</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<code> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l02917">2917</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8cpp-source.html#l02830">getDXTCColorFromBlock</a>, <a class="el" href="bitmap_8cpp-source.html#l01341">getHeight</a>, <a class="el" href="bitmap_8h-source.html#l00307">getPixels</a>, <a class="el" href="bitmap_8cpp-source.html#l01316">getWidth</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">w</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l02974">getPixelColor</a>. </td>
+ </tr>
+</table>
+<a name="z276_3" doxytag="NLMISC::CBitmap::getDXTCColorFromBlock"></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_1CRGBA.html">CRGBA</a> NLMISC::CBitmap::getDXTCColorFromBlock </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="memory__common_8h.html#a7">uint8</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>block</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>y</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static, private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l02830">2830</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8cpp-source.html#l01303">uncompress</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l02888">getDXTC1Texel</a>, <a class="el" href="bitmap_8cpp-source.html#l02901">getDXTC3Texel</a>, and <a class="el" href="bitmap_8cpp-source.html#l02917">getDXTC5Texel</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NLMISC::CBitmap::getHeight"></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> NLMISC::CBitmap::getHeight </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>numMipMap</em> = 0 </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the image height, or a mipmap height.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>mipMap</em>&nbsp;</td><td>
+mipmap level </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+image height (0 if mipmap not found) </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01341">1341</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">w</a>.
+<p>
+Referenced by <a class="el" href="lod__character__manager_8cpp-source.html#l00633">NL3D::CLodCharacterTmpBitmap::build</a>, <a class="el" href="texture__file_8cpp-source.html#l00041">NL3D::CTextureFile::buildBitmapFromFile</a>, <a class="el" href="bitmap_8cpp-source.html#l02615">flipH</a>, <a class="el" href="bitmap_8cpp-source.html#l02647">flipV</a>, <a class="el" href="bitmap_8cpp-source.html#l02405">getColor</a>, <a class="el" href="bitmap_8cpp-source.html#l02888">getDXTC1Texel</a>, <a class="el" href="bitmap_8cpp-source.html#l02901">getDXTC3Texel</a>, <a class="el" href="bitmap_8cpp-source.html#l02917">getDXTC5Texel</a>, <a class="el" href="bitmap_8cpp-source.html#l01365">getSize</a>, <a class="el" href="bitmap_8cpp-source.html#l02714">rot90CCW</a>, <a class="el" href="bitmap_8cpp-source.html#l02679">rot90CW</a>, and <a class="el" href="hls__color__texture_8cpp-source.html#l00092">NL3D::CHLSColorTexture::setBitmap</a>. </td>
+ </tr>
+</table>
+<a name="a9" doxytag="NLMISC::CBitmap::getMipMapCount"></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> NLMISC::CBitmap::getMipMapCount </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 the number of mipmaps.
+<p>
+Level0 is a mipmap... <dl compact><dt><b>
+Returns: </b><dd>
+number of mipmaps. 0 if no image at all. 1 if no mipmaping (for the base level). </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8h-source.html#l00368">368</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>.
+<p>
+Referenced by <a class="el" href="hls__color__texture_8cpp-source.html#l00092">NL3D::CHLSColorTexture::setBitmap</a>. </td>
+ </tr>
+</table>
+<a name="a24" doxytag="NLMISC::CBitmap::getPixelColor"></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_1CRGBA.html">CRGBA</a> NLMISC::CBitmap::getPixelColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>y</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>numMipMap</em> = 0</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the pixel at the given coorrdinate.
+<p>
+Works in RGBA and DXTC modes. Outside of the bitmap it returns Black (or if mipmap is not found)
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l02974">2974</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="classNLMISC_1_1CBitmap.html#s11s4">DXTC1</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s5">DXTC1Alpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s6">DXTC3</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s7">DXTC5</a>, <a class="el" href="bitmap_8cpp-source.html#l02888">getDXTC1Texel</a>, <a class="el" href="bitmap_8cpp-source.html#l02901">getDXTC3Texel</a>, <a class="el" href="bitmap_8cpp-source.html#l02917">getDXTC5Texel</a>, <a class="el" href="debug_8h-source.html#l00374">nlstop</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l02405">getColor</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NLMISC::CBitmap::getPixelFormat"></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">TType</a> NLMISC::CBitmap::getPixelFormat </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 the format of pixels stored at the present time in the object buffer.
+<p>
+<dl compact><dt><b>
+Returns: </b><dd>
+Pixel format (rgba luminance alpha alphaLuminance dxtc1 dxtc1Alpha dxtc3 dxtc5) </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8h-source.html#l00334">334</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.
+<p>
+References <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, and <a class="el" href="bitmap_8h-source.html#l00233">TType</a>.
+<p>
+Referenced by <a class="el" href="texture__grouped_8cpp-source.html#l00195">NL3D::CTextureGrouped::doGenerate</a>, <a class="el" href="texture__far_8cpp-source.html#l00272">NL3D::CTextureFar::rebuildRectangle</a>, and <a class="el" href="hls__color__texture_8cpp-source.html#l00092">NL3D::CHLSColorTexture::setBitmap</a>. </td>
+ </tr>
+</table>
+<a name="z277_1" doxytag="NLMISC::CBitmap::getPixels"></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 std::vector&lt;<a class="el" href="memory__common_8h.html#a7">uint8</a>&gt;&amp; NLMISC::CBitmap::getPixels </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>numMipMap</em> = 0 </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>
+
+<p>
+Definition at line <a class="el" href="bitmap_8h-source.html#l00312">312</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>. </td>
+ </tr>
+</table>
+<a name="z277_0" doxytag="NLMISC::CBitmap::getPixels"></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::vector&lt;<a class="el" href="memory__common_8h.html#a7">uint8</a>&gt;&amp; NLMISC::CBitmap::getPixels </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>numMipMap</em> = 0 </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>
+Return a reference of an array in pixel format get with <a class="el" href="classNLMISC_1_1CBitmap.html#a5">getPixelFormat</a>(). <dl compact><dt><b>
+Returns: </b><dd>
+vector&lt;uint8&gt;&amp; RGBA pixels </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8h-source.html#l00307">307</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>.
+<p>
+Referenced by <a class="el" href="texture__file_8cpp-source.html#l00041">NL3D::CTextureFile::buildBitmapFromFile</a>, <a class="el" href="hls__color__texture_8cpp-source.html#l00337">NL3D::CHLSColorTexture::buildColorVersion</a>, <a class="el" href="texture__dlm_8cpp-source.html#l00241">NL3D::CTextureDLM::copyRect</a>, <a class="el" href="texture__font_8cpp-source.html#l00088">NL3D::CTextureFont::CTextureFont</a>, <a class="el" href="texture__mem_8cpp-source.html#l00045">NL3D::CTextureMem::doGenerate</a>, <a class="el" href="texture__bump_8cpp-source.html#l00176">NL3D::CTextureBump::doGenerate</a>, <a class="el" href="texture__font_8cpp-source.html#l00154">NL3D::CTextureFont::dumpTextureFont</a>, <a class="el" href="texture__dlm_8cpp-source.html#l00257">NL3D::CTextureDLM::fillRect</a>, <a class="el" href="bitmap_8cpp-source.html#l02405">getColor</a>, <a class="el" href="bitmap_8cpp-source.html#l02888">getDXTC1Texel</a>, <a class="el" href="bitmap_8cpp-source.html#l02901">getDXTC3Texel</a>, <a class="el" href="bitmap_8cpp-source.html#l02917">getDXTC5Texel</a>, <a class="el" href="texture__dlm_8cpp-source.html#l00273">NL3D::CTextureDLM::modulateAndfillRect565</a>, <a class="el" href="texture__dlm_8cpp-source.html#l00305">NL3D::CTextureDLM::modulateAndfillRect8888</a>, <a class="el" href="texture__dlm_8cpp-source.html#l00335">NL3D::CTextureDLM::modulateConstantAndfillRect</a>, <a class="el" href="texture__far_8cpp-source.html#l00272">NL3D::CTextureFar::rebuildRectangle</a>, <a class="el" href="texture__near_8cpp-source.html#l00085">NL3D::CTextureNear::refillRect</a>, and <a class="el" href="hls__color__texture_8cpp-source.html#l00092">NL3D::CHLSColorTexture::setBitmap</a>. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="NLMISC::CBitmap::getSize"></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> NLMISC::CBitmap::getSize </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>numMipMap</em> = 0 </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the size (in pixels) of the image: &lt;=&gt; <a class="el" href="classNLMISC_1_1CBitmap.html#a7">getHeight</a>()*<a class="el" href="classNLMISC_1_1CBitmap.html#a6">getWidth</a>().
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>mipMap</em>&nbsp;</td><td>
+mipmap level </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+image size (0 if mipmap not found) </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01365">1365</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8cpp-source.html#l01341">getHeight</a>, and <a class="el" href="bitmap_8cpp-source.html#l01316">getWidth</a>. </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NLMISC::CBitmap::getWidth"></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> NLMISC::CBitmap::getWidth </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>numMipMap</em> = 0 </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the image width, or a mipmap width.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>mipMap</em>&nbsp;</td><td>
+mipmap level </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+image width (0 if mipmap not found) </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01316">1316</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">w</a>.
+<p>
+Referenced by <a class="el" href="lod__character__manager_8cpp-source.html#l00633">NL3D::CLodCharacterTmpBitmap::build</a>, <a class="el" href="texture__file_8cpp-source.html#l00041">NL3D::CTextureFile::buildBitmapFromFile</a>, <a class="el" href="texture__dlm_8cpp-source.html#l00241">NL3D::CTextureDLM::copyRect</a>, <a class="el" href="texture__dlm_8cpp-source.html#l00257">NL3D::CTextureDLM::fillRect</a>, <a class="el" href="bitmap_8cpp-source.html#l02615">flipH</a>, <a class="el" href="bitmap_8cpp-source.html#l02647">flipV</a>, <a class="el" href="bitmap_8cpp-source.html#l02405">getColor</a>, <a class="el" href="bitmap_8cpp-source.html#l02888">getDXTC1Texel</a>, <a class="el" href="bitmap_8cpp-source.html#l02901">getDXTC3Texel</a>, <a class="el" href="bitmap_8cpp-source.html#l02917">getDXTC5Texel</a>, <a class="el" href="bitmap_8cpp-source.html#l01365">getSize</a>, <a class="el" href="texture__dlm_8cpp-source.html#l00273">NL3D::CTextureDLM::modulateAndfillRect565</a>, <a class="el" href="texture__dlm_8cpp-source.html#l00305">NL3D::CTextureDLM::modulateAndfillRect8888</a>, <a class="el" href="texture__dlm_8cpp-source.html#l00335">NL3D::CTextureDLM::modulateConstantAndfillRect</a>, <a class="el" href="texture__near_8cpp-source.html#l00085">NL3D::CTextureNear::refillRect</a>, <a class="el" href="bitmap_8cpp-source.html#l02714">rot90CCW</a>, <a class="el" href="bitmap_8cpp-source.html#l02679">rot90CW</a>, and <a class="el" href="hls__color__texture_8cpp-source.html#l00092">NL3D::CHLSColorTexture::setBitmap</a>. </td>
+ </tr>
+</table>
+<a name="a21" doxytag="NLMISC::CBitmap::isGrayscaleAsAlpha"></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 NLMISC::CBitmap::isGrayscaleAsAlpha </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>
+Tell if the bitmap loads grayscale bitmap as alpha or luminance format.
+<p>
+<dl compact><dt><b>
+Returns: </b><dd>
+true if the bitmap loads grayscale bitmaps as alpha, false if it loads grayscale bitmaps as luminance. </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8h-source.html#l00480">480</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00093">_LoadGrayscaleAsAlpha</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NLMISC::CBitmap::load"></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> NLMISC::CBitmap::load </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="mdname" nowrap>&nbsp; <em>f</em>, </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>mipMapSkip</em> = 0</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Read a bitmap(TGA or DDS) from an <a class="el" href="classNLMISC_1_1IStream.html">IStream</a>.
+<p>
+Bitmap supported are DDS (DXTC1, DXTC1 with Alpha, DXTC3, DXTC5, and uncompressed TGA (24 and 32 bits). <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a class="el" href="classNLMISC_1_1IStream.html">IStream</a></em>&nbsp;</td><td>
+The stream must be in reading mode. </td></tr>
+<tr><td valign=top><em>mipMapSkip</em>&nbsp;</td><td>
+if the file is a DDS with mipMap. N=mipMapSkip mipmaps are skipped. </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+image depth (24 or 32), or 0 if load failed </dl><dl compact><dt><b>
+Exceptions: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a class="el" href="structNLMISC_1_1ESeekFailed.html">ESeekFailed</a></em>&nbsp;</td><td>
+ : seek has failed </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l00094">94</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="classNLMISC_1_1IStream.html#s3s0">NLMISC::IStream::begin</a>, <a class="el" href="bitmap_8h-source.html#l00058">NLMISC::DDS</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">depth</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">height</a>, <a class="el" href="stream__inline_8h-source.html#l00062">NLMISC::IStream::isReading</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="bitmap_8cpp-source.html#l00216">readDDS</a>, <a class="el" href="bitmap_8cpp-source.html#l01749">readTGA</a>, <a class="el" href="stream_8cpp-source.html#l00388">NLMISC::IStream::seek</a>, <a class="el" href="stream_8h-source.html#l00222">NLMISC::IStream::serial</a>, <a class="el" href="stream_8h-source.html#l00517">NLMISC::IStream::TSeekOrigin</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">width</a>.
+<p>
+Referenced by <a class="el" href="texture__file_8cpp-source.html#l00041">NL3D::CTextureFile::buildBitmapFromFile</a>, and <a class="el" href="texture__mem_8cpp-source.html#l00045">NL3D::CTextureMem::doGenerate</a>. </td>
+ </tr>
+</table>
+<a name="a20" doxytag="NLMISC::CBitmap::loadGrayscaleAsAlpha"></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 NLMISC::CBitmap::loadGrayscaleAsAlpha </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>loadAsAlpha</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>
+Tell the bitmap to load grayscale bitmap as alpha or luminance format.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>loadAsAlpha</em>&nbsp;</td><td>
+is true to load grayscale bitmaps as alpha. false to load grayscale bitmaps as luminance. default value is true. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8h-source.html#l00469">469</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00093">_LoadGrayscaleAsAlpha</a>. </td>
+ </tr>
+</table>
+<a name="d1" doxytag="NLMISC::CBitmap::loadSize"></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 NLMISC::CBitmap::loadSize </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>path</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>retWidth</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>retHeight</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+same than other <a class="el" href="classNLMISC_1_1CBitmap.html#d0">loadSize</a>(), but with a pathName.
+<p>
+<dl compact><dt><b>
+See also: </b><dd>
+<a class="el" href="classNLMISC_1_1CBitmap.html#d0">loadSize</a>() </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l02604">2604</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8cpp-source.html#l02515">loadSize</a>. </td>
+ </tr>
+</table>
+<a name="d0" doxytag="NLMISC::CBitmap::loadSize"></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 NLMISC::CBitmap::loadSize </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="mdname" nowrap>&nbsp; <em>f</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>width</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>height</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Determinate the bitmap size from a bitmap(TGA or DDS) from an <a class="el" href="classNLMISC_1_1IStream.html">IStream</a>.
+<p>
+load just header of the file. Bitmap supported are DDS (DXTC1, DXTC1 with Alpha, DXTC3, DXTC5, and uncompressed TGA (24 and 32 bits). NB: at the end, f is seeked to begin. <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a class="el" href="classNLMISC_1_1IStream.html">IStream</a></em>&nbsp;</td><td>
+The stream must be in reading mode. </td></tr>
+<tr><td valign=top><em>width</em>&nbsp;</td><td>
+the width of the image. 0 if fails. </td></tr>
+<tr><td valign=top><em>height</em>&nbsp;</td><td>
+the height of the image. 0 if fails. </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Exceptions: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a class="el" href="structNLMISC_1_1ESeekFailed.html">ESeekFailed</a></em>&nbsp;</td><td>
+ : seek has failed </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l02515">2515</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="classNLMISC_1_1IStream.html#s3s0">NLMISC::IStream::begin</a>, <a class="el" href="bitmap_8h-source.html#l00058">NLMISC::DDS</a>, <a class="el" href="bitmap_8h-source.html#l00063">DDSD_LINEARSIZE</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">depth</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">height</a>, <a class="el" href="stream__inline_8h-source.html#l00062">NLMISC::IStream::isReading</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="stream_8cpp-source.html#l00388">NLMISC::IStream::seek</a>, <a class="el" href="stream_8h-source.html#l00222">NLMISC::IStream::serial</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">width</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l02604">loadSize</a>. </td>
+ </tr>
+</table>
+<a name="z275_11" doxytag="NLMISC::CBitmap::luminanceToAlpha"></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 NLMISC::CBitmap::luminanceToAlpha </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00701">701</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s2">Alpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, and <a class="el" href="cf__lexical_8cpp-source.html#l02935">size</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00784">convertToAlpha</a>. </td>
+ </tr>
+</table>
+<a name="z275_15" doxytag="NLMISC::CBitmap::luminanceToAlphaLuminance"></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 NLMISC::CBitmap::luminanceToAlphaLuminance </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00546">546</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s3">AlphaLuminance</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, and <a class="el" href="cf__lexical_8cpp-source.html#l02935">size</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00815">convertToAlphaLuminance</a>. </td>
+ </tr>
+</table>
+<a name="z275_2" doxytag="NLMISC::CBitmap::luminanceToRGBA"></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 NLMISC::CBitmap::luminanceToRGBA </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00433">433</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, and <a class="el" href="cf__lexical_8cpp-source.html#l02935">size</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00845">convertToRGBA</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NLMISC::CBitmap::makeDummy"></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 NLMISC::CBitmap::makeDummy </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></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Make a dummy "?" texture.
+<p>
+Usefull for file not found. Mode is rgba.
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l00156">156</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, and <a class="el" href="rgba_8cpp-source.html#l00066">NLMISC::CRGBA::set</a>.
+<p>
+Referenced by <a class="el" href="texture__file_8cpp-source.html#l00041">NL3D::CTextureFile::buildBitmapFromFile</a>, <a class="el" href="texture__multi__file_8cpp-source.html#l00077">NL3D::CTextureMultiFile::doGenerate</a>, <a class="el" href="texture__mem_8cpp-source.html#l00045">NL3D::CTextureMem::doGenerate</a>, <a class="el" href="texture__grouped_8cpp-source.html#l00195">NL3D::CTextureGrouped::doGenerate</a>, <a class="el" href="texture__bump_8cpp-source.html#l00176">NL3D::CTextureBump::doGenerate</a>, and <a class="el" href="texture__blend_8cpp-source.html#l00102">NL3D::CTextureBlend::doGenerate</a>. </td>
+ </tr>
+</table>
+<a name="c1" doxytag="NLMISC::CBitmap::readDDS"></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> NLMISC::CBitmap::readDDS </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="mdname" nowrap>&nbsp; <em>f</em>, </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>mipMapSkip</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Read a DDS from an <a class="el" href="classNLMISC_1_1IStream.html">IStream</a>.
+<p>
+The bitmap is readen as a set of bytes and stocked compressed. Width and Height are multiple of 4. <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a class="el" href="classNLMISC_1_1IStream.html">IStream</a></em>&nbsp;</td><td>
+The stream must be in reading mode. </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+image depth </dl><dl compact><dt><b>
+Exceptions: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a class="el" href="structNLMISC_1_1EDDSBadHeader.html">EDDSBadHeader</a></em>&nbsp;</td><td>
+ : surface is header is not valid. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l00216">216</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="bitmap_8h-source.html#l00063">DDSD_LINEARSIZE</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s4">DXTC1</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s5">DXTC1Alpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00081">DXTC1HEADER</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s6">DXTC3</a>, <a class="el" href="bitmap_8cpp-source.html#l00082">DXTC3HEADER</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s7">DXTC5</a>, <a class="el" href="bitmap_8cpp-source.html#l00083">DXTC5HEADER</a>, <a class="el" href="common_8cpp-source.html#l00350">NLMISC::getPowerOf2</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="stream_8cpp-source.html#l00388">NLMISC::IStream::seek</a>, <a class="el" href="stream_8h-source.html#l00222">NLMISC::IStream::serial</a>, <a class="el" href="classNLMISC_1_1IStream.html#z327_0">NLMISC::IStream::serialBuffer</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">w</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00094">load</a>. </td>
+ </tr>
+</table>
+<a name="c2" doxytag="NLMISC::CBitmap::readTGA"></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> NLMISC::CBitmap::readTGA </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><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Read a TGA from an <a class="el" href="classNLMISC_1_1IStream.html">IStream</a>.
+<p>
+TGA pictures can be in 24 or 32 bits, RLE or uncompressed <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>f</em>&nbsp;</td><td>
+<a class="el" href="classNLMISC_1_1IStream.html">IStream</a> (must be a reading stream) </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+image depth if succeed, 0 else </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01749">1749</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00093">_LoadGrayscaleAsAlpha</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s2">Alpha</a>, <a class="el" href="classNLMISC_1_1IStream.html#s3s0">NLMISC::IStream::begin</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">depth</a>, <a class="el" href="classNLMISC_1_1IStream.html#s3s2">NLMISC::IStream::end</a>, <a class="el" href="stream_8cpp-source.html#l00394">NLMISC::IStream::getPos</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">height</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">imageSize</a>, <a class="el" href="stream__inline_8h-source.html#l00062">NLMISC::IStream::isReading</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s1">Luminance</a>, <a class="el" href="debug_8h-source.html#l00094">nlinfo</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, <a class="el" href="stream_8cpp-source.html#l00388">NLMISC::IStream::seek</a>, <a class="el" href="stream_8h-source.html#l00222">NLMISC::IStream::serial</a>, <a class="el" href="classNLMISC_1_1IStream.html#z327_0">NLMISC::IStream::serialBuffer</a>, <a class="el" href="displayer_8cpp-source.html#l00325">NLMISC::toto</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">width</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00094">load</a>. </td>
+ </tr>
+</table>
+<a name="a12" doxytag="NLMISC::CBitmap::releaseMipMaps"></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 NLMISC::CBitmap::releaseMipMaps </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></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Release the mipmaps of the bitmap if they exist.
+<p>
+Work for any mode. <dl compact><dt><b>
+See also: </b><dd>
+<a class="el" href="classNLMISC_1_1CBitmap.html#a11">buildMipMaps</a>(). </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01446">1446</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="common_8h-source.html#l00177">NLMISC::contReset</a>, and <a class="el" href="bitmap_8h-source.html#l00069">NLMISC::MAX_MIPMAP</a>.
+<p>
+Referenced by <a class="el" href="async__texture__manager_8cpp-source.html#l00059">NL3D::CAsyncTextureManager::CTextureEntry::createCoarseBitmap</a>, <a class="el" href="texture__bump_8cpp-source.html#l00176">NL3D::CTextureBump::doGenerate</a>, <a class="el" href="bitmap_8cpp-source.html#l02615">flipH</a>, <a class="el" href="bitmap_8cpp-source.html#l02647">flipV</a>, <a class="el" href="bitmap_8cpp-source.html#l01461">resample</a>, <a class="el" href="bitmap_8cpp-source.html#l01498">resize</a>, <a class="el" href="bitmap_8cpp-source.html#l02714">rot90CCW</a>, and <a class="el" href="bitmap_8cpp-source.html#l02679">rot90CW</a>. </td>
+ </tr>
+</table>
+<a name="a14" doxytag="NLMISC::CBitmap::resample"></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 NLMISC::CBitmap::resample </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>nNewWidth</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>nNewHeight</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Resample the bitmap.
+<p>
+If mipmaps exist they are deleted, then rebuilt after resampling. <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>nNewWidth</em>&nbsp;</td><td>
+width after resample </td></tr>
+<tr><td valign=top><em>nNewHeight</em>&nbsp;</td><td>
+height after resample </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01461">1461</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="bitmap_8cpp-source.html#l01375">buildMipMaps</a>, <a class="el" href="common_8h-source.html#l00177">NLMISC::contReset</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="bitmap_8cpp-source.html#l01446">releaseMipMaps</a>, <a class="el" href="bitmap_8cpp-source.html#l01567">resamplePicture32</a>, and <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>. </td>
+ </tr>
+</table>
+<a name="c6" doxytag="NLMISC::CBitmap::resamplePicture32"></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 NLMISC::CBitmap::resamplePicture32 </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pSrc</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pDest</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>nSrcWidth</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>nSrcHeight</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>nDestWidth</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>nDestHeight</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The resample function.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>pSrc</em>&nbsp;</td><td>
+<a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a> array </td></tr>
+<tr><td valign=top><em>pDest</em>&nbsp;</td><td>
+<a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a> array for storing resampled texture </td></tr>
+<tr><td valign=top><em>nSrcWidth</em>&nbsp;</td><td>
+original width </td></tr>
+<tr><td valign=top><em>nSrcHeight</em>&nbsp;</td><td>
+original height </td></tr>
+<tr><td valign=top><em>nDestWidth</em>&nbsp;</td><td>
+width after resample </td></tr>
+<tr><td valign=top><em>nDestHeight</em>&nbsp;</td><td>
+height after resample </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01567">1567</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="debug_8h-source.html#l00254">nlassert</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l01461">resample</a>. </td>
+ </tr>
+</table>
+<a name="a13" doxytag="NLMISC::CBitmap::reset"></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 NLMISC::CBitmap::reset </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CBitmap.html#s11">TType</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>type</em> = RGBA </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>
+Reset the buffer.
+<p>
+Mipmaps are deleted and bitmap is not valid anymore.<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>type</em>&nbsp;</td><td>
+is the new type used for this texture </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01548">1548</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="common_8h-source.html#l00177">NLMISC::contReset</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00241">type</a>.
+<p>
+Referenced by <a class="el" href="hls__color__texture_8cpp-source.html#l00337">NL3D::CHLSColorTexture::buildColorVersion</a>, and <a class="el" href="texture_8h-source.html#l00313">NL3D::ITexture::release</a>. </td>
+ </tr>
+</table>
+<a name="a15" doxytag="NLMISC::CBitmap::resize"></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 NLMISC::CBitmap::resize </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>nNewWidth</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>nNewHeight</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNLMISC_1_1CBitmap.html#s11">TType</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>newType</em> = DonTKnow</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Resize the bitmap.
+<p>
+If mipmaps exist they are deleted and not rebuilt. This is not a crop. Pixels are lost after resize.<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>nNewWidth</em>&nbsp;</td><td>
+width after resize </td></tr>
+<tr><td valign=top><em>nNewHeight</em>&nbsp;</td><td>
+height after resize </td></tr>
+<tr><td valign=top><em>newType</em>&nbsp;</td><td>
+is the new type of the bitmap. If don_t_know, keep the same pixel format that before. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01498">1498</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s10">DonTKnow</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="bitmap_8cpp-source.html#l01446">releaseMipMaps</a>, and <a class="el" href="bitmap_8cpp-source.html#l01518">resizeMipMap</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l02751">blend</a>, <a class="el" href="hls__color__texture_8cpp-source.html#l00337">NL3D::CHLSColorTexture::buildColorVersion</a>, <a class="el" href="texture__font_8cpp-source.html#l00088">NL3D::CTextureFont::CTextureFont</a>, <a class="el" href="texture__mem_8cpp-source.html#l00045">NL3D::CTextureMem::doGenerate</a>, <a class="el" href="texture__grouped_8cpp-source.html#l00195">NL3D::CTextureGrouped::doGenerate</a>, and <a class="el" href="landscape_8cpp-source.html#l00115">NL3D::CTextureCross::doGenerate</a>. </td>
+ </tr>
+</table>
+<a name="a16" doxytag="NLMISC::CBitmap::resizeMipMap"></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 NLMISC::CBitmap::resizeMipMap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>numMipMap</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>nNewWidth</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>nNewHeight</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ADVANCED USE Resize a single mipmap level.
+<p>
+<a class="el" href="classNLMISC_1_1CBitmap.html#a15">resize</a>() should have been called before. This is not a crop. Pixels are lost after resize. No validity check is made. It is the user responsabitility fo setup correct mipmap size.<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>numMipMap</em>&nbsp;</td><td>
+id of the mipmap </td></tr>
+<tr><td valign=top><em>nNewWidth</em>&nbsp;</td><td>
+width after resize </td></tr>
+<tr><td valign=top><em>nNewHeight</em>&nbsp;</td><td>
+height after resize </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01518">1518</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8cpp-source.html#l00068">bitPerPixels</a>, <a class="el" href="common_8h-source.html#l00177">NLMISC::contReset</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s4">DXTC1</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s5">DXTC1Alpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s6">DXTC3</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s7">DXTC5</a>, <a class="el" href="bitmap_8h-source.html#l00069">NLMISC::MAX_MIPMAP</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>.
+<p>
+Referenced by <a class="el" href="hls__color__texture_8cpp-source.html#l00337">NL3D::CHLSColorTexture::buildColorVersion</a>, and <a class="el" href="bitmap_8cpp-source.html#l01498">resize</a>. </td>
+ </tr>
+</table>
+<a name="z275_10" doxytag="NLMISC::CBitmap::rgbaToAlpha"></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 NLMISC::CBitmap::rgbaToAlpha </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00671">671</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s2">Alpha</a>, <a class="el" href="common_8h-source.html#l00177">NLMISC::contReset</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, and <a class="el" href="cf__lexical_8cpp-source.html#l02935">size</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00784">convertToAlpha</a>. </td>
+ </tr>
+</table>
+<a name="z275_14" doxytag="NLMISC::CBitmap::rgbaToAlphaLuminance"></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 NLMISC::CBitmap::rgbaToAlphaLuminance </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00518">518</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s3">AlphaLuminance</a>, <a class="el" href="common_8h-source.html#l00177">NLMISC::contReset</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, and <a class="el" href="cf__lexical_8cpp-source.html#l02935">size</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00815">convertToAlphaLuminance</a>. </td>
+ </tr>
+</table>
+<a name="z275_6" doxytag="NLMISC::CBitmap::rgbaToLuminance"></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 NLMISC::CBitmap::rgbaToLuminance </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> [private]</code></td>
+ </tr>
+
+ </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="bitmap_8cpp-source.html#l00600">600</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="common_8h-source.html#l00177">NLMISC::contReset</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s1">Luminance</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, and <a class="el" href="cf__lexical_8cpp-source.html#l02935">size</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00753">convertToLuminance</a>. </td>
+ </tr>
+</table>
+<a name="a28" doxytag="NLMISC::CBitmap::rot90CCW"></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 NLMISC::CBitmap::rot90CCW </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></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Rotation of the bitmap of 90 degree in counter clockwise.
+<p>
+
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l02714">2714</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="bitmap_8cpp-source.html#l01375">buildMipMaps</a>, <a class="el" href="common_8h-source.html#l00177">NLMISC::contReset</a>, <a class="el" href="bitmap_8cpp-source.html#l01341">getHeight</a>, <a class="el" href="bitmap_8cpp-source.html#l01316">getWidth</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="bitmap_8cpp-source.html#l01446">releaseMipMaps</a>, and <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>. </td>
+ </tr>
+</table>
+<a name="a27" doxytag="NLMISC::CBitmap::rot90CW"></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 NLMISC::CBitmap::rot90CW </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></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Rotation of the bitmap of 90 degree in clockwise.
+<p>
+
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l02679">2679</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="bitmap_8cpp-source.html#l01375">buildMipMaps</a>, <a class="el" href="common_8h-source.html#l00177">NLMISC::contReset</a>, <a class="el" href="bitmap_8cpp-source.html#l01341">getHeight</a>, <a class="el" href="bitmap_8cpp-source.html#l01316">getWidth</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="bitmap_8cpp-source.html#l01446">releaseMipMaps</a>, and <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>. </td>
+ </tr>
+</table>
+<a name="a10" doxytag="NLMISC::CBitmap::rotateCCW"></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 NLMISC::CBitmap::rotateCCW </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></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Rotate a bitmap in CCW mode.
+<p>
+<dl compact><dt><b>
+See also: </b><dd>
+<a class="el" href="classNLMISC_1_1CBitmap.html#a12">releaseMipMaps</a>(). </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l02241">2241</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s2">Alpha</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s3">AlphaLuminance</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s1">Luminance</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, and <a class="el" href="bitmap_8cpp-source.html#l02218">NLMISC::rotateCCW</a>. </td>
+ </tr>
+</table>
+<a name="a17" doxytag="NLMISC::CBitmap::setMipMapCount"></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 NLMISC::CBitmap::setMipMapCount </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>mmc</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>
+ADVANCED USE To use in conjunction with resizeMipMap.
+<p>
+Setup the correct total number of mipmap No validity check is made. It is the user responsabitility fo setup correct mipmap count.
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01539">1539</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00092">_MipMapCount</a>, and <a class="el" href="memory__common_8h-source.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="hls__color__texture_8cpp-source.html#l00337">NL3D::CHLSColorTexture::buildColorVersion</a>. </td>
+ </tr>
+</table>
+<a name="f0" doxytag="NLMISC::CBitmap::uncompress"></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 NLMISC::CBitmap::uncompress </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>color</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline, static, private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Extracting RGBA infos from a 16bits word.
+<p>
+(used by S3TC decompression) <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>color</em>&nbsp;</td><td>
+a 16bits integer </td></tr>
+<tr><td valign=top><em>r</em>&nbsp;</td><td>
+a <a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a> </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l01303">1303</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00329">NLMISC::CRGBA::A</a>, <a class="el" href="rgba_8h-source.html#l00327">NLMISC::CRGBA::B</a>, <a class="el" href="rgba_8h-source.html#l00325">NLMISC::CRGBA::G</a>, <a class="el" href="rgba_8h-source.html#l00323">NLMISC::CRGBA::R</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00928">decompressDXT1</a>, <a class="el" href="bitmap_8cpp-source.html#l01043">decompressDXT3</a>, <a class="el" href="bitmap_8cpp-source.html#l01153">decompressDXT5</a>, and <a class="el" href="bitmap_8cpp-source.html#l02830">getDXTCColorFromBlock</a>. </td>
+ </tr>
+</table>
+<a name="a19" doxytag="NLMISC::CBitmap::writeJPG"></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 NLMISC::CBitmap::writeJPG </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="mdname" nowrap>&nbsp; <em>f</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>quality</em> = 80</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>
+Write a JPG from the object pixels buffer.
+<p>
+If the current pixel format is not rgba then the method does nothing If the pixel format is Alpha then we save in 8 bpp <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>f</em>&nbsp;</td><td>
+<a class="el" href="classNLMISC_1_1IStream.html">IStream</a> (must be a reading stream) </td></tr>
+<tr><td valign=top><em>quality</em>&nbsp;</td><td>
+0=very bad quality 100=best quality </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+true if succeed, false else </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8h-source.html#l00616">616</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.
+<p>
+References <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td>
+ </tr>
+</table>
+<a name="a18" doxytag="NLMISC::CBitmap::writeTGA"></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 NLMISC::CBitmap::writeTGA </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="mdname" nowrap>&nbsp; <em>f</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>d</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>upsideDown</em> = false</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Write a TGA (24 or 32 bits) from the object pixels buffer.
+<p>
+If the current pixel format is not rgba then the method does nothing If the pixel format is Alpha then we save in 8 bpp <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>f</em>&nbsp;</td><td>
+<a class="el" href="classNLMISC_1_1IStream.html">IStream</a> (must be a reading stream) </td></tr>
+<tr><td valign=top><em>d</em>&nbsp;</td><td>
+depth : 8 or 16 or 24 or 32 </td></tr>
+<tr><td valign=top><em>upsideDown</em>&nbsp;</td><td>
+if true, the bitmap will be saved with the upside down </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+true if succeed, false else </dl>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l02086">2086</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00089">_Data</a>, <a class="el" href="bitmap_8h-source.html#l00095">_Height</a>, <a class="el" href="bitmap_8h-source.html#l00094">_Width</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s2">Alpha</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">depth</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">height</a>, <a class="el" href="stream__inline_8h-source.html#l00062">NLMISC::IStream::isReading</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#m0">PixelFormat</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>, <a class="el" href="classNLMISC_1_1CBitmap.html#s11s0">RGBA</a>, <a class="el" href="stream_8h-source.html#l00222">NLMISC::IStream::serial</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">width</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="n0" doxytag="NLMISC::CBitmap::_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"> std::vector&lt;<a class="el" href="memory__common_8h.html#a7">uint8</a>&gt; NLMISC::CBitmap::_Data[<a class="el" href="namespaceNLMISC.html#a4">MAX_MIPMAP</a>]<code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Reimplemented in <a class="el" href="classNL3D_1_1CTextureMem.html#o0">NL3D::CTextureMem</a>.
+<p>
+Definition at line <a class="el" href="bitmap_8h-source.html#l00089">89</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00726">alphaLuminanceToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00641">alphaLuminanceToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00488">alphaLuminanceToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00573">alphaToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00460">alphaToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l02751">blend</a>, <a class="el" href="bitmap_8cpp-source.html#l02267">blit</a>, <a class="el" href="bitmap_8cpp-source.html#l01375">buildMipMaps</a>, <a class="el" href="bitmap_8cpp-source.html#l00928">decompressDXT1</a>, <a class="el" href="bitmap_8cpp-source.html#l01043">decompressDXT3</a>, <a class="el" href="bitmap_8cpp-source.html#l01153">decompressDXT5</a>, <a class="el" href="landscape_8cpp-source.html#l00115">NL3D::CTextureCross::doGenerate</a>, <a class="el" href="bitmap_8cpp-source.html#l02615">flipH</a>, <a class="el" href="bitmap_8cpp-source.html#l02647">flipV</a>, <a class="el" href="bitmap_8h-source.html#l00307">getPixels</a>, <a class="el" href="bitmap_8cpp-source.html#l00701">luminanceToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00546">luminanceToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00433">luminanceToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00156">makeDummy</a>, <a class="el" href="bitmap_8cpp-source.html#l00216">readDDS</a>, <a class="el" href="bitmap_8cpp-source.html#l01749">readTGA</a>, <a class="el" href="texture__font_8cpp-source.html#l00175">NL3D::CTextureFont::rebuildLetter</a>, <a class="el" href="bitmap_8cpp-source.html#l01446">releaseMipMaps</a>, <a class="el" href="bitmap_8cpp-source.html#l01461">resample</a>, <a class="el" href="bitmap_8cpp-source.html#l01548">reset</a>, <a class="el" href="bitmap_8cpp-source.html#l01518">resizeMipMap</a>, <a class="el" href="bitmap_8cpp-source.html#l00671">rgbaToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00518">rgbaToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00600">rgbaToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l02714">rot90CCW</a>, <a class="el" href="bitmap_8cpp-source.html#l02679">rot90CW</a>, <a class="el" href="bitmap_8cpp-source.html#l02241">rotateCCW</a>, and <a class="el" href="bitmap_8cpp-source.html#l02086">writeTGA</a>. </td>
+ </tr>
+</table>
+<a name="n4" doxytag="NLMISC::CBitmap::_Height"></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> NLMISC::CBitmap::_Height<code> [protected]</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="bitmap_8h-source.html#l00095">95</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00726">alphaLuminanceToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00641">alphaLuminanceToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00488">alphaLuminanceToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00573">alphaToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00628">alphaToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00460">alphaToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l02751">blend</a>, <a class="el" href="bitmap_8cpp-source.html#l02267">blit</a>, <a class="el" href="bitmap_8cpp-source.html#l01375">buildMipMaps</a>, <a class="el" href="bitmap_8h-source.html#l00253">CBitmap</a>, <a class="el" href="bitmap_8cpp-source.html#l00928">decompressDXT1</a>, <a class="el" href="bitmap_8cpp-source.html#l01043">decompressDXT3</a>, <a class="el" href="bitmap_8cpp-source.html#l01153">decompressDXT5</a>, <a class="el" href="texture__far_8cpp-source.html#l00225">NL3D::CTextureFar::doGenerate</a>, <a class="el" href="bitmap_8cpp-source.html#l01341">getHeight</a>, <a class="el" href="bitmap_8cpp-source.html#l01316">getWidth</a>, <a class="el" href="bitmap_8cpp-source.html#l00701">luminanceToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00546">luminanceToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00433">luminanceToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00156">makeDummy</a>, <a class="el" href="bitmap_8cpp-source.html#l00216">readDDS</a>, <a class="el" href="bitmap_8cpp-source.html#l01749">readTGA</a>, <a class="el" href="texture__far_8cpp-source.html#l00272">NL3D::CTextureFar::rebuildRectangle</a>, <a class="el" href="bitmap_8cpp-source.html#l01461">resample</a>, <a class="el" href="bitmap_8cpp-source.html#l01548">reset</a>, <a class="el" href="bitmap_8cpp-source.html#l01498">resize</a>, <a class="el" href="bitmap_8cpp-source.html#l00671">rgbaToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00518">rgbaToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00600">rgbaToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l02714">rot90CCW</a>, <a class="el" href="bitmap_8cpp-source.html#l02679">rot90CW</a>, <a class="el" href="bitmap_8cpp-source.html#l02241">rotateCCW</a>, and <a class="el" href="bitmap_8cpp-source.html#l02086">writeTGA</a>. </td>
+ </tr>
+</table>
+<a name="n2" doxytag="NLMISC::CBitmap::_LoadGrayscaleAsAlpha"></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 NLMISC::CBitmap::_LoadGrayscaleAsAlpha<code> [protected]</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="bitmap_8h-source.html#l00093">93</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8h-source.html#l00253">CBitmap</a>, <a class="el" href="bitmap_8h-source.html#l00480">isGrayscaleAsAlpha</a>, <a class="el" href="bitmap_8h-source.html#l00469">loadGrayscaleAsAlpha</a>, and <a class="el" href="bitmap_8cpp-source.html#l01749">readTGA</a>. </td>
+ </tr>
+</table>
+<a name="n1" doxytag="NLMISC::CBitmap::_MipMapCount"></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> NLMISC::CBitmap::_MipMapCount<code> [protected]</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="bitmap_8h-source.html#l00092">92</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00726">alphaLuminanceToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00641">alphaLuminanceToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00488">alphaLuminanceToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00573">alphaToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00460">alphaToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l01375">buildMipMaps</a>, <a class="el" href="bitmap_8h-source.html#l00253">CBitmap</a>, <a class="el" href="bitmap_8cpp-source.html#l00928">decompressDXT1</a>, <a class="el" href="bitmap_8cpp-source.html#l01043">decompressDXT3</a>, <a class="el" href="bitmap_8cpp-source.html#l01153">decompressDXT5</a>, <a class="el" href="bitmap_8cpp-source.html#l02615">flipH</a>, <a class="el" href="bitmap_8cpp-source.html#l02647">flipV</a>, <a class="el" href="bitmap_8h-source.html#l00368">getMipMapCount</a>, <a class="el" href="bitmap_8cpp-source.html#l00701">luminanceToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00546">luminanceToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00433">luminanceToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00156">makeDummy</a>, <a class="el" href="bitmap_8cpp-source.html#l00216">readDDS</a>, <a class="el" href="bitmap_8cpp-source.html#l01749">readTGA</a>, <a class="el" href="bitmap_8cpp-source.html#l01446">releaseMipMaps</a>, <a class="el" href="bitmap_8cpp-source.html#l01461">resample</a>, <a class="el" href="bitmap_8cpp-source.html#l01548">reset</a>, <a class="el" href="bitmap_8cpp-source.html#l00671">rgbaToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00518">rgbaToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00600">rgbaToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l02714">rot90CCW</a>, <a class="el" href="bitmap_8cpp-source.html#l02679">rot90CW</a>, and <a class="el" href="bitmap_8cpp-source.html#l01539">setMipMapCount</a>. </td>
+ </tr>
+</table>
+<a name="n3" doxytag="NLMISC::CBitmap::_Width"></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> NLMISC::CBitmap::_Width<code> [protected]</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="bitmap_8h-source.html#l00094">94</a> of file <a class="el" href="bitmap_8h-source.html">bitmap.h</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00726">alphaLuminanceToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00641">alphaLuminanceToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00488">alphaLuminanceToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00573">alphaToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00628">alphaToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00460">alphaToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l02751">blend</a>, <a class="el" href="bitmap_8cpp-source.html#l02267">blit</a>, <a class="el" href="bitmap_8cpp-source.html#l01375">buildMipMaps</a>, <a class="el" href="bitmap_8h-source.html#l00253">CBitmap</a>, <a class="el" href="bitmap_8cpp-source.html#l00928">decompressDXT1</a>, <a class="el" href="bitmap_8cpp-source.html#l01043">decompressDXT3</a>, <a class="el" href="bitmap_8cpp-source.html#l01153">decompressDXT5</a>, <a class="el" href="texture__far_8cpp-source.html#l00225">NL3D::CTextureFar::doGenerate</a>, <a class="el" href="bitmap_8cpp-source.html#l01341">getHeight</a>, <a class="el" href="bitmap_8cpp-source.html#l01316">getWidth</a>, <a class="el" href="bitmap_8cpp-source.html#l00701">luminanceToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00546">luminanceToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00433">luminanceToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00156">makeDummy</a>, <a class="el" href="bitmap_8cpp-source.html#l00216">readDDS</a>, <a class="el" href="bitmap_8cpp-source.html#l01749">readTGA</a>, <a class="el" href="texture__far_8cpp-source.html#l00272">NL3D::CTextureFar::rebuildRectangle</a>, <a class="el" href="bitmap_8cpp-source.html#l01461">resample</a>, <a class="el" href="bitmap_8cpp-source.html#l01548">reset</a>, <a class="el" href="bitmap_8cpp-source.html#l01498">resize</a>, <a class="el" href="bitmap_8cpp-source.html#l00671">rgbaToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00518">rgbaToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00600">rgbaToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l02714">rot90CCW</a>, <a class="el" href="bitmap_8cpp-source.html#l02679">rot90CW</a>, <a class="el" href="bitmap_8cpp-source.html#l02241">rotateCCW</a>, and <a class="el" href="bitmap_8cpp-source.html#l02086">writeTGA</a>. </td>
+ </tr>
+</table>
+<a name="p0" doxytag="NLMISC::CBitmap::bitPerPixels"></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="memory__common_8h.html#a11">uint32</a> NLMISC::CBitmap::bitPerPixels<code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<b>Initial value:</b><div class="fragment"><pre>
+{
+ 32,
+ 8,
+ 8,
+ 16,
+ 4,
+ 4,
+ 8,
+ 8,
+ 16
+}</pre></div>
+<p>
+Definition at line <a class="el" href="bitmap_8cpp-source.html#l00068">68</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l02267">blit</a>, and <a class="el" href="bitmap_8cpp-source.html#l01518">resizeMipMap</a>. </td>
+ </tr>
+</table>
+<a name="p1" doxytag="NLMISC::CBitmap::DXTC1HEADER"></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="memory__common_8h.html#a11">uint32</a> NLMISC::CBitmap::DXTC1HEADER = NL_MAKEFOURCC('D','X', 'T', '1')<code> [static]</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="bitmap_8cpp-source.html#l00081">81</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00216">readDDS</a>. </td>
+ </tr>
+</table>
+<a name="p2" doxytag="NLMISC::CBitmap::DXTC3HEADER"></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="memory__common_8h.html#a11">uint32</a> NLMISC::CBitmap::DXTC3HEADER = NL_MAKEFOURCC('D','X', 'T', '3')<code> [static]</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="bitmap_8cpp-source.html#l00082">82</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00216">readDDS</a>. </td>
+ </tr>
+</table>
+<a name="p3" doxytag="NLMISC::CBitmap::DXTC5HEADER"></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="memory__common_8h.html#a11">uint32</a> NLMISC::CBitmap::DXTC5HEADER = NL_MAKEFOURCC('D','X', 'T', '5')<code> [static]</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="bitmap_8cpp-source.html#l00083">83</a> of file <a class="el" href="bitmap_8cpp-source.html">bitmap.cpp</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00216">readDDS</a>. </td>
+ </tr>
+</table>
+<a name="m0" doxytag="NLMISC::CBitmap::PixelFormat"></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"> enum <a class="el" href="classNLMISC_1_1CBitmap.html#s11">NLMISC::CBitmap::TType</a> NLMISC::CBitmap::PixelFormat
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00726">alphaLuminanceToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00641">alphaLuminanceToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00488">alphaLuminanceToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00573">alphaToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00628">alphaToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00460">alphaToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l02267">blit</a>, <a class="el" href="texture__file_8cpp-source.html#l00041">NL3D::CTextureFile::buildBitmapFromFile</a>, <a class="el" href="bitmap_8cpp-source.html#l01375">buildMipMaps</a>, <a class="el" href="bitmap_8h-source.html#l00253">CBitmap</a>, <a class="el" href="bitmap_8cpp-source.html#l00889">convertToType</a>, <a class="el" href="bitmap_8cpp-source.html#l00928">decompressDXT1</a>, <a class="el" href="bitmap_8cpp-source.html#l01043">decompressDXT3</a>, <a class="el" href="bitmap_8cpp-source.html#l01153">decompressDXT5</a>, <a class="el" href="bitmap_8cpp-source.html#l02615">flipH</a>, <a class="el" href="bitmap_8cpp-source.html#l02647">flipV</a>, <a class="el" href="bitmap_8cpp-source.html#l02405">getColor</a>, <a class="el" href="bitmap_8h-source.html#l00334">getPixelFormat</a>, <a class="el" href="bitmap_8cpp-source.html#l00701">luminanceToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00546">luminanceToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00433">luminanceToRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00156">makeDummy</a>, <a class="el" href="bitmap_8cpp-source.html#l00216">readDDS</a>, <a class="el" href="bitmap_8cpp-source.html#l01749">readTGA</a>, <a class="el" href="bitmap_8cpp-source.html#l01461">resample</a>, <a class="el" href="bitmap_8cpp-source.html#l01548">reset</a>, <a class="el" href="bitmap_8cpp-source.html#l01498">resize</a>, <a class="el" href="bitmap_8cpp-source.html#l01518">resizeMipMap</a>, <a class="el" href="bitmap_8cpp-source.html#l00671">rgbaToAlpha</a>, <a class="el" href="bitmap_8cpp-source.html#l00518">rgbaToAlphaLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l00600">rgbaToLuminance</a>, <a class="el" href="bitmap_8cpp-source.html#l02714">rot90CCW</a>, <a class="el" href="bitmap_8cpp-source.html#l02679">rot90CW</a>, and <a class="el" href="bitmap_8cpp-source.html#l02086">writeTGA</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="bitmap_8h-source.html">bitmap.h</a><li><a class="el" href="bitmap_8cpp-source.html">bitmap.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>