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="Microsoft FrontPage 5.0"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8<TITLE>MTXGetStackPtr</TITLE> 9</HEAD> 10<BODY> 11<H1>MTXGetStackPtr</H1> 12 13<H2>Syntax</H2> 14<dl><dd><pre class="construction"> 15 #include <revolution/mtx.h> 16 17MtxPtr MTXGetStackPtr ( const MtxStack sPtr ); 18</pre></dd></dl> 19 20<H2>Arguments</H2> 21<TABLE class="arguments" border="1" > 22 <TBODY> 23 <TR> 24<TH>sPtr</TH> 25<TD>Pointer to an <A href="../structures/MtxStack_MtxStackPtr.html"><CODE>MtxStack</CODE></A> structure</TD> 26 </TR> 27 </TBODY> 28</TABLE> 29 30<H2>Return Values</H2> 31<P>Returns <SPAN class="argument">sPtr</SPAN>-><CODE><STRONG>stackPtr</STRONG></CODE>, the top of the stack matrix.</P> 32 33<H2>Description</H2> 34<P>Returns a pointer to the current matrix at the top of the matrix stack (<SPAN class="argument">sPtr</SPAN><CODE><STRONG>->stackPtr</STRONG></CODE>). The returned pointer can then be used either as a function argument or to modify the top of the matrix stack.</P> 35 36<H2>See Also</H2> 37<P class="reference"> 38<A href="../structures/Mtx_MtxPtr.html">Mtx, MtxPtr</A>, 39<A href="../structures/MtxStack_MtxStackPtr.html">MtxStack, MtxStackPtr</A> 40</P> 41 42<H2>Revision History</H2> 43<P> 442006/03/01 Initial version.<BR> 45</P> 46 47<hr><p>CONFIDENTIAL</p></body> 48</HTML>