1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<title>G3*_TexPlttBase</title> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</head> 10<body> 11<h1 align="left">G3*_TexPlttBase <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1> 12<H2>Syntax</H2> 13<dl> 14 <dd> 15<PRE><CODE>#include <nitro/gx/g3imm.h> 16#include <nitro/gx/g3b.h> 17#include <nitro/gx/g3c.h> 18void G3_TexPlttBase(u32 addr�CGXTexFmt texFmt);</CODE> 19// Below are APIs for creating the display list (command list)<BR><CODE>void G3B_TexPlttBase( 20 <A href="../gx/GXDLInfo.html">GXDLInfo</A>* info, 21 u32 addr�C 22 GXTexFmt texFmt);</CODE> 23<BR><CODE>void G3C_TexPlttBase( 24 <A href="../gx/GXDLInfo.html">GXDLInfo</A>* info, 25 u32 addr�C 26 GXTexFmt texFmt);</CODE> 27<BR><CODE>void G3BS_TexPlttBase( 28 <A href="../gx/GXDLInfo.html">GXDLInfo</A>* info, 29 u32 addr�C 30 GXTexFmt texFmt);</CODE> 31<BR><CODE>void G3CS_TexPlttBase( 32 <A href="../gx/GXDLInfo.html">GXDLInfo</A>* info, 33 u32 addr�C 34 GXTexFmt texFmt);</CODE></PRE> 35 </dd> 36</dl><h2>Arguments</h2> 37<table border="1" width="100%"> 38 <tr> 39 <td width="13%"><em><strong><font face="Courier New">info</font></strong></em></td> 40 <td width="87%">Command List Information.</td> 41 </tr> 42 <tr> 43 <td width="13%"><em><strong><font face="Courier New">addr</font></strong></em></td> 44 <td width="87%">Specifies the palette base address.</td> 45 </tr> 46 <TR> 47 <TD><em><strong><font face="Courier New">texFmt</font></strong></em></TD> 48 <TD>Texture format applying the palette.</TD> 49 </TR> 50 </table> 51<h2>Return Values</h2> 52<p>None.</p> 53<H2>Description</H2> 54<P>Sets the base address for the texture palette. A <CODE><A href="G3_TexPlttBase.html" target="_self">G3*_TexPlttBase</A></CODE> command is normally issued before <CODE><A href="G3_Begin.html" target="_self">G3*_Begin</A></CODE>, but it can also be issued between <CODE><A href="G3_Begin.html" target="_self">G3*_Begin</A></CODE> and <CODE><A href="G3_End.html" target="_self">G3*_End</A></CODE>. In this case, a different texture-palette base address can be set for each polygon between <CODE><A href="G3_Begin.html" target="_self">G3*_Begin</A></CODE> and <CODE><A href="G3_End.html" target="_self">G3*_End</A></CODE>.<BR><BR> <em><strong><code>texFmt</code></strong></em> must be in a texture format supporting palettes. See the <CODE><A href="G3_TexImageParam.html" target="_self">G3*_TexImageParam</A></CODE> functions for details on the <CODE>GXTexFmt</CODE> type.</P> 55<h2>See Also</h2> 56<P><A href="G3_TexImageParam.html" target="_self"><CODE>G3*_TexImageParam</CODE></A><BR> <A href="G3_TexCoord.html" target="_self"><CODE>G3*_TexCoord</CODE></A></P> 57<H2>Revision History</H2> 58<P>2004/01/19 Initial version.</P> 59<hr><p>CONFIDENTIAL</p></body> 60</html> 61