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>TPLGet</title> 10</head> 11 12<body> 13 14<h1>TPLGet</h1> 15 16<h2>C Specification</h2> 17 18<p> 19<dl> 20 <dd><pre><code> 21#include <revolution/tpl.h> 22 23TPLDescriptorPtr TPLGet ( TPLPalettePtr pal, u32 id ); </code></pre></dd> 24</dl> 25</p> 26 27<h2>Description</h2> 28 29<p>Gets one texture descriptor from the TPL data structure.</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>id</code></td> 40<td>Pointer to the texture descriptor.</td> 41 </tr> 42 </table> 43 44<h2>Return Values</h2> 45 46<P>Texture descriptor.</P> 47 48 49<h2>See Also</h2> 50 51<P> 52<a href="TPLBind.html"><CODE>TPLBind</CODE></a><BR> <a href="TPLGetGXTexObjFromPalette.html"><CODE>TPLGetGXTexObjFromPalette</CODE></a><BR> <a href="TPLGetGXTexObjFromPaletteCI.html"><CODE>TPLGetGXTexObjFromPaletteCI</CODE></a> 53</P> 54 55<h2>Revision History</h2> 56 57<p>06/20/2006 Initial version.</p> 58 59</body> 60</html>