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="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>G3_LoadTexMtxEnv</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">G3*_LoadTexMtxEnv <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
15<H2>Syntax</H2>
16
17<dl>
18  <dd>
19<PRE><CODE>#include &lt;nitro/gx/g3_util.h&gt;
20
21void G3_LoadTexMtxEnv(const MtxFx44 * mtx);
22
23// Below are APIs for creating the display list (command list):
24void G3B_LoadTexMtxEnv(<A href="../gx/GXDLInfo.html">GXDLInfo</A>* info, const MtxFx44 * mtx);
25void G3C_LoadTexMtxEnv(<A href="../gx/GXDLInfo.html">GXDLInfo</A>* info, const MtxFx44 * mtx);
26void G3BS_LoadTexMtxEnv(<A href="../gx/GXDLInfo.html">GXDLInfo</A>* info, const MtxFx44 * mtx);
27void G3CS_LoadTexMtxEnv(<A href="../gx/GXDLInfo.html">GXDLInfo</A>* info, const MtxFx44 * mtx);</CODE>
28</PRE></dd>
29</dl><h2>Arguments</h2>
30<TABLE border="1" width="100%">
31  <TBODY>
32    <TR>
33      <TD width="13%"><em><strong><font face="Courier New">info</font></strong></em></TD>
34      <TD width="87%">Command List Information.</TD>
35    </TR>
36    <TR>
37      <TD width="190"><em><strong><font face="Courier New">mtx</font></strong></em></TD>
38      <TD width="512">Pointer to matrix to load in the texture matrix</TD>
39    </TR>
40  </TBODY>
41</TABLE>
42<h2>Return Values</h2>
43<p>None.</p>
44<H2>Description</H2>
45<P>This function sets the matrix mode to <code>Texture</code> mode and sets the texture matrix. At this time, corrections are performed that are necessary when set in <code>Normal</code> source and <code>Vertex</code> source. The result is a new current texture matrix <code>C<sub>new</sub></code>, shown below.</P>
46<P><span lang=EN-US style='font-size:10.5pt;mso-bidi-font-size: 12.0pt;font-family:Century;mso-fareast-font-family:"MS ??";mso-bidi-font-family: "Times New Roman";mso-font-kerning:1.0pt;mso-ansi-language:EN-US;mso-fareast-language: JA;mso-bidi-language:AR-SA'><span style='mso-text-raise:-33.0pt'><IMG width="351" height="96" src="geo_texmtx_env.gif" v:shapes="_x0000_i1025"></span></span></P>
47<h2>See Also</h2>
48<P><A href="G3_LoadTexMtxTexCoord.html"><code>G3*_LoadTexMtxTexCoord</code></A>, <A href="G3_MtxMode.html" target="_self"><code>G3*_MtxMode</code></A></P>
49<H2>Revision History</H2>
50<P>2004/01/19 Initial version.</P>
51<hr><p>CONFIDENTIAL</p></body>
52</html>
53