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<H2>C Specification</H2>
13<DL>
14  <DD>
15<PRE><CODE>#include &lt;revolution/gx.h&gt;</CODE></PRE>
16  <DD>
17<PRE>void GXSetTevKColor( <a href="../Enumerated_Types/GXTevKColorID.html">GXTevKColorID</a> id, <a href="../Structures/GXColor.html">GXColor</a> color );</PRE>
18</DL>
19<H2>Arguments</H2>
20<TABLE border="1" cellspacing="0.1" cellpadding="3">
21  <TBODY>
22    <TR>
23<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>id</FONT></STRONG></EM></TD>
24<TD width="520">Constant color register. <a href="../Enumerated_Types/GXTevKColorID.html">ID</a>. Accepted values are:
25      <TABLE border="1" width="500" cellspacing="0.1">
26
27          <tr>
28<TD width="150" bgcolor="#C0C0C0">Name</TD>
29<TD width="350" bgcolor="#C0C0C0">Register</TD>
30          </tr>
31          <tr>
32<TD width="150"><code> GX_KCOLOR0</code></TD>
33<TD width="350">Constant color register0</TD>
34          </tr>
35          <tr>
36<TD width="150"><code>GX_KCOLOR1</code></TD>
37<TD width="350">Constant color register1</TD>
38          </tr>
39          <tr>
40<TD width="150"><code>GX_KCOLOR2</code></TD>
41<TD width="350">Constant color register2</TD>
42          </tr>
43          <tr>
44<TD width="150"><code>GX_KCOLOR3</code></TD>
45<TD width="350">Constant color register3</TD>
46          </tr>
47
48      </TABLE>
49      </TD>
50    </TR>
51    <TR>
52<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>color</FONT></STRONG></EM></TD>
53<TD width="520">Constant color <a href="../Structures/GXColor.html">value</a></TD>
54    </TR>
55  </TBODY>
56</TABLE>
57<H2>Return Values</H2>
58<P>None.</P>
59<H2>Description</H2>
60<P>This function is used to set one of the &quot;k(c)onstant&quot; color registers in the Texture Environment (TEV) unit.&nbsp;These registers are available to all TEV stages.&nbsp;They are constant in that they cannot be written to be the TEV itself.</P>
61<H2>See Also</H2>
62<P><A href="GXSetTevKColorSel.html"><CODE>GXSetTevKColorSel</CODE></A><BR> <A href="GXSetTevKAlphaSel.html"><CODE>GXSetTevKAlphaSel</CODE></A></P>
63<H2>Revision History</H2>
64<P>03/01/2006 Initial version.</P>