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>GXGetTexRegionAll</title>
10</head>
11
12<body>
13
14<h1 align="left">GXGetTexRegionAll</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/gx.h&gt;
19
20void GXGetTexRegionAll(
21    const <A href="../Structures/GXTexRegion.html">GXTexRegion</A>*  region,
22    GXBool*             is_32b_mipmap,
23    u32*                tmem_even,
24    u32*                size_even,
25    u32*                tmem_odd,
26    u32*                size_odd );
27</pre></dd></dl>
28
29<h2>Arguments</h2>
30<TABLE class="arguments" border="1" >
31  <tr>
32<TH>region</TH>
33<TD>Pointer to a <A href="../Structures/GXTexRegion.html"><CODE>GXTexRegion</CODE></A> structure</TD>
34  </tr>
35  <tr>
36<TH>is_cached</TH>
37<TD>Returns whether this is a cached region or a preloaded region.</TD>
38  </tr>
39  <tr>
40<TH>is_32b_mipmap</TH>
41<TD>Returns whether or not the cached region is intended for a 32-bit (RGBA8) mipmap texture.</TD>
42  </tr>
43  <tr>
44<TH>tmem_even</TH>
45<TD>Returns the texture memory address for the even LODs or for planar (non-32b) textures.</TD>
46  </tr>
47  <tr>
48<TH>size_even</TH>
49<TD>Returns the size (in bytes) of the texture memory region for the even LODs.<BR> Note that the value is not doubled for 32-bit mipmap textures.</TD>
50  </tr>
51  <tr>
52<TH>tmem_odd</TH>
53<TD>Returns the texture memory address for the odd LODs (if any).</TD>
54  </tr>
55  <tr>
56<TH>size_odd</TH>
57<TD>Returns the texture memory region size (in bytes) for the odd LODs. <BR><B>Note:</B> The value is not doubled for 32-bit mipmap textures.</TD>
58  </tr>
59</TABLE>
60
61<h2>Return Values</h2>
62<P>None.</P>
63
64<H2>Description</H2>
65<P>This function returns all the parameters that describe a texture memory region (<A href="../Structures/GXTexRegion.html"><CODE>GXTexRegion</CODE></A> structure) object. This object describes how texture memory needs to be used. There are two types of texture memory region objects. The first is a cache texture (created by the <A href="GXInitTexCacheRegion.html"><CODE>GXInitTexCacheRegion</CODE></A> function), while the other is a preload texture (created by the <A href="GXInitTexPreLoadRegion.html"><CODE>GXInitTexPreLoadRegion</CODE></A> function).</P>
66
67<h2>See Also</h2>
68<P class="reference">
69<a href="GXInitTexCacheRegion.html">GXInitTexCacheRegion</a>,
70<a href="GXInitTexPreLoadRegion.html">GXInitTexPreLoadRegion</a>
71</p>
72
73<H2>Revision History</H2>
74<P>
752006/03/01 Initial version.<br>
76</P>
77
78<hr><p>CONFIDENTIAL</p></body>
79</html>