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>GXSetIndTexCoordScale</title>
10</head>
11
12<body>
13
14<h1 align="left">GXSetIndTexCoordScale</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/gx.h&gt;
19
20void GXSetIndTexCoordScale(<a href="../Enumerated_Types/GXIndTexStageID.html">GXIndTexStageID</a> ind_stage,
21                           <a href="../Enumerated_Types/GXIndTexScale.html">GXIndTexScale</a> scale_s,
22                           <a href="../Enumerated_Types/GXIndTexScale.html">GXIndTexScale</a> scale_t);
23</pre></dd></dl>
24
25<h2>Arguments</h2>
26<TABLE class="arguments" border="1" >
27  <tr>
28<TH>ind_stage</TH>
29<TD>The indirect stage that is being affected. <BR>Accepted values are: <code>GX_INDTEXSTAGE0</code>, <code>GX_INDTEXSTAGE1</code>, <code>GX_INDTEXSTAGE2</code> and <code>GX_INDTEXSTAGE3</code>.</TD>
30  </tr>
31  <tr>
32<TH>scale_s</TH>
33<TD>The scale factor for the S coordinate. Accepted values are:<BR>
34      <TABLE class="arguments" border="1" >
35          <tr>
36<TD bgcolor="#C0C0C0">Name</TD>
37<TD bgcolor="#C0C0C0">Coordinate scale for the indirect stage</TD>
38          </tr>
39          <tr>
40<TH>GX_ITS_1</TH>
41<TD>No scaling.</TD>
42          </tr>
43          <tr>
44<TH>GX_ITS_2</TH>
45<TD>1/2</TD>
46          </tr>
47          <tr>
48<TH>GX_ITS_4</TH>
49<TD>1/4</TD>
50          </tr>
51          <tr>
52<TH>GX_ITS_8</TH>
53<TD>1/8</TD>
54          </tr>
55          <tr>
56<TH>GX_ITS_16</TH>
57<TD>1/16</TD>
58          </tr>
59          <tr>
60<TH>GX_ITS_32</TH>
61<TD>1/32</TD>
62          </tr>
63          <tr>
64<TH>GX_ITS_64</TH>
65<TD>1/64</TD>
66          </tr>
67          <tr>
68<TH>GX_ITS_128</TH>
69<TD>1/128</TD>
70          </tr>
71          <tr>
72<TH>GX_ITS_256</TH>
73<TD>1/256</TD>
74          </tr>
75      </TABLE>
76    </TD>
77  </tr>
78  <tr>
79<TH>scale_t</TH>
80<TD>The scale factor for the T coordinate. Accepted values are identical to <SPAN class="argument">scale_s</SPAN>.</TD>
81  </tr>
82</TABLE>
83
84<h2>Return Values</h2>
85<p>None.</p>
86
87<H2>Description</H2>
88<P>This function is used to share texture coordinates between an indirect stage and a regular TEV stage. This can be used to scale down texture coordinates used for a small indirect map for a regular map.</P>
89
90<h2>See Also</h2>
91<P class="reference">
92<A href="GXSetIndTexOrder.html">GXSetIndTexOrder</A>
93</P>
94
95<H2>Revision History</H2>
96<P>
972006/03/01 Initial version.<br>
98</P>
99
100<hr><p>CONFIDENTIAL</p></body>
101</HTML>