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 name="ProgId" content="FrontPage.Editor.Document">
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9
10<title>TPLGetGXTexObjFromPaletteCI</title>
11</head>
12
13<body>
14
15<h1>TPLGetGXTexObjFromPaletteCI</h1>
16
17<h2>Syntax</h2>
18<dl><dd><pre class="construction">
19#include &lt;revolution/tpl.h&gt;
20
21void TPLGetGXTexObjFromPaletteCI    ( TPLPalettePtr pal, GXTexObj *to,
22                                      GXTlutObj *tlo, GXTlut tluts, u32 id );
23</pre></dd></dl>
24
25<h2>Arguments</h2>
26<TABLE class="arguments" border="1" >
27  <tr>
28<th><STRONG><EM><CODE>pal</CODE></EM></STRONG></th>
29<td>Pointer to a texture palette.</td>
30  </tr>
31  <tr>
32<th><STRONG><EM><CODE>to</CODE></EM></STRONG></th>
33<td>Pointer to a texture object.</td>
34  </tr>
35  <tr>
36<th><STRONG><CODE><EM>tlo</EM></CODE></STRONG></th>
37<td>Pointer to a texture lookup table (TLUT) object.</td>
38  </tr>
39  <tr>
40<th><STRONG><CODE><EM>id</EM></CODE></STRONG></th>
41<td>Pointer to the texture descriptor.</td>
42  </tr>
43</table>
44
45<h2>Return Values</h2>
46<P>None.</P>
47
48<h2>Description</h2>
49<p>Takes one texture descriptor from a texture palette structure and then uses the <CODE>GXInitTexObjCI</CODE> function to configure GX settings for using the referenced texture data. This function is an instruction for configuring textures that use the color lookup table (CLUT).</p>
50
51<h2>See Also</h2>
52<P class="reference">
53<a href="TPLBind.html">TPLBind</a>,
54<a href="TPLGet.html">TPLGet</a>,
55<a href="TPLGetGXTexObjFromPalette.html">TPLGetGXTexObjFromPalette</a></p>
56
57<h2>Revision History</h2>
58<p>
592008/07/29 Changed the notation for TPL files and TPL data to &quot;texture palettes.&quot;<br>2006/06/20 Initial version.<br>
60</p>
61
62<hr><p>CONFIDENTIAL</p></body>
63</html>