1<html>
2
3<head>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="Microsoft FrontPage 5.0">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<title>GXSetFogColor</title>
9</head>
10
11<body>
12
13<h1 align="left">GXSetFogColor</h1>
14
15
16<h2>C Specification</h2>
17
18<dl>
19<dd><PRE><CODE>#include &lt;revolution/gx.h&gt;</CODE></PRE>
20  </dd>
21<dd><pre>void GXSetFogColor( <a href="../Structures/GXColor.html">GXColor</a> color );</pre>
22  </dd>
23</dl>
24<h2>Arguments</h2>
25
26<table border="1" cellpadding="3" cellspacing="0.1">
27  <tr>
28<td width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>color</font></strong></em></td>
29<td width="520">Fog color, in RGBX format (alpha is not used).</td>
30  </tr>
31</table>
32
33<h2>Return Values</h2>
34
35<p>None.</p>
36<h2>Description</h2>
37<P>This function sets the fog color. Because fog is initially enabled by <code><a href="GXSetFog.html">GXSetFog</a></code> that also includes the color setting, this function is used to update the fog color without modifying any other fog settings.</P>
38<P>The fog color (in RGBX format; the alpha component is ignored) is set using the <code>color</code> parameter.&nbsp;This will be the color of the pixel when fully fogged.</P>
39
40
41
42
43<h2>See Also</h2>
44
45<p><a href="GXSetFog.html"><CODE>GXSetFog</CODE></a></p>
46<H2>Revision History</H2>
47<P>03/01/2006 Initial version.</P>
48</BODY>
49</HTML>