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>tex-2-tex</title>
10</head>
11
12<body>
13
14<h1 align="left">tex-2-tex</h1>
15
16
17
18<h2>Description</h2>
19
20<p><CODE>tex-2-tex</CODE> is a test of multi-texture performance.&nbsp;Forty-nine cubes are displayed, each with two textures. This test loads multi-texture maps into two different texture channels. The user can change the way the maps are combined, using <CODE>GX_MODULATE</CODE>, <CODE>GX_DECAL</CODE>, or by turning texture map 2 off. Also, the user can change how often the texture cache is flushed for every cube: either never or every frame.</p>
21
22<h2>Coverage</h2>
23<TABLE border="1" cellpadding="3" cellspacing="0.1" width="640">
24  <tr>
25<TD width="30%" bgcolor="#C0C0C0"><EM><STRONG>Functions</STRONG></EM></TD>
26<TD width="25%" bgcolor="#C0C0C0"><EM><STRONG>Parameters</STRONG></EM></TD>
27<TD width="45%" bgcolor="#C0C0C0"><EM><STRONG>Description</STRONG></EM></TD>
28    </tr>
29  <tr>
30<TD width="30%" rowspan="2"><a href="../../../gx/Tev/GXSetTevOp.html"><FONT face="Courier New">GXSetTevOp</FONT></a></TD>
31<TD width="25%">TEV stage</TD>
32<TD width="45%"><CODE>GX_TEVSTAGE0</CODE>, <CODE>GX_TEVSTAGE1</CODE>.</TD>
33    </tr>
34  <tr>
35<TD width="25%">op</TD>
36<TD width="45%"><CODE>GX_REPLACE</CODE>, <CODE>GX_MODULATE</CODE>, <CODE>GX_DECAL</CODE>, <CODE>GX_PASSCLR</CODE></TD>
37    </tr>
38  <tr>
39<TD width="30%"><a href="../../../gx/Texture/GXLoadTexObj.html"><FONT face="Courier New">GXLoadTexObj</FONT></a></TD>
40<TD width="25%">address</TD>
41<TD width="45%"><CODE>GX_TEXMAP0</CODE>, <CODE>GX_TEXMAP1</CODE></TD>
42    </tr>
43  <tr>
44<TD width="30%"><a href="../../../gx/Texture/GXInvalidateTexAll.html"><FONT face="Courier New">GXInvalidateTexAll</FONT></a></TD>
45      <TD width="25%"></TD>
46      <TD width="45%"></TD>
47    </tr>
48</TABLE>
49<h2>Operation Method</h2>
50
51<P>START exits the test.</P>
52<P>The X Button toggles the combine mode.</P>
53<P>The B Button changes the texture cache flush frequency.</P>
54<h2>Snapshot</h2>
55
56<P><IMG src="./images/tex-2-tex-1.jpg" alt="tex-2-tex-1.jpg" WIDTH="639" HEIGHT="480"></p>
57
58<h2>Required Data Files</h2>
59
60<p><FONT face="Courier New">$REVOLUTION_SDK_ROOT/dvddata/gxTests/tex-06.tpl</FONT></p>
61<H2>Revision History</H2>
62<P>2006/03/01 Initial version.</P>
63<hr>
64<P>CONFIDENTIAL</p>
65</BODY>
66</HTML>