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="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>G3X_SetClearColor</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">G3X_SetClearColor <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1> 15<H2>Syntax</H2> 16 17<dl> 18 <dd> 19<PRE><CODE>#include <nitro/gx/g3x.h> 20 21void G3X_SetClearColor(GXRgb rgb, int alpha, int depth, int polygonID, BOOL fog);</CODE></PRE> 22 </dd> 23</dl><h2>Arguments</h2> 24 25<table border="1" width="100%"> 26 27 <tr> 28 <TD width="109"><em><strong><font face="Courier New"><em><strong><code>rgb</code></strong></em> </font></strong></em></TD> 29 <TD width="593">RGB components for clear color</TD> 30 </tr> 31 <TR> 32 <TD><em><strong><font face="Courier New">alpha</font></strong></em></TD> 33 <TD>alpha component for clear color (0 ≤ <em><strong><code>alpha</code></strong></em> ≤ 31)</TD> 34 </TR> 35 <TR> 36 <TD><em><strong><font face="Courier New">depth</font></strong></em></TD> 37 <TD>Clear depth value</TD> 38 </TR> 39 <TR> 40 <TD><em><strong><font face="Courier New"><em><strong><code>polygonID</code></strong></em> </font></strong></em></TD> 41 <TD>Initial value of the Polygon ID for the attribute buffer</TD> 42 </TR> 43 <TR> 44 <TD><em><strong><font face="Courier New"><STRONG><EM><CODE>fog</CODE></EM></STRONG></font></strong></em></TD> 45 <TD>Selects whether or not fog for the attribute buffer is enabled</TD> 46 </TR> 47 </table> 48<h2>Return Values</h2> 49<p>None.</p> 50<H2>Description</H2> 51<P>This function sets clear color.</P> 52 53<h2>See Also</h2> 54<H2>Revision History</H2> 55<P>2004/01/19 Initial version.</P> 56<hr><p>CONFIDENTIAL</p></body> 57</html> 58