1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9<title>GXSetFogColor</title>
10</head>
11
12<body>
13
14<h1 align="left">GXSetFogColor</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/gx.h&gt;
19
20void GXSetFogColor( <a href="../Structures/GXColor.html">GXColor</a> color );
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<TABLE class="arguments" border="1" >
25  <tr>
26<th>color</th>
27<td>Fog color, in RGBX format (alpha is not used).</td>
28  </tr>
29</table>
30
31<h2>Return Values</h2>
32<p>None.</p>
33
34<h2>Description</h2>
35<P>This function sets the fog color. Because fog is initially enabled with the <A href="GXSetFog.html"><code>GXSetFog</code></A> function, which also includes the color setting, this function is used to update the fog color without modifying any other fog settings.</P>
36<P>The fog color is set in RGBX format (where the alpha component is ignored) using the <SPAN class="argument">color</SPAN> parameter. This will be the color of the pixel when fully fogged.</P>
37
38<h2>See Also</h2>
39<P class="reference">
40<a href="GXSetFog.html">GXSetFog</a>
41</p>
42
43<H2>Revision History</H2>
44<P>
452006/03/01 Initial version.<br>
46</P>
47
48<hr><p>CONFIDENTIAL</p></body>
49</HTML>