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="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9<title>GDSetIndTexCoordScale</title>
10</head>
11
12<body>
13
14<h1 align="left">GDSetIndTexCoordScale</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/gd.h&gt;
19
20void GDSetIndTexCoordScale(
21    <a href="../gx/Enumerated_Types/GXIndTexStageID.html">GXIndTexStageID</a> evenStage,
22    <a href="../gx/Enumerated_Types/GXIndTexScale.html">GXIndTexScale</a>   scaleS0,
23    <a href="../gx/Enumerated_Types/GXIndTexScale.html">GXIndTexScale</a>   scaleT0,
24    <a href="../gx/Enumerated_Types/GXIndTexScale.html">GXIndTexScale</a>   scaleS1,
25    <a href="../gx/Enumerated_Types/GXIndTexScale.html">GXIndTexScale</a>   scaleT1,
26);
27</pre></dd></dl>
28
29<h2>Arguments</h2>
30<TABLE class="arguments" border="1" >
31  <tr>
32<TH><STRONG><EM><CODE>evenStage</CODE></EM></STRONG></TH>
33<TD>Indirect texture <a href="../gx/Enumerated_Types/GXIndTexStageID.html">stage ID</a>. Must be an even number.</TD>
34    </tr>
35  <tr>
36<TH><STRONG><EM><CODE>scaleS0</CODE></EM></STRONG></TH>
37<TD>Scale factor for the S coordinate of the indirect stage <SPAN class="argument">evenStage</SPAN>.</TD>
38    </tr>
39  <tr>
40<TH><STRONG><EM><CODE>scaleT0</CODE></EM></STRONG></TH>
41<TD>Scale factor for the T coordinate of the indirect stage <SPAN class="argument">evenStage</SPAN>.</TD>
42    </tr>
43  <tr>
44<TH><STRONG><EM><CODE>scaleS1</CODE></EM></STRONG></TH>
45<TD>Scale factor for the S coordinate of the indirect stage (<SPAN class="argument">evenStage</SPAN> + 1).</TD>
46    </tr>
47  <tr>
48<TH><STRONG><EM><CODE>scaleT1</CODE></EM></STRONG></TH>
49<TD>Scale factor for the T coordinate of the indirect stage (<SPAN class="argument">evenStage</SPAN> + 1).</TD>
50    </tr>
51</TABLE>
52
53<h2>Return Values</h2>
54<p>None.</p>
55
56<h2>Description</h2>
57<P>This function enables texture coordinate sharing between an indirect stage and a regular TEV stage. To use an indirect map that is smaller than the regular map, you can scale down the texture coordinates. This function specifies the scale factors that are available as input to the indirect texture stages (<SPAN class="argument">evenStage</SPAN> and <SPAN class="argument">evenStage</SPAN> + 1). This GD function is equivalent to calling the <a href="../gx/Indirect/GXSetIndTexCoordScale.html"><CODE>GXSetIndTexCoordScale</CODE></a> function for two indirect texture stages in a row (where the first one must be even).</P>
58
59<h2>See Also</h2>
60<P class="reference">
61<a href="../gx/Indirect/GXSetIndTexCoordScale.html">GXSetIndTexCoordScale</a>
62</p>
63
64<H2>Revision History</H2>
65<P>
662006/03/01 Initial version.<BR>
67</P>
68
69<hr><p>CONFIDENTIAL</p></body>
70</html>