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>TPLGetGXTexObjFromPalette</title> 10</head> 11 12<body> 13 14<h1>TPLGetGXTexObjFromPalette</h1> 15 16<h2>C Specification</h2> 17 18<p> 19<dl> 20 <dd><pre><code> 21#include <revolution/tpl.h> </code></pre></dd> 22 <dd><pre><code>void TPLGetGXTexObjFromPalette ( TPLPalettePtr pal, GXTexObj *to, u32 id );</code></pre></dd> 23</dl> 24 25<h2>Description</h2> 26 27<p>One texture descriptor is taken from the TPL data structure, and the GX settings for using the referenced texture data are made with the <CODE>GXInitTexObj</CODE> function.</p> 28 29<h2>Arguments</h2> 30 31<table cellSpacing="0" cellPadding="3" border="1"> 32 <tr> 33<td width="100" bgcolor="#FFFFE8"><code><em><strong>pal</strong></em></code></td> 34<td>Pointer to the TPL file.</td> 35 </tr> 36 <tr> 37<td width="100" bgcolor="#FFFFE8"><code><em><strong>to</strong></em></code></td> 38<td>Pointer to a texture object.</td> 39 </tr> 40 <tr> 41<td width="100" bgcolor="#FFFFE8"><code><em><strong>id</strong></em></code></td> 42<td>Pointer to the texture descriptor.</td> 43 </tr> 44 </table> 45 46<h2>Return Values</h2> 47 48<P>None.</P> 49 50<h2>See Also</h2> 51 52<p> 53<a href="TPLBind.html"><CODE>TPLBind</CODE></a>, <a href="TPLGet.html"><CODE>TPLGet</CODE></a>, <a href="TPLGetGXTexObjFromPaletteCI.html"><CODE>TPLGetGXTexObjFromPaletteCI</CODE></a></p> 54 55<h2>Revision History</h2> 56 57<p>2006/06/20 Initial version.</p> 58 59<hr> 60<P>CONFIDENTIAL</p> 61</BODY> 62</HTML>