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 17<h2>C Specification</h2> 18 19<dl> 20<dd><PRE><CODE>#include <revolution/gx.h></CODE></PRE></dd> 21<dd><pre><CODE>void GXSetIndTexCoordScale(<a href="../Enumerated_Types/GXIndTexStageID.html">GXIndTexStageID</a> ind_stage, 22<a href="../Enumerated_Types/GXIndTexScale.html">GXIndTexScale</a> scale_s, 23<a href="../Enumerated_Types/GXIndTexScale.html">GXIndTexScale</a> scale_t);</CODE></pre></dd> 24</dl><h2>Arguments</h2> 25<TABLE border="1" cellpadding="3" cellspacing="0.1"> 26 <tr> 27<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>ind_stage</font></strong></em></TD> 28<TD width="520">The indirect stage that is being affected. Accepted values are: <code>GX_INDTEXSTAGE0</code>, <code>GX_INDTEXSTAGE1</code>, <code>GX_INDTEXSTAGE2</code>, <code>GX_INDTEXSTAGE3</code>.</TD> 29 </tr> 30 <tr> 31<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>scale_s</font></strong></em></TD> 32<TD width="520">The scale factor for the indirect S coordinate. Accepted values are:<BR> 33 <TABLE border="1" width="500" cellspacing="0.1"> 34 35 <tr> 36<TD width="150" bgcolor="#C0C0C0">Name</TD> 37<TD width="350" bgcolor="#C0C0C0">Coordinate scale for the indirect stage</TD> 38 </tr> 39 <tr> 40<TD width="150"><code> GX_ITS_1</code></TD> 41<TD width="350">No scale.</TD> 42 </tr> 43 <tr> 44<TD width="150"><code>GX_ITS_2</code></TD> 45 <TD width="350">1/2.</TD> 46 </tr> 47 <tr> 48<TD width="150"><code>GX_ITS_4</code></TD> 49 <TD width="350">1/4.</TD> 50 </tr> 51 <tr> 52<TD width="150"><code>GX_ITS_8</code></TD> 53 <TD width="350">1/8.</TD> 54 </tr> 55 <tr> 56<TD width="150"><code>GX_ITS_16</code></TD> 57 <TD width="350">1/16.</TD> 58 </tr> 59 <tr> 60<TD width="150"><code>GX_ITS_32</code></TD> 61 <TD width="350">1/32.</TD> 62 </tr> 63 <tr> 64<TD width="150"><code>GX_ITS_64</code></TD> 65 <TD width="350">1/64.</TD> 66 </tr> 67 <tr> 68<TD width="150"><code>GX_ITS_128</code></TD> 69 <TD width="350">1/128.</TD> 70 </tr> 71 <tr> 72<TD width="150"><code>GX_ITS_256</code></TD> 73 <TD width="350">1/256.</TD> 74 </tr> 75 76 </TABLE> 77 </TD> 78 </tr> 79 <tr> 80<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>scale_t</font></strong></em></TD> 81<TD width="520">The scale factor for the indirect T coordinate. Accepted values are similar to <strong><em><font face="Courier New">scale_s</font></em></strong>.</TD> 82 </tr> 83</TABLE> 84<h2>Return Values</h2> 85 86<p>None.</p> 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><A href="GXSetIndTexOrder.html"><CODE>GXSetIndTexOrder</CODE></A></P> 92<H2>Revision History</H2> 93<P>03/01/2006 Initial version.</P> 94</BODY> 95</HTML>