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>TPLGetGXTexObjFromPalette</title> 11</head> 12 13<body> 14 15<h1>TPLGetGXTexObjFromPalette</h1> 16 17<h2>Syntax</h2> 18<dl><dd><pre class="construction"> 19#include <revolution/tpl.h> 20 21void TPLGetGXTexObjFromPalette ( TPLPalettePtr pal, GXTexObj *to, u32 id ); 22</pre></dd></dl> 23 24<h2>Arguments</h2> 25<TABLE class="arguments" border="1" > 26 <tr> 27<th><STRONG><EM>pal</EM></STRONG></th> 28<td>Pointer to a texture palette.</td> 29 </tr> 30 <tr> 31<th><STRONG><EM><CODE>to</CODE></EM></STRONG></th> 32<td>Pointer to a texture object.</td> 33 </tr> 34 <tr> 35<th><STRONG><CODE><EM>id</EM></CODE></STRONG></th> 36<td>Pointer to the texture descriptor.</td> 37 </tr> 38</table> 39 40<h2>Return Values</h2> 41<P>None.</P> 42 43<h2>Description</h2> 44<p>Takes one texture descriptor from a texture palette structure and then uses the <CODE>GXInitTexObj</CODE> function to configure GX settings for using the referenced texture data.</p> 45 46<h2>See Also</h2> 47<P class="reference"> 48<a href="TPLBind.html">TPLBind</a>, 49<a href="TPLGet.html">TPLGet</a>, 50<a href="TPLGetGXTexObjFromPaletteCI.html">TPLGetGXTexObjFromPaletteCI</a></p> 51 52<h2>Revision History</h2> 53<p> 542008/07/29 Changed the notation for TPL files and TPL data to "texture palettes."<br>2006/06/20 Initial version.<br> 55</p> 56 57<hr><p>CONFIDENTIAL</p></body> 58</html>