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 http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9<title>GXGetTlutObjAll</title>
10</head>
11
12<body>
13
14<h1 align="left">GXGetTlutObjAll</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20  <dd><PRE><CODE>#include &lt;revolution/gx.h&gt;</CODE></PRE></dd>
21  <dd><pre><CODE>void GXGetTlutObjAll(
22    const <A href="../Structures/GXTlutObj.html">GXTlutObj</A><em>*    tlut_obj</em>,
23    void**              lut,
24    <A href="../Enumerated_Types/GXTlutFmt.html">GXTlutFmt</A>*          fmt,
25    u16*                n_entries );</CODE></pre></dd>
26</dl>
27
28<h2>Arguments</h2>
29<TABLE border="1" cellpadding="3" cellspacing="0.1">
30  <tr>
31<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>tlut_obj</CODE></strong></em></TD>
32<TD width="520">Pointer to a <a href="../Structures/GXTlutObj.html"><code>GXTlutObj</code></a> structure.&nbsp;The memory for this object must be allocated by the application.</TD>
33    </tr>
34  <tr>
35<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>lut</CODE></strong></em></TD>
36<TD width="520">Returns a pointer to the look-up table data</TD>
37    </tr>
38  <tr>
39<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>fmt</CODE></strong></em></TD>
40<TD width="520">Returns the <a href="../Enumerated_Types/GXTlutFmt.html">Format</a> of the entries in the TLUT</TD>
41    </tr>
42  <tr>
43<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>n_entries</CODE></strong></em></TD>
44<TD width="520">Returns the number of entries in the TLUT</TD>
45    </tr>
46</TABLE>
47<h2>Return Values</h2>
48
49<p>None.</p>
50<H2>Description</H2>
51<P>This function returns all the parameters describing a texture lookup table (TLUT) object.&nbsp;This object describes the location of the TLUT in main memory, its format, and the number of entries.</P>
52
53<h2>See Also</h2>
54<P><A href="GXInitTlutObj.html"><CODE>GXInitTlutObj</CODE></A></P>
55<H2>Revision History</H2>
56<P>2006/03/01 Initial version.</P>
57<hr>
58<P>CONFIDENTIAL</p>
59</BODY>
60</HTML>