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 http-equiv="Content-Style-Type" content="text/css">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8<TITLE>GDSetTevOrder</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">GDSetTevOrder</H1>
12
13<H2>Syntax</H2>
14<dl><dd><pre class="construction">
15#include &lt;revolution/gd.h&gt;
16  <DD>
17void GDSetTevOrder(
18    <A href="../gx/Enumerated_Types/GXTevStageID.html">GXTevStageID</A>    evenStage,
19    <A href="../gx/Enumerated_Types/GXTexCoordID.html">GXTexCoordID</A>    coord0,
20    <A href="../gx/Enumerated_Types/GXTexMapID.html">GXTexMapID</A>      map0,
21    <A href="../gx/Enumerated_Types/GXChannelID.html">GXChannelID</A>     color0,
22    <A href="../gx/Enumerated_Types/GXTexCoordID.html">GXTexCoordID</A>    coord1,
23    <A href="../gx/Enumerated_Types/GXTexMapID.html">GXTexMapID</A>      map1,
24    <A href="../gx/Enumerated_Types/GXChannelID.html">GXChannelID</A>     color1
25);
26</pre></dd></dl>
27
28<H2>Arguments</H2>
29<TABLE class="arguments" border="1" >
30  <TBODY>
31    <TR>
32<TH><STRONG><EM><CODE>evenStage</CODE></EM></STRONG></TH>
33<TD>Tev <a href="../gx/Enumerated_Types/GXTevStageID.html">stage ID</a>. Must be an even number.</TD>
34    </TR>
35    <TR>
36<TH><STRONG><EM><CODE>coord0</CODE></EM></STRONG></TH>
37<TD>Texture <a href="../gx/Enumerated_Types/GXTexCoordID.html">coordinate ID</a> for <SPAN class="argument">evenStage</SPAN>.</TD>
38    </TR>
39    <TR>
40<TH><STRONG><EM><CODE>map0</CODE></EM></STRONG></TH>
41<TD>Texture <a href="../gx/Enumerated_Types/GXTexMapID.html">Map ID</a> for <SPAN class="argument">evenStage</SPAN>.</TD>
42    </TR>
43    <TR>
44<TH><STRONG><EM><CODE>color0</CODE></EM></STRONG></TH>
45<TD>Color <a href="../gx/Enumerated_Types/GXChannelID.html">channel</a> for <SPAN class="argument">evenStage</SPAN>.</TD>
46    </TR>
47    <TR>
48<TH><STRONG><EM><CODE>coord1</CODE></EM></STRONG></TH>
49<TD>( Texture <a href="../gx/Enumerated_Types/GXTexCoordID.html">coordinate ID</a> for (<SPAN class="argument">evenStage</SPAN> + 1).</TD>
50    </TR>
51    <TR>
52<TH><STRONG><EM><CODE>map1</CODE></STRONG></EM></TH>
53<TD>( Texture <a href="../gx/Enumerated_Types/GXTexMapID.html">Map ID</a> for (<SPAN class="argument">evenStage</SPAN> + 1).</TD>
54    </TR>
55    <TR>
56<TH><STRONG><EM><CODE>color1</CODE></STRONG></EM></TH>
57<TD>( Color <a href="../gx/Enumerated_Types/GXChannelID.html">channel</a> for (<SPAN class="argument">evenStage</SPAN> + 1).</TD>
58    </TR>
59  </TBODY>
60</TABLE>
61
62<H2>Return Values</H2>
63<P>None.</P>
64
65<H2>Description</H2>
66<P>This function specifies the texture and rasterized color that will be available as inputs to the texture environment (TEV) stage <SPAN class="argument">evenStage</SPAN> and (<SPAN class="argument">evenStage</SPAN> + 1). This GD function is equivalent to calling <a href="../gx/Tev/GXSetTevOrder.html"><CODE>GXSetTevOrder</CODE></a> for two TEV stages in a row (first one must be even).</P>
67
68<H2>See Also</H2>
69<P class="reference">
70<A href="../gx/Tev/GXSetTevOrder.html">GXSetTevOrder</A>, <A href="../gx/Tev/TevConfigGuide.html">TEV Configuration Guide</A>
71</P>
72
73<H2>Revision History</H2>
74<P>
752006/03/01 Initial version.<BR>
76</P>
77
78<hr><p>CONFIDENTIAL</p></body>
79</HTML>