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>GXGetTexObjLODAll</title>
10</head>
11
12<body>
13
14<h1 align="left">GXGetTexObjLODAll</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20<dd><pre><CODE>#include &lt;revolution/gx.h&gt;</CODE></pre>
21  </dd>
22<dd><pre><CODE>void GXGetTexObjLODAll(
23const <A href="../Structures/GXTexObj.html">GXTexObj</A>* obj,
24<A href="../Enumerated_Types/GXTexFilter.html">GXTexFilter</A>*    min_filt,
25<A href="../Enumerated_Types/GXTexFilter.html">GXTexFilter</A>*    mag_filt,
26f32*            min_lod,
27f32*            max_lod,
28f32*            lod_bias,
29GXBool*         bias_clamp,
30GXBool*         do_edge_lod,
31<A href="../Enumerated_Types/GXAnisotropy.html">GXAnisotropy</A>*   max_aniso );
32
33<A href="../Enumerated_Types/GXTexFilter.html">GXTexFilter</A>   GXGetTexObjMinFilt  ( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj );
34<A href="../Enumerated_Types/GXTexFilter.html">GXTexFilter</A>   GXGetTexObjMagFilt  ( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj );
35f32           GXGetTexObjMinLOD   ( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj );
36f32           GXGetTexObjMaxLOD   ( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj );
37f32           GXGetTexObjLODBias  ( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj );
38GXBool        GXGetTexObjBiasClamp( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj );
39GXBool        GXGetTexObjEdgeLOD  ( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj );
40<A href="../Enumerated_Types/GXAnisotropy.html">GXAnisotropy</A>  GXGetTexObjMaxAniso ( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj );
41</CODE></pre>
42  </dd>
43</dl>
44<H2>Arguments</H2>
45<TABLE border="1" cellspacing="0.1" cellpadding="3">
46  <TBODY>
47    <TR>
48<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>tex_obj</CODE></STRONG></EM></TD>
49<TD width="520">pointer to a <a href="../Structures/GXTexObj.html"><code>GXTexObj</code></a> structure</TD>
50    </TR>
51    <TR>
52<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>min_filt</CODE></STRONG></EM></TD>
53<TD width="520">returns the reduction filter from the texture object</TD>
54    </TR>
55    <TR>
56<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>mag_filt</CODE></STRONG></EM></TD>
57<TD width="520">returns the magnification filter</TD>
58    </TR>
59    <TR>
60<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>min_lod</CODE></STRONG></EM></TD>
61<TD width="520">returns the minimum LOD value</TD>
62    </TR>
63    <TR>
64<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>max_lod</CODE></STRONG></EM></TD>
65<TD width="520">returns the maximum LOD value</TD>
66    </TR>
67    <TR>
68<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>lod_bias</CODE></STRONG></EM></TD>
69<TD width="520">returns the LOD bias</TD>
70    </TR>
71    <TR>
72<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>bias_clamp</CODE></STRONG></EM></TD>
73<TD width="520">returns the LOD bias clamping parameter</TD>
74    </TR>
75    <TR>
76<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>do_edge_lod</CODE></STRONG></EM></TD>
77<TD width="520">returns edge LOD status</TD>
78    </TR>
79    <TR>
80<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>max_aniso</CODE></STRONG></EM></TD>
81<TD width="520">returns anisotropic filtering setting</TD>
82    </TR>
83  </TBODY>
84</TABLE>
85<H2>Return Values</H2>
86<P>Returns <code>void</code>. The other functions return data values as indicated by their names.</P>
87<h2>Description</h2>
88
89<P>This function returns the LOD-related parameters described by a texture object.&nbsp;Also listed are functions to get each data item individually. Texture objects are used to describe all the parameters associated with a texture, including size, format, wrap modes, filter modes, etc.&nbsp;Texture objects are initialized using either <a href="GXInitTexObj.html"><code>GXInitTexObj</code></a> or, for color index format textures, <a href="GXInitTexObjCI.html"><code>GXInitTexObjCI</code></a>. The LOD-related parameters are set using <a href="GXInitTexObjLOD.html"><code>GXInitTexObjLOD</code></a>.</P>
90<h2>See Also</h2>
91
92<p><a href="GXInitTexObj.html"><CODE>GXInitTexObj</CODE></a><br> <a href="GXGetTexObjAll.html"><CODE>GXGetTexObjAll</CODE></a><br> <a href="GXInitTexObjLOD.html"><CODE>GXInitTexObjLOD</CODE></a></p>
93<H2>Revision History</H2>
94<P>03/01/2006 Initial version.</P>
95</BODY>
96</HTML>