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><code>pal</code></td>
36<td>Pointer to the TPL file.</td>
37  </tr>
38  <tr>
39<td><code>to</code></td>
40<td>Pointer to a texture object.</td>
41  </tr>
42  <tr>
43<td><code>tlo</code></td>
44<td>Pointer to a texture lookup table (TLUT) object.</td>
45  </tr>
46  <tr>
47<td><code>id</code></td>
48<td>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><BR> <a href="TPLGet.html"><CODE>TPLGet</CODE></a><BR> <a href="TPLGetGXTexObjFromPalette.html"><CODE>TPLGetGXTexObjFromPalette</CODE></a></p>
60
61<h2>Revision History</h2>
62
63<p>06/20/2006 Initial version.</p>
64
65</body>
66</html>