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>GXGetTexObjData</title>
10</head>
11
12<body>
13
14<h1 align="left">GXGetTexObjData</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/gx.h&gt;
19
20void* GXGetTexObjData( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* obj );
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<TABLE class="arguments" border="1" >
25  <tr>
26<TH><em><strong><code>obj</code></strong></em></TH>
27<TD>Pointer to a texture object.</TD>
28  </tr>
29</TABLE>
30
31<h2>Return Values</h2>
32<p><em>Physical</em> pointer to texture data.</p>
33
34<H2>Description</H2>
35<P>This function returns a pointer to the texture data described by the texture object <SPAN class="argument">obj</SPAN>. <BR><BR><B>Note:</B> The returned pointer is a physical address.<BR><BR>You can use the <A href="../../os/Address/OSPhysicalToCached.html"><CODE>OSPhysicalToCached</CODE></A> or <A href="../../os/Address/OSPhysicalToUncached.html"><CODE>OSPhysicalToUncached</CODE></A> function to convert the pointer into one that the CPU can use to reference the data being pointed to. If the pointer will only be passed back to the <A href="GXInitTexObj.html"><CODE>GXInitTexObj</CODE></A> function (or a similar function), then the address need not be converted.</P>
36<P>Use the <A href="GXInitTexObj.html"><CODE>GXInitTexObj</CODE></A>, <A href="GXInitTexObjCI.html"><CODE>GXInitTexObjCI</CODE></A> or <A href="GXInitTexObjData.html"><CODE>GXInitTexObjData</CODE></A> function to initialize the texture pointer.</P>
37
38<h2>See Also</h2>
39<P class="reference">
40<A href="GXInitTexObj.html">GXInitTexObj</A>,
41<A href="GXInitTexObjCI.html">GXInitTexObjCI</A>,
42<A href="GXInitTexObjData.html">GXInitTexObjData</A>
43</P>
44
45<H2>Revision History</H2>
46<P>
472006/03/01 Initial version.<br>
48</P>
49
50<hr><p>CONFIDENTIAL</p></body>
51</html>