aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNLMISC_1_1CRGBA.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/classNLMISC_1_1CRGBA.html')
-rw-r--r--docs/doxygen/nel/classNLMISC_1_1CRGBA.html1950
1 files changed, 1950 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLMISC_1_1CRGBA.html b/docs/doxygen/nel/classNLMISC_1_1CRGBA.html
new file mode 100644
index 00000000..083401d6
--- /dev/null
+++ b/docs/doxygen/nel/classNLMISC_1_1CRGBA.html
@@ -0,0 +1,1950 @@
+<!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::CRGBA Class Reference</h1>Class pixel RGBA.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="rgba_8h-source.html">rgba.h</a>&gt;</code>
+<p>
+<a href="classNLMISC_1_1CRGBA-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#a0">CRGBA</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Default constructor. do nothing.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#a1">CRGBA</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> <a class="el" href="driver__opengl__extension__def_8h.html#a385">r</a>, <a class="el" href="memory__common_8h.html#a7">uint8</a> g, <a class="el" href="memory__common_8h.html#a7">uint8</a> b, <a class="el" href="memory__common_8h.html#a7">uint8</a> a=255)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Constructor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#a2">getPacked</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return a packed pixel.</em> <a href="#a2">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_1CRGBA.html#a3">operator&lt;</a> (CRGBA c) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Comparison operator.</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_1CRGBA.html#a4">operator!=</a> (CRGBA c) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Comparison operator.</em> <a href="#a4">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_1CRGBA.html#a5">operator==</a> (CRGBA c) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Equality operator.</em> <a href="#a5">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_1CRGBA.html#a6">serial</a> (class <a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Serialisation.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#a7">blendFromui</a> (CRGBA c0, CRGBA c1, <a class="el" href="memory__common_8h.html#a15">uint</a> coef)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Blend two colors.</em> <a href="#a7">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_1CRGBA.html#a8">modulateFromui</a> (CRGBA c0, <a class="el" href="memory__common_8h.html#a15">uint</a> a)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Modulate colors with a constant.</em> <a href="#a8">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_1CRGBA.html#a9">modulateFromColor</a> (CRGBA c0, CRGBA c1)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Modulate colors with another color.</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_1CRGBA.html#a10">set</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> <a class="el" href="driver__opengl__extension__def_8h.html#a385">r</a>, <a class="el" href="memory__common_8h.html#a7">uint8</a> g, <a class="el" href="memory__common_8h.html#a7">uint8</a> b, <a class="el" href="memory__common_8h.html#a7">uint8</a> a=255)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set colors.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#a11">get565</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get a 16 bits 565 pixel.</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_1CRGBA.html#a12">set565</a> (<a class="el" href="memory__common_8h.html#a9">uint16</a> col)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the RGB fields with a 16 bits 565 pixel.</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_1CRGBA.html#a13">avg2</a> (CRGBA a, CRGBA b)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Compute in this the average of 2 RGBA.</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_1CRGBA.html#a14">avg4</a> (CRGBA a, CRGBA b, CRGBA c, CRGBA d)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Compute in this the average of 4 RGBA.</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_1CRGBA.html#a15">add</a> (CRGBA c0, CRGBA c1)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Do the sum of 2 rgba, clamp, and store in this.</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_1CRGBA.html#a16">sub</a> (CRGBA c0, CRGBA c1)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Compute c0 - c1, and store in this.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">RGBOnly methods. Same f() as their homonym, but don't modify A component.</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#z321_0">blendFromuiRGBOnly</a> (CRGBA c0, CRGBA c1, <a class="el" href="memory__common_8h.html#a15">uint</a> coef)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>see <a class="el" href="classNLMISC_1_1CRGBA.html#a7">blendFromui</a>().</em> <a href="#z321_0">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_1CRGBA.html#z321_1">modulateFromuiRGBOnly</a> (CRGBA c0, <a class="el" href="memory__common_8h.html#a15">uint</a> a)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>see <a class="el" href="classNLMISC_1_1CRGBA.html#a8">modulateFromui</a>().</em> <a href="#z321_1">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_1CRGBA.html#z321_2">modulateFromColorRGBOnly</a> (CRGBA c0, CRGBA c1)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>see <a class="el" href="classNLMISC_1_1CRGBA.html#a9">modulateFromColor</a>().</em> <a href="#z321_2">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_1CRGBA.html#z321_3">avg2RGBOnly</a> (CRGBA a, CRGBA b)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>see <a class="el" href="classNLMISC_1_1CRGBA.html#a13">avg2</a>().</em> <a href="#z321_3">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_1CRGBA.html#z321_4">avg4RGBOnly</a> (CRGBA a, CRGBA b, CRGBA c, CRGBA d)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>see <a class="el" href="classNLMISC_1_1CRGBA.html#a14">avg4</a>().</em> <a href="#z321_4">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_1CRGBA.html#z321_5">addRGBOnly</a> (CRGBA c0, CRGBA c1)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>see <a class="el" href="classNLMISC_1_1CRGBA.html#a15">add</a>().</em> <a href="#z321_5">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_1CRGBA.html#z321_6">subRGBOnly</a> (CRGBA c0, CRGBA c1)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>see <a class="el" href="classNLMISC_1_1CRGBA.html#a16">sub</a>().</em> <a href="#z321_6">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Color space conversions RGB only</div></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#z323_0">convertToHLS</a> (float &amp;h, float &amp;l, float &amp;S) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Convert to HLS color space.</em> <a href="#z323_0">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_1CRGBA.html#z323_1">buildFromHLS</a> (float h, float l, float <a class="el" href="driver__opengl__extension__def_8h.html#a383">s</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Build from HLS valued Each component ranges from 0 to 1.f.</em> <a href="#z323_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Color group manipulation</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#z322_0">addColors</a> (CRGBA *dest, const CRGBA *src1, const CRGBA *src2, <a class="el" href="memory__common_8h.html#a15">uint</a> numColors, <a class="el" href="memory__common_8h.html#a15">uint</a> srcStride=sizeof(CRGBA), <a class="el" href="memory__common_8h.html#a15">uint</a> destStride=sizeof(CRGBA), <a class="el" href="memory__common_8h.html#a15">uint</a> dup=1)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Add a group of colors with saturation, using mmx instructions when present.</em> <a href="#z322_0">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_1CRGBA.html#z322_1">modulateColors</a> (CRGBA *dest, const CRGBA *src1, const CRGBA *src2, <a class="el" href="memory__common_8h.html#a15">uint</a> numColors, <a class="el" href="memory__common_8h.html#a15">uint</a> srcStride=sizeof(CRGBA), <a class="el" href="memory__common_8h.html#a15">uint</a> destStride=sizeof(CRGBA), <a class="el" href="memory__common_8h.html#a15">uint</a> dup=1)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Modulate a group of colors with saturation, using mmx instructions when present.</em> <a href="#z322_1">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_1CRGBA.html#z322_2">subtractColors</a> (CRGBA *dest, const CRGBA *src1, const CRGBA *src2, <a class="el" href="memory__common_8h.html#a15">uint</a> numColors, <a class="el" href="memory__common_8h.html#a15">uint</a> srcStride=sizeof(CRGBA), <a class="el" href="memory__common_8h.html#a15">uint</a> destStride=sizeof(CRGBA), <a class="el" href="memory__common_8h.html#a15">uint</a> dup=1)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Subtract a group of colors with saturation (src1 - src2), using mmx instructions when present.</em> <a href="#z322_2">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><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#m0">R</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Red componant.</em> <a href="#m0">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_1CRGBA.html#m1">G</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Green componant.</em> <a href="#m1">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_1CRGBA.html#m2">B</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Blue componant.</em> <a href="#m2">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_1CRGBA.html#m3">A</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Alpha componant.</em> <a href="#m3">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>const CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#p0">Black</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>some colors.</em> <a href="#p0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#p1">Red</a></td></tr>
+<tr><td nowrap align=right valign=top>const CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#p2">Green</a></td></tr>
+<tr><td nowrap align=right valign=top>const CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#p3">Yellow</a></td></tr>
+<tr><td nowrap align=right valign=top>const CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#p4">Blue</a></td></tr>
+<tr><td nowrap align=right valign=top>const CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#p5">Magenta</a></td></tr>
+<tr><td nowrap align=right valign=top>const CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#p6">Cyan</a></td></tr>
+<tr><td nowrap align=right valign=top>const CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CRGBA.html#p7">White</a></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Class pixel RGBA.
+<p>
+<dl compact><dt><b>
+Author: </b><dd>
+Cyril Corvazier , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2000 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00044">44</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NLMISC::CRGBA::CRGBA"></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::CRGBA::CRGBA </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Default constructor. do nothing.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00049">49</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+Referenced by <a class="el" href="rgba_8h-source.html#l00190">add</a>, <a class="el" href="rgba_8cpp-source.html#l00079">addColors</a>, <a class="el" href="rgba_8h-source.html#l00253">addRGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00167">avg2</a>, <a class="el" href="rgba_8h-source.html#l00239">avg2RGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00179">avg4</a>, <a class="el" href="rgba_8h-source.html#l00246">avg4RGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00093">blendFromui</a>, <a class="el" href="rgba_8h-source.html#l00216">blendFromuiRGBOnly</a>, <a class="el" href="rgba_8cpp-source.html#l00239">modulateColors</a>, <a class="el" href="rgba_8h-source.html#l00122">modulateFromColor</a>, <a class="el" href="rgba_8h-source.html#l00232">modulateFromColorRGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00108">modulateFromui</a>, <a class="el" href="rgba_8h-source.html#l00225">modulateFromuiRGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00073">operator!=</a>, <a class="el" href="rgba_8h-source.html#l00069">operator&lt;</a>, <a class="el" href="rgba_8h-source.html#l00078">operator==</a>, <a class="el" href="rgba_8h-source.html#l00202">sub</a>, <a class="el" href="rgba_8h-source.html#l00261">subRGBOnly</a>, and <a class="el" href="rgba_8cpp-source.html#l00412">subtractColors</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NLMISC::CRGBA::CRGBA"></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::CRGBA::CRGBA </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>r</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>g</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>b</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>a</em> = 255</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>r</em>&nbsp;</td><td>
+Red componant. </td></tr>
+<tr><td valign=top><em>g</em>&nbsp;</td><td>
+Green componant. </td></tr>
+<tr><td valign=top><em>b</em>&nbsp;</td><td>
+Blue componant. </td></tr>
+<tr><td valign=top><em>a</em>&nbsp;</td><td>
+Alpha componant. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00058">58</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00329">A</a>, <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, <a class="el" href="rgba_8h-source.html#l00323">R</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a15" doxytag="NLMISC::CRGBA::add"></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::CRGBA::add </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c1</em></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>
+Do the sum of 2 rgba, clamp, and store in this.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00190">190</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00329">A</a>, <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, <a class="el" href="rgba_8h-source.html#l00323">R</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>.
+<p>
+Referenced by <a class="el" href="rgba_8cpp-source.html#l00079">addColors</a>, <a class="el" href="rgba_8cpp-source.html#l00239">modulateColors</a>, and <a class="el" href="rgba_8cpp-source.html#l00412">subtractColors</a>. </td>
+ </tr>
+</table>
+<a name="z322_0" doxytag="NLMISC::CRGBA::addColors"></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::CRGBA::addColors </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>dest</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CRGBA *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>src1</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CRGBA *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>src2</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>numColors</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>srcStride</em> = sizeof(CRGBA), </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>destStride</em> = sizeof(CRGBA), </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>dup</em> = 1</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>
+Add a group of colors with saturation, using mmx instructions when present.
+<p>
+<dl compact><dt><b>
+ams dest The destination color buffer, encoded as CRGBA's.</b><dd>
+ </dl><dl compact><dt><b>
+ams src1 The first source color buffer, encoded as CRGBA's.</b><dd>
+ </dl><dl compact><dt><b>
+ams src2 The second source color buffer, encoded as CRGBA's.</b><dd>
+ </dl><dl compact><dt><b>
+ams numColors The number of colors to compute</b><dd>
+ </dl><dl compact><dt><b>
+ams Stride between each source color.</b><dd>
+ </dl><dl compact><dt><b>
+ams Stride between each destination color.</b><dd>
+ </dl><dl compact><dt><b>
+ams Dup the number of time the result must be duplicated in the destination.</b><dd>
+</dl>
+<p>
+Definition at line <a class="el" href="rgba_8cpp-source.html#l00079">79</a> of file <a class="el" href="rgba_8cpp-source.html">rgba.cpp</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00190">add</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00611">offset</a>, and <a class="el" href="rgba_8h-source.html#l00202">sub</a>. </td>
+ </tr>
+</table>
+<a name="z321_5" doxytag="NLMISC::CRGBA::addRGBOnly"></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::CRGBA::addRGBOnly </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c1</em></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>
+see <a class="el" href="classNLMISC_1_1CRGBA.html#a15">add</a>().
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00253">253</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, <a class="el" href="rgba_8h-source.html#l00323">R</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>. </td>
+ </tr>
+</table>
+<a name="a13" doxytag="NLMISC::CRGBA::avg2"></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::CRGBA::avg2 </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>a</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>b</em></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>
+Compute in this the average of 2 RGBA.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00167">167</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00329">A</a>, <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>. </td>
+ </tr>
+</table>
+<a name="z321_3" doxytag="NLMISC::CRGBA::avg2RGBOnly"></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::CRGBA::avg2RGBOnly </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>a</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>b</em></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>
+see <a class="el" href="classNLMISC_1_1CRGBA.html#a13">avg2</a>().
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00239">239</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>. </td>
+ </tr>
+</table>
+<a name="a14" doxytag="NLMISC::CRGBA::avg4"></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::CRGBA::avg4 </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>a</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>b</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>d</em></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>
+Compute in this the average of 4 RGBA.
+<p>
+The average is "correct": +1 is added to the four color, to make a "round" like average.
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00179">179</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00329">A</a>, <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>. </td>
+ </tr>
+</table>
+<a name="z321_4" doxytag="NLMISC::CRGBA::avg4RGBOnly"></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::CRGBA::avg4RGBOnly </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>a</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>b</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>d</em></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>
+see <a class="el" href="classNLMISC_1_1CRGBA.html#a14">avg4</a>().
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00246">246</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NLMISC::CRGBA::blendFromui"></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::CRGBA::blendFromui </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c1</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>coef</em></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>
+Blend two colors.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>c0</em>&nbsp;</td><td>
+Color 0. </td></tr>
+<tr><td valign=top><em>c1</em>&nbsp;</td><td>
+Color 1. </td></tr>
+<tr><td valign=top><em>coef</em>&nbsp;</td><td>
+Blend factor. 0~256. 0 return c0 and 256 return c1. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00093">93</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00329">A</a>, <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>.
+<p>
+Referenced by <a class="el" href="bitmap_8cpp-source.html#l00928">NLMISC::CBitmap::decompressDXT1</a>, <a class="el" href="bitmap_8cpp-source.html#l01043">NLMISC::CBitmap::decompressDXT3</a>, <a class="el" href="bitmap_8cpp-source.html#l01153">NLMISC::CBitmap::decompressDXT5</a>, and <a class="el" href="texture__far_8cpp-source.html#l01193">NL3D_expandLightmap</a>. </td>
+ </tr>
+</table>
+<a name="z321_0" doxytag="NLMISC::CRGBA::blendFromuiRGBOnly"></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::CRGBA::blendFromuiRGBOnly </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c1</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>coef</em></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>
+see <a class="el" href="classNLMISC_1_1CRGBA.html#a7">blendFromui</a>().
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00216">216</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>. </td>
+ </tr>
+</table>
+<a name="z323_1" doxytag="NLMISC::CRGBA::buildFromHLS"></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::CRGBA::buildFromHLS </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>h</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>l</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>s</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>
+Build from HLS valued Each component ranges from 0 to 1.f.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8cpp-source.html#l00685">685</a> of file <a class="el" href="rgba_8cpp-source.html">rgba.cpp</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, <a class="el" href="rgba_8cpp-source.html#l00657">NLMISC::HLSValue</a>, <a class="el" href="opcode__register_8cpp-source.html#l00036">NLAISCRIPT::l</a>, <a class="el" href="rgba_8h-source.html#l00323">R</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00673">s</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td>
+ </tr>
+</table>
+<a name="z323_0" doxytag="NLMISC::CRGBA::convertToHLS"></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::CRGBA::convertToHLS </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>h</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>l</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>S</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>
+Convert to HLS color space.
+<p>
+Lightness and satuation ranges from 0 to 1 There's no range for hue, (all hues colors range from 0 to 360, from 360 to 720 and so on) <dl compact><dt><b>
+Returns: </b><dd>
+true if the color is achromatic </dl>
+<p>
+Definition at line <a class="el" href="rgba_8cpp-source.html#l00608">608</a> of file <a class="el" href="rgba_8cpp-source.html">rgba.cpp</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, <a class="el" href="opcode__register_8cpp-source.html#l00036">NLAISCRIPT::l</a>, <a class="el" href="common_8h-source.html#l00166">NLMISC::maxof</a>, <a class="el" href="common_8h-source.html#l00160">NLMISC::minof</a>, <a class="el" href="rgba_8h-source.html#l00323">R</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00673">s</a>. </td>
+ </tr>
+</table>
+<a name="a11" doxytag="NLMISC::CRGBA::get565"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a9">uint16</a> NLMISC::CRGBA::get565 </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get a 16 bits 565 pixel.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00143">143</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NLMISC::CRGBA::getPacked"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NLMISC::CRGBA::getPacked </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 a packed pixel.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00064">64</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00329">A</a>, <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>.
+<p>
+Referenced by <a class="el" href="rgba_8h-source.html#l00069">operator&lt;</a>. </td>
+ </tr>
+</table>
+<a name="z322_1" doxytag="NLMISC::CRGBA::modulateColors"></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::CRGBA::modulateColors </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>dest</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CRGBA *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>src1</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CRGBA *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>src2</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>numColors</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>srcStride</em> = sizeof(CRGBA), </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>destStride</em> = sizeof(CRGBA), </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>dup</em> = 1</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>
+Modulate a group of colors with saturation, using mmx instructions when present.
+<p>
+<dl compact><dt><b>
+ams dest The destination color buffer, encoded as CRGBA's.</b><dd>
+ </dl><dl compact><dt><b>
+ams src1 The first source color buffer, encoded as CRGBA's.</b><dd>
+ </dl><dl compact><dt><b>
+ams src2 The second source color buffer, encoded as CRGBA's.</b><dd>
+ </dl><dl compact><dt><b>
+ams numColors The number of colors to compute</b><dd>
+ </dl><dl compact><dt><b>
+ams Stride between each color. It is the same for sources and destination.</b><dd>
+</dl>
+<p>
+Definition at line <a class="el" href="rgba_8cpp-source.html#l00239">239</a> of file <a class="el" href="rgba_8cpp-source.html">rgba.cpp</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00190">add</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00611">offset</a>, and <a class="el" href="rgba_8h-source.html#l00202">sub</a>.
+<p>
+Referenced by <a class="el" href="ps__mesh_8cpp-source.html#l01680">NL3D::CPSConstraintMesh::computeColors</a>. </td>
+ </tr>
+</table>
+<a name="a9" doxytag="NLMISC::CRGBA::modulateFromColor"></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::CRGBA::modulateFromColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c1</em></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>
+Modulate colors with another color.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>c0</em>&nbsp;</td><td>
+Color 0. </td></tr>
+<tr><td valign=top><em>c1</em>&nbsp;</td><td>
+Color 1. c0*c1 returned into this. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00122">122</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00329">A</a>, <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>.
+<p>
+Referenced by <a class="el" href="ps__shockwave_8cpp-source.html#l00286">NL3D::CPSShockWave::draw</a>, <a class="el" href="ps__dot_8cpp-source.html#l00122">NL3D::CPSDot::draw</a>, <a class="el" href="zone__lighter_8cpp-source.html#l02584">NL3D::CZoneLighter::lightWater</a>, <a class="el" href="ps__tail__dot_8cpp-source.html#l00486">NL3D::CPSTailDot::setupGlobalColor</a>, <a class="el" href="ps__fan__light_8cpp-source.html#l00286">NL3D::CPSFanLight::setupMaterial</a>, <a class="el" href="ps__ribbon_8cpp-source.html#l00988">NL3D::CPSRibbon::setupTexturedGlobalColor</a>, <a class="el" href="ps__ribbon_8cpp-source.html#l00950">NL3D::CPSRibbon::setupUntexturedGlobalColor</a>, and <a class="el" href="ps__quad_8cpp-source.html#l00515">NL3D::CPSQuad::updateMatBeforeRendering</a>. </td>
+ </tr>
+</table>
+<a name="z321_2" doxytag="NLMISC::CRGBA::modulateFromColorRGBOnly"></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::CRGBA::modulateFromColorRGBOnly </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c1</em></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>
+see <a class="el" href="classNLMISC_1_1CRGBA.html#a9">modulateFromColor</a>().
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00232">232</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="NLMISC::CRGBA::modulateFromui"></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::CRGBA::modulateFromui </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c0</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>a</em></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>
+Modulate colors with a constant.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>c0</em>&nbsp;</td><td>
+Color 0. </td></tr>
+<tr><td valign=top><em>a</em>&nbsp;</td><td>
+E [0,256]. c0*a returned into this. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00108">108</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00329">A</a>, <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>.
+<p>
+Referenced by <a class="el" href="vegetable__light__ex_8cpp-source.html#l00036">NL3D::CVegetableLightEx::computeCurrentColors</a>. </td>
+ </tr>
+</table>
+<a name="z321_1" doxytag="NLMISC::CRGBA::modulateFromuiRGBOnly"></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::CRGBA::modulateFromuiRGBOnly </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c0</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>a</em></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>
+see <a class="el" href="classNLMISC_1_1CRGBA.html#a8">modulateFromui</a>().
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00225">225</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>.
+<p>
+Referenced by <a class="el" href="render__trav_8cpp-source.html#l00360">NL3D::CRenderTrav::changeLightSetup</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NLMISC::CRGBA::operator!="></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::CRGBA::operator!= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>c</em> </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>
+Comparison operator.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00073">73</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NLMISC::CRGBA::operator<"></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::CRGBA::operator&lt; </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>c</em> </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>
+Comparison operator.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00069">69</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, and <a class="el" href="rgba_8h-source.html#l00064">getPacked</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NLMISC::CRGBA::operator=="></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::CRGBA::operator== </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>c</em> </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>
+Equality operator.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00078">78</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00329">A</a>, <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>. </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NLMISC::CRGBA::serial"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CRGBA::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">class <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></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Serialisation.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>f</em>&nbsp;</td><td>
+Stream used for serialisation. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="rgba_8cpp-source.html#l00058">58</a> of file <a class="el" href="rgba_8cpp-source.html">rgba.cpp</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00329">A</a>, <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>.
+<p>
+Referenced by <a class="el" href="ps__attrib__maker__template_8h-source.html#l00227">NL3D::CPSValueBlendSampleFunc&lt; NLMISC::CRGBA, n &gt;::serial</a>. </td>
+ </tr>
+</table>
+<a name="a10" doxytag="NLMISC::CRGBA::set"></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::CRGBA::set </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>r</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>g</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>b</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>a</em> = 255</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 colors.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>r</em>&nbsp;</td><td>
+Red componant. </td></tr>
+<tr><td valign=top><em>g</em>&nbsp;</td><td>
+Green componant. </td></tr>
+<tr><td valign=top><em>b</em>&nbsp;</td><td>
+Blue componant. </td></tr>
+<tr><td valign=top><em>a</em>&nbsp;</td><td>
+Alpha componant. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="rgba_8cpp-source.html#l00066">66</a> of file <a class="el" href="rgba_8cpp-source.html">rgba.cpp</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00329">A</a>, <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, <a class="el" href="rgba_8h-source.html#l00323">R</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>.
+<p>
+Referenced by <a class="el" href="render__trav_8cpp-source.html#l00621">NL3D::CRenderTrav::changeVPLightSetupMaterial</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00058">NL3D::CVegetableManager::CVegetableManager</a>, <a class="el" href="bitmap_8cpp-source.html#l00928">NLMISC::CBitmap::decompressDXT1</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00516">NL3D::CVisualCollisionEntity::getStaticLightSetup</a>, <a class="el" href="ig__surface__light_8cpp-source.html#l00108">NL3D::CIGSurfaceLight::getStaticLightSetup</a>, <a class="el" href="bitmap_8cpp-source.html#l00156">NLMISC::CBitmap::makeDummy</a>, and <a class="el" href="render__trav_8cpp-source.html#l00292">NL3D::CRenderTrav::resetLightSetup</a>. </td>
+ </tr>
+</table>
+<a name="a12" doxytag="NLMISC::CRGBA::set565"></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::CRGBA::set565 </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="mdname1" valign="top" nowrap>&nbsp; <em>col</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>
+Set the RGB fields with a 16 bits 565 pixel.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00151">151</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, and <a class="el" href="rgba_8h-source.html#l00323">R</a>.
+<p>
+Referenced by <a class="el" href="texture__far_8cpp-source.html#l01193">NL3D_expandLightmap</a>. </td>
+ </tr>
+</table>
+<a name="a16" doxytag="NLMISC::CRGBA::sub"></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::CRGBA::sub </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c1</em></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>
+Compute c0 - c1, and store in this.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00202">202</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00329">A</a>, <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, <a class="el" href="rgba_8h-source.html#l00323">R</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>.
+<p>
+Referenced by <a class="el" href="rgba_8cpp-source.html#l00079">addColors</a>, <a class="el" href="rgba_8cpp-source.html#l00239">modulateColors</a>, and <a class="el" href="rgba_8cpp-source.html#l00412">subtractColors</a>. </td>
+ </tr>
+</table>
+<a name="z321_6" doxytag="NLMISC::CRGBA::subRGBOnly"></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::CRGBA::subRGBOnly </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>c1</em></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>
+see <a class="el" href="classNLMISC_1_1CRGBA.html#a16">sub</a>().
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00261">261</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00327">B</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00325">G</a>, <a class="el" href="rgba_8h-source.html#l00323">R</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>. </td>
+ </tr>
+</table>
+<a name="z322_2" doxytag="NLMISC::CRGBA::subtractColors"></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::CRGBA::subtractColors </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>dest</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CRGBA *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>src1</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CRGBA *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>src2</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>numColors</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>srcStride</em> = sizeof(CRGBA), </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>destStride</em> = sizeof(CRGBA), </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>dup</em> = 1</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>
+Subtract a group of colors with saturation (src1 - src2), using mmx instructions when present.
+<p>
+<dl compact><dt><b>
+ams dest The destination color buffer, encoded as CRGBA's.</b><dd>
+ </dl><dl compact><dt><b>
+ams src1 The first source color buffer, encoded as CRGBA's.</b><dd>
+ </dl><dl compact><dt><b>
+ams src2 The second source color buffer, encoded as CRGBA's.</b><dd>
+ </dl><dl compact><dt><b>
+ams numColors The number of colors to compute</b><dd>
+ </dl><dl compact><dt><b>
+ams Stride between each color. It is the same for sources and destination.</b><dd>
+</dl>
+<p>
+Definition at line <a class="el" href="rgba_8cpp-source.html#l00412">412</a> of file <a class="el" href="rgba_8cpp-source.html">rgba.cpp</a>.
+<p>
+References <a class="el" href="rgba_8h-source.html#l00190">add</a>, <a class="el" href="rgba_8h-source.html#l00049">CRGBA</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00611">offset</a>, and <a class="el" href="rgba_8h-source.html#l00202">sub</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="m3" doxytag="NLMISC::CRGBA::A"></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::CRGBA::A
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Alpha componant.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00329">329</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+Referenced by <a class="el" href="rgba_8h-source.html#l00190">add</a>, <a class="el" href="rgba_8h-source.html#l00167">avg2</a>, <a class="el" href="rgba_8h-source.html#l00179">avg4</a>, <a class="el" href="rgba_8h-source.html#l00093">blendFromui</a>, <a class="el" href="render__trav_8cpp-source.html#l00360">NL3D::CRenderTrav::changeLightSetup</a>, <a class="el" href="rgba_8h-source.html#l00058">CRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00928">NLMISC::CBitmap::decompressDXT1</a>, <a class="el" href="driver__opengl_8h-source.html#l00628">NL3D::CDriverGL::forceActivateTexEnvColor</a>, <a class="el" href="rgba_8h-source.html#l00064">getPacked</a>, <a class="el" href="surface__light__grid_8cpp-source.html#l00062">NL3D::CSurfaceLightGrid::getStaticLightSetup</a>, <a class="el" href="cloud_8cpp-source.html#l00182">NL3D::CCloud::light</a>, <a class="el" href="rgba_8h-source.html#l00122">modulateFromColor</a>, <a class="el" href="rgba_8h-source.html#l00108">modulateFromui</a>, <a class="el" href="rgba_8h-source.html#l00078">operator==</a>, <a class="el" href="mesh__blender_8cpp-source.html#l00132">NL3D::CMeshBlender::prepareRenderForGlobalAlphaCoarseMesh</a>, <a class="el" href="rgba_8cpp-source.html#l00058">serial</a>, <a class="el" href="rgba_8cpp-source.html#l00066">set</a>, <a class="el" href="driver__opengl_8cpp-source.html#l02221">NL3D::CDriverGL::setBlendConstantColor</a>, <a class="el" href="tile__far__bank_8cpp-source.html#l00058">NL3D::CTileFarBank::CTileFar::setPixels</a>, <a class="el" href="rgba_8h-source.html#l00202">sub</a>, and <a class="el" href="bitmap_8cpp-source.html#l01303">NLMISC::CBitmap::uncompress</a>. </td>
+ </tr>
+</table>
+<a name="m2" doxytag="NLMISC::CRGBA::B"></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::CRGBA::B
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Blue componant.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00327">327</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+Referenced by <a class="el" href="rgba_8h-source.html#l00190">add</a>, <a class="el" href="rgba_8h-source.html#l00253">addRGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00167">avg2</a>, <a class="el" href="rgba_8h-source.html#l00239">avg2RGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00179">avg4</a>, <a class="el" href="rgba_8h-source.html#l00246">avg4RGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00093">blendFromui</a>, <a class="el" href="rgba_8h-source.html#l00216">blendFromuiRGBOnly</a>, <a class="el" href="rgba_8cpp-source.html#l00685">buildFromHLS</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00052">NL3D::CPatchDLMPointLight::compile</a>, <a class="el" href="rgba_8cpp-source.html#l00608">convertToHLS</a>, <a class="el" href="form__elm_8h-source.html#l00645">NLGEORGES::CFormElm::convertValue</a>, <a class="el" href="rgba_8h-source.html#l00058">CRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00928">NLMISC::CBitmap::decompressDXT1</a>, <a class="el" href="bitmap_8cpp-source.html#l01043">NLMISC::CBitmap::decompressDXT3</a>, <a class="el" href="bitmap_8cpp-source.html#l01153">NLMISC::CBitmap::decompressDXT5</a>, <a class="el" href="driver__opengl_8h-source.html#l00628">NL3D::CDriverGL::forceActivateTexEnvColor</a>, <a class="el" href="rgba_8h-source.html#l00143">get565</a>, <a class="el" href="rgba_8h-source.html#l00064">getPacked</a>, <a class="el" href="surface__light__grid_8cpp-source.html#l00062">NL3D::CSurfaceLightGrid::getStaticLightSetup</a>, <a class="el" href="rgba_8h-source.html#l00122">modulateFromColor</a>, <a class="el" href="rgba_8h-source.html#l00232">modulateFromColorRGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00108">modulateFromui</a>, <a class="el" href="rgba_8h-source.html#l00225">modulateFromuiRGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00078">operator==</a>, <a class="el" href="rgba_8cpp-source.html#l00058">serial</a>, <a class="el" href="rgba_8cpp-source.html#l00066">set</a>, <a class="el" href="rgba_8h-source.html#l00151">set565</a>, <a class="el" href="driver__opengl_8cpp-source.html#l02221">NL3D::CDriverGL::setBlendConstantColor</a>, <a class="el" href="form__elm_8cpp-source.html#l01689">NLGEORGES::CFormElm::setValueByName</a>, <a class="el" href="rgba_8h-source.html#l00202">sub</a>, <a class="el" href="rgba_8h-source.html#l00261">subRGBOnly</a>, and <a class="el" href="bitmap_8cpp-source.html#l01303">NLMISC::CBitmap::uncompress</a>. </td>
+ </tr>
+</table>
+<a name="p0" doxytag="NLMISC::CRGBA::Black"></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 CRGBA NLMISC::CRGBA::Black<code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+some colors.
+<p>
+
+<p>
+Referenced by <a class="el" href="ps__color_8h-source.html#l00077">NL3D::CPSColorBlender::CPSColorBlender</a>, <a class="el" href="ps__color_8h-source.html#l00062">NL3D::CPSColorBlenderExact::CPSColorBlenderExact</a>, <a class="el" href="instance__material__user_8h-source.html#l00201">NL3D::CInstanceMaterialUser::getConstantColor</a>, and <a class="el" href="render__trav_8cpp-source.html#l00746">NL3D::CRenderTrav::getStrongestLightColors</a>. </td>
+ </tr>
+</table>
+<a name="p4" doxytag="NLMISC::CRGBA::Blue"></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 CRGBA NLMISC::CRGBA::Blue<code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ </td>
+ </tr>
+</table>
+<a name="p6" doxytag="NLMISC::CRGBA::Cyan"></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 CRGBA NLMISC::CRGBA::Cyan<code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ </td>
+ </tr>
+</table>
+<a name="m1" doxytag="NLMISC::CRGBA::G"></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::CRGBA::G
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Green componant.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00325">325</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+Referenced by <a class="el" href="rgba_8h-source.html#l00190">add</a>, <a class="el" href="rgba_8h-source.html#l00253">addRGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00167">avg2</a>, <a class="el" href="rgba_8h-source.html#l00239">avg2RGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00179">avg4</a>, <a class="el" href="rgba_8h-source.html#l00246">avg4RGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00093">blendFromui</a>, <a class="el" href="rgba_8h-source.html#l00216">blendFromuiRGBOnly</a>, <a class="el" href="rgba_8cpp-source.html#l00685">buildFromHLS</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00052">NL3D::CPatchDLMPointLight::compile</a>, <a class="el" href="rgba_8cpp-source.html#l00608">convertToHLS</a>, <a class="el" href="form__elm_8h-source.html#l00645">NLGEORGES::CFormElm::convertValue</a>, <a class="el" href="rgba_8h-source.html#l00058">CRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00928">NLMISC::CBitmap::decompressDXT1</a>, <a class="el" href="bitmap_8cpp-source.html#l01043">NLMISC::CBitmap::decompressDXT3</a>, <a class="el" href="bitmap_8cpp-source.html#l01153">NLMISC::CBitmap::decompressDXT5</a>, <a class="el" href="driver__opengl_8h-source.html#l00628">NL3D::CDriverGL::forceActivateTexEnvColor</a>, <a class="el" href="rgba_8h-source.html#l00143">get565</a>, <a class="el" href="rgba_8h-source.html#l00064">getPacked</a>, <a class="el" href="surface__light__grid_8cpp-source.html#l00062">NL3D::CSurfaceLightGrid::getStaticLightSetup</a>, <a class="el" href="rgba_8h-source.html#l00122">modulateFromColor</a>, <a class="el" href="rgba_8h-source.html#l00232">modulateFromColorRGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00108">modulateFromui</a>, <a class="el" href="rgba_8h-source.html#l00225">modulateFromuiRGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00078">operator==</a>, <a class="el" href="rgba_8cpp-source.html#l00058">serial</a>, <a class="el" href="rgba_8cpp-source.html#l00066">set</a>, <a class="el" href="rgba_8h-source.html#l00151">set565</a>, <a class="el" href="driver__opengl_8cpp-source.html#l02221">NL3D::CDriverGL::setBlendConstantColor</a>, <a class="el" href="form__elm_8cpp-source.html#l01689">NLGEORGES::CFormElm::setValueByName</a>, <a class="el" href="rgba_8h-source.html#l00202">sub</a>, <a class="el" href="rgba_8h-source.html#l00261">subRGBOnly</a>, and <a class="el" href="bitmap_8cpp-source.html#l01303">NLMISC::CBitmap::uncompress</a>. </td>
+ </tr>
+</table>
+<a name="p2" doxytag="NLMISC::CRGBA::Green"></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 CRGBA NLMISC::CRGBA::Green<code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ </td>
+ </tr>
+</table>
+<a name="p5" doxytag="NLMISC::CRGBA::Magenta"></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 CRGBA NLMISC::CRGBA::Magenta<code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ </td>
+ </tr>
+</table>
+<a name="m0" doxytag="NLMISC::CRGBA::R"></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::CRGBA::R
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Red componant.
+<p>
+
+<p>
+Definition at line <a class="el" href="rgba_8h-source.html#l00323">323</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.
+<p>
+Referenced by <a class="el" href="rgba_8h-source.html#l00190">add</a>, <a class="el" href="rgba_8h-source.html#l00253">addRGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00167">avg2</a>, <a class="el" href="rgba_8h-source.html#l00239">avg2RGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00179">avg4</a>, <a class="el" href="rgba_8h-source.html#l00246">avg4RGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00093">blendFromui</a>, <a class="el" href="rgba_8h-source.html#l00216">blendFromuiRGBOnly</a>, <a class="el" href="rgba_8cpp-source.html#l00685">buildFromHLS</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00052">NL3D::CPatchDLMPointLight::compile</a>, <a class="el" href="rgba_8cpp-source.html#l00608">convertToHLS</a>, <a class="el" href="form__elm_8h-source.html#l00645">NLGEORGES::CFormElm::convertValue</a>, <a class="el" href="rgba_8h-source.html#l00058">CRGBA</a>, <a class="el" href="bitmap_8cpp-source.html#l00928">NLMISC::CBitmap::decompressDXT1</a>, <a class="el" href="bitmap_8cpp-source.html#l01043">NLMISC::CBitmap::decompressDXT3</a>, <a class="el" href="bitmap_8cpp-source.html#l01153">NLMISC::CBitmap::decompressDXT5</a>, <a class="el" href="driver__opengl_8h-source.html#l00628">NL3D::CDriverGL::forceActivateTexEnvColor</a>, <a class="el" href="rgba_8h-source.html#l00143">get565</a>, <a class="el" href="rgba_8h-source.html#l00064">getPacked</a>, <a class="el" href="surface__light__grid_8cpp-source.html#l00062">NL3D::CSurfaceLightGrid::getStaticLightSetup</a>, <a class="el" href="rgba_8h-source.html#l00122">modulateFromColor</a>, <a class="el" href="rgba_8h-source.html#l00232">modulateFromColorRGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00108">modulateFromui</a>, <a class="el" href="rgba_8h-source.html#l00225">modulateFromuiRGBOnly</a>, <a class="el" href="rgba_8h-source.html#l00078">operator==</a>, <a class="el" href="rgba_8cpp-source.html#l00058">serial</a>, <a class="el" href="rgba_8cpp-source.html#l00066">set</a>, <a class="el" href="rgba_8h-source.html#l00151">set565</a>, <a class="el" href="driver__opengl_8cpp-source.html#l02221">NL3D::CDriverGL::setBlendConstantColor</a>, <a class="el" href="form__elm_8cpp-source.html#l01689">NLGEORGES::CFormElm::setValueByName</a>, <a class="el" href="rgba_8h-source.html#l00202">sub</a>, <a class="el" href="rgba_8h-source.html#l00261">subRGBOnly</a>, and <a class="el" href="bitmap_8cpp-source.html#l01303">NLMISC::CBitmap::uncompress</a>. </td>
+ </tr>
+</table>
+<a name="p1" doxytag="NLMISC::CRGBA::Red"></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 CRGBA NLMISC::CRGBA::Red<code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ </td>
+ </tr>
+</table>
+<a name="p7" doxytag="NLMISC::CRGBA::White"></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 CRGBA NLMISC::CRGBA::White<code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Referenced by <a class="el" href="ps__color_8h-source.html#l00077">NL3D::CPSColorBlender::CPSColorBlender</a>, <a class="el" href="ps__color_8h-source.html#l00062">NL3D::CPSColorBlenderExact::CPSColorBlenderExact</a>, <a class="el" href="ps__color_8h-source.html#l00112">NL3D::CPSColorMemory::CPSColorMemory</a>, <a class="el" href="ps__fan__light_8cpp-source.html#l00452">NL3D::CPSFanLight::init</a>, <a class="el" href="particle__system_8h-source.html#l00537">NL3D::CParticleSystem::setColorAttenuationScheme</a>, <a class="el" href="driver__opengl_8cpp-source.html#l00358">NL3D::CDriverGL::setDisplay</a>, <a class="el" href="ps__fan__light_8cpp-source.html#l00286">NL3D::CPSFanLight::setupMaterial</a>, and <a class="el" href="water__model_8cpp-source.html#l00816">NL3D::CWaterRenderObs::setupMaterialNVertexShader</a>. </td>
+ </tr>
+</table>
+<a name="p3" doxytag="NLMISC::CRGBA::Yellow"></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 CRGBA NLMISC::CRGBA::Yellow<code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="rgba_8h-source.html">rgba.h</a><li><a class="el" href="rgba_8cpp-source.html">rgba.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>