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
17<h2>C Specification</h2>
18
19<dl>
20  <dd><PRE><CODE>#include &lt;revolution/gd.h&gt;</CODE></PRE>
21  </dd>
22  <dd><pre><CODE>void GDSetIndTexCoordScale(
23    <a href="../gx/Enumerated_Types/GXIndTexStageID.html">GXIndTexStageID</a> evenStage,
24    <a href="../gx/Enumerated_Types/GXIndTexScale.html">GXIndTexScale</a>   scaleS0,
25    <a href="../gx/Enumerated_Types/GXIndTexScale.html">GXIndTexScale</a>   scaleT0,
26    <a href="../gx/Enumerated_Types/GXIndTexScale.html">GXIndTexScale</a>   scaleS1,
27    <a href="../gx/Enumerated_Types/GXIndTexScale.html">GXIndTexScale</a>   scaleT1,
28);</CODE></pre>
29  </dd>
30</dl>
31<h2>Arguments</h2>
32<TABLE border="1" cellpadding="3" cellspacing="0.1">
33  <tr>
34<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE><STRONG><EM><CODE>evenStage</CODE></EM></STRONG></font></strong></em></TD>
35<TD width="520">Indirect texture <a href="../gx/Enumerated_Types/GXIndTexStageID.html">stage ID</a>.  Must be an even number.</TD>
36    </tr>
37  <tr>
38<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE><STRONG><EM><CODE>scaleS0</CODE></EM></STRONG></font></strong></em></TD>
39<TD width="520">Scale factor for the S coordinate of the indirect stage (<STRONG><EM><CODE>evenStage</CODE></EM></STRONG>).&nbsp;</TD>
40    </tr>
41  <tr>
42<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE><STRONG><EM><CODE>scaleT0</CODE></EM></STRONG></font></strong></em></TD>
43<TD width="520">Scale factor for the T coordinate of the indirect stage (<STRONG><EM><CODE>evenStage</CODE></EM></STRONG>).</TD>
44    </tr>
45  <tr>
46<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE><STRONG><EM><CODE>scaleS1</CODE></EM></STRONG></font></strong></em></TD>
47<TD width="520">Scale factor for the S coordinate of the indirect stage (<STRONG><EM><CODE>evenStage</CODE></EM></STRONG> + 1).&nbsp;</TD>
48    </tr>
49  <tr>
50<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE><STRONG><EM><CODE>scaleT1</CODE></EM></STRONG></font></strong></em></TD>
51<TD width="520">Scale factor for the T coordinate of the indirect stage (<STRONG><EM><CODE>evenStage</CODE></EM></STRONG> + 1).</TD>
52    </tr>
53</TABLE>
54<h2>Return Values</h2>
55
56<p>None.</p>
57<h2>Description</h2>
58<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 stage (<code><em><strong>eventStage</strong></em></code> and <code><em><strong>eventStage</strong></em></code> + 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>
59<h2>See Also</h2>
60
61<p><a href="../gx/Indirect/GXSetIndTexCoordScale.html"><CODE>GXSetIndTexCoordScale</CODE></a></p>
62<H2>Revision History</H2>
63<P>2006/03/01 Initial version.</P>
64<hr>
65<P>CONFIDENTIAL</p>
66</BODY>
67</HTML>