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>GXSetTevKColor</TITLE> 9</HEAD> 10<BODY> 11<H1 align="left">GXSetTevKColor</H1> 12 13<H2>Syntax</H2> 14<dl><dd><pre class="construction"> 15#include <revolution/gx.h> 16 17void GXSetTevKColor( <A href="../Enumerated_Types/GXTevKColorID.html">GXTevKColorID</A> id, <A href="../Structures/GXColor.html">GXColor</A> color ); 18</pre></dd></dl> 19 20<H2>Arguments</H2> 21<TABLE class="arguments" border="1" > 22 <TBODY> 23 <TR> 24<TH>id</TH> 25<TD>Constant color register <A href="../Enumerated_Types/GXTevKColorID.html">ID</A>. Accepted values are:<BR> 26 <TABLE class="arguments" border="1" > 27 <tr> 28<TD bgcolor="#C0C0C0">Name</TD> 29<TD bgcolor="#C0C0C0">Register</TD> 30 </tr> 31 <tr> 32<TH>GX_KCOLOR0</TH> 33<TD>Constant color register 0</TD> 34 </tr> 35 <tr> 36<TH>GX_KCOLOR1</TH> 37<TD>Constant color register 1</TD> 38 </tr> 39 <tr> 40<TH>GX_KCOLOR2</TH> 41<TD>Constant color register 2</TD> 42 </tr> 43 <tr> 44<TH>GX_KCOLOR3</TH> 45<TD>Constant color register 3</TD> 46 </tr> 47 </TABLE> 48 </TD> 49 </TR> 50 <TR> 51<TH><STRONG><EM><CODE>color</CODE></EM></STRONG></TH> 52<TD>Constant color <a href="../Structures/GXColor.html">value</a></TD> 53 </TR> 54 </TBODY> 55</TABLE> 56 57<H2>Return Values</H2> 58<P>None.</P> 59 60<H2>Description</H2> 61<P>This function is used to set one of the "constant" color registers in the Texture Environment (TEV) unit. These registers are available to all TEV stages. They are constant in that they cannot be written to be the TEV itself.</P> 62 63<H2>See Also</H2> 64<P class="reference"> 65<A href="GXSetTevKColorSel.html">GXSetTevKColorSel</A>, 66<A href="GXSetTevKAlphaSel.html">GXSetTevKAlphaSel</A> 67</P> 68 69<H2>Revision History</H2> 70<P> 712006/03/01 Initial version.<br> 72</P> 73 74<hr><p>CONFIDENTIAL</p></body> 75</HTML>