1<html>
2
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
6<meta name="ProgId" content="FrontPage.Editor.Document">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8
9<title>TPLGetGXTexObjFromPaletteCI</title>
10</head>
11
12<body>
13
14<h1>TPLGetGXTexObjFromPaletteCI</h1>
15
16<h2>C Specification</h2>
17
18<p>
19<dl>
20  <dd><pre><code>
21#include &lt;revolution/tpl.h&gt;</code></pre></dd>
22  <dd><pre><code>void TPLGetGXTexObjFromPaletteCI ( TPLPalettePtr pal, GXTexObj *to,
23                                   GXTlutObj *tlo, GXTlut tluts, u32 id );</code></pre></dd>
24</dl>
25</p>
26
27<h2>Description</h2>
28
29<p>One texture descriptor is taken from the TPL data structure, and GX settings for using the referenced texture data are made with the <CODE>GXInitTexObjCI</CODE> function. This function is an instruction for configuring textures that use the color lookup table (CLUT).</p>
30
31<h2>Arguments</h2>
32
33<table cellspacing="0" cellPadding="3" border="1">
34  <tr>
35<td width="100" bgcolor="#FFFFE8"><code><em><strong>pal</strong></em></code></td>
36<td width="300">Pointer to the TPL file.</td>
37  </tr>
38  <tr>
39<td width="100" bgcolor="#FFFFE8"><code><em><strong>to</strong></em></code></td>
40<td width="300">Pointer to a texture object.</td>
41  </tr>
42  <tr>
43<td width="100" bgcolor="#FFFFE8"><code><em><strong>tlo</strong></em></code></td>
44<td width="300">Pointer to a texture lookup table (TLUT) object.</td>
45  </tr>
46  <tr>
47<td width="100" bgcolor="#FFFFE8"><code><em><strong>id</strong></em></code></td>
48<td width="300">Pointer to the texture descriptor.</td>
49  </tr>
50  </table>
51
52<h2>Return Values</h2>
53
54<P>None.</P>
55
56<h2>See Also</h2>
57
58<p>
59<a href="TPLBind.html"><CODE>TPLBind</CODE></a>, <a href="TPLGet.html"><CODE>TPLGet</CODE></a>, <a href="TPLGetGXTexObjFromPalette.html"><CODE>TPLGetGXTexObjFromPalette</CODE></a></p>
60
61<h2>Revision History</h2>
62
63<p>2006/06/20 Initial version.</p>
64
65<hr>
66<P>CONFIDENTIAL</p>
67</BODY>
68</HTML>