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 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>G3X_GetMtxStackLevelPJ</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">G3X_GetMtxStackLevelPJ <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/g3x.h&gt;
20
21s32 G3X_GetMtxStackLevelPJ(s32* level);<BR></CODE></PRE>
22  </dd>
23</dl><h2>Arguments</h2>
24<TABLE border="1" width="100%">
25  <TBODY>
26    <TR>
27      <TD width="224"><em><strong><font face="Courier New">level</font></strong></em></TD>
28      <TD width="622">Pointer to <code>s32</code> type</TD>
29    </TR>
30  </TBODY>
31</TABLE>
32<h2>Return Values</h2>
33<p>Whether results were obtained (0) or the matrix stack is busy (not 0).</p>
34<H2>Description</H2>
35<P>This function gets the current stack level of the <code>Projection</code> matrix stack. When the return value is 0, the current matrix stack level is substituted in *<em><strong><code>level</code></strong></em>. The matrix stack level has values of 0 or 1. When the return value is not 0, the current matrix stack level cannot be obtained because the matrix stack is busy.</P>
36<h2>See Also</h2>
37<P><A href="G3X_GetMtxStackLevelPV.html">G3X_GetMtxStackLevelPV</A></P>
38<H2>Revision History</H2>
39<P>2004/02/09 Initial version.</P>
40<UL>
41  <LI>Changed the argument to a <code>s32</code> type pointer
42</UL>
43<P>2004/01/19 Initial version.</P>
44<hr><p>CONFIDENTIAL</p></body>
45</html>
46