1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
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>GXFogType</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">GXFogType</H1>
12
13<H2>Enumerated Types</H2>
14<DIV align="left">
15<TABLE border="0" width="100%">
16  <TBODY>
17    <TR>
18      <TD width="100%"><CODE>GX_FOG_NONE</CODE></TD>
19    </TR>
20    <TR>
21      <TD width="100%"><code>GX_FOG_PERSP_LIN</code></TD>
22    </TR>
23    <TR>
24      <TD width="100%"><code>GX_FOG_PERSP_EXP</code></TD>
25    </TR>
26    <TR>
27      <TD width="100%"><code>GX_FOG_PERSP_EXP2</code></TD>
28    </TR>
29    <TR>
30      <TD width="100%"><code>GX_FOG_PERSP_REVEXP</code></TD>
31    </TR>
32    <TR>
33      <TD width="100%"><code>GX_FOG_PERSP_REVEXP2</code></TD>
34    </TR>
35    <TR>
36      <TD width="100%"><code>GX_FOG_ORTHO_LIN</code></TD>
37    </TR>
38    <TR>
39      <TD width="100%"><code>GX_FOG_ORTHO_EXP</code></TD>
40    </TR>
41    <TR>
42      <TD width="100%"><code>GX_FOG_ORTHO_EXP2</code></TD>
43    </TR>
44    <TR>
45      <TD width="100%"><code>GX_FOG_ORTHO_REVEXP</code></TD>
46    </TR>
47    <TR>
48      <TD width="100%"><code>GX_FOG_ORTHO_REVEXP2</code></TD>
49    </TR>
50    <TR>
51      <TD width="100%"> </TD>
52    </TR>
53    <TR>
54      <TD width="100%"><code>GX_FOG_LIN = GX_FOG_PERSP_LIN</code></TD>
55    </TR>
56    <TR>
57      <TD width="100%"><code>GX_FOG_EXP = GX_FOG_PERSP_EXP</code></TD>
58    </TR>
59    <TR>
60      <TD width="100%"><code>GX_FOG_EXP2 = GX_FOG_PERSP_EXP2</code></TD>
61    </TR>
62    <TR>
63      <TD width="100%"><code>GX_FOG_REVEXP = GX_FOG_PERSP_REVEXP</code></TD>
64    </TR>
65    <TR>
66      <TD width="100%"><code>GX_FOG_REVEXP2 = GX_FOG_PERSP_REVEXP2</code></TD>
67    </TR>
68  </TBODY>
69</TABLE>
70</DIV>
71
72<H2>Description</H2>
73<P>Fog equation control.</P>
74<TABLE class="arguments" border="1" >
75  <TBODY>
76    <TR>
77<TH>GX_FOG_NONE</TH>
78<TD>No fog.</TD>
79    </TR>
80    <TR>
81<TH>GX_FOG_PERSP_LIN</TH>
82<TD>Use linear fog density function. For perspective projection mode.</TD>
83    </TR>
84    <TR>
85<TH>GX_FOG_PERSP_EXP</TH>
86<TD>Use the exponential fog density function. For perspective projection mode.</TD>
87    </TR>
88    <TR>
89<TH>GX_FOG_PERSP_EXP2</TH>
90<TD>Use the exponential-squared fog density function. For perspective projection mode.</TD>
91    </TR>
92    <TR>
93<TH>GX_FOG_PERSP_REVEXP</TH>
94<TD>Use the inverse exponential fog density function. For perspective projection mode.</TD>
95    </TR>
96    <TR>
97<TH>GX_FOG_PERSP_REVEXP2</TH>
98<TD>Use the inverse exponential-squared fog density function. For perspective projection mode.</TD>
99    </TR>
100    <TR>
101<TH>GX_FOG_ORTHO_LIN</TH>
102<TD>Use linear fog density function. For orthographic projection mode.</TD>
103    </TR>
104    <TR>
105<TH>GX_FOG_ORTHO_EXP</TH>
106<TD>Use the exponential fog density function. For orthographic projection mode.</TD>
107    </TR>
108    <TR>
109<TH>GX_FOG_ORTHO_EXP2</TH>
110<TD>Use the exponential-squared fog density function. For orthographic projection mode.</TD>
111    </TR>
112    <TR>
113<TH>GX_FOG_ORTHO_REVEXP</TH>
114<TD>Use the inverse exponential fog density function. For orthographic projection mode.</TD>
115    </TR>
116    <TR>
117<TH>GX_FOG_ORTHO_REVEXP2</TH>
118<TD>Use the inverse exponential-squared fog density function. For orthographic projection mode.</TD>
119    </TR>
120    <TR>
121<TD colspan="2">The following definitions are for compatibility with former versions.</TD>
122    </TR>
123    <TR>
124<TH>GX_FOG_LIN</TH>
125<TD>Same as <SPAN class="argument">GX_FOG_PERSP_LIN</SPAN>.</TD>
126    </TR>
127    <TR>
128<TH>GX_FOG_EXP</TH>
129<TD>Same as <SPAN class="argument">GX_FOG_PERSP_EXP</SPAN>.</TD>
130    </TR>
131    <TR>
132<TH>GX_FOG_EXP2</TH>
133<TD>Same as <SPAN class="argument">GX_FOG_PERSP_EXP2</SPAN>.</TD>
134    </TR>
135    <TR>
136<TH>GX_FOG_REVEXP</TH>
137<TD>Same as <SPAN class="argument">GX_FOG_PERSP_REVEXP</SPAN>.</TD>
138    </TR>
139    <TR>
140<TH>GX_FOG_REVEXP2</TH>
141<TD>Same as <SPAN class="argument">GX_FOG_PERSP_REVEXP2</SPAN>.</TD>
142    </TR>
143  </TBODY>
144</TABLE>
145
146<H2>Functions Using This Type</H2>
147<p class="reference">
148<A href="../PixelProc/GXSetFog.html">GXSetFog</A>
149</P>
150
151<H2>Revision History</H2>
152<P>
1532006/03/01 Initial version.<br>
154</P>
155
156<hr><p>CONFIDENTIAL</p></body>
157</HTML>