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