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<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/gx.h> 19 20void GXGetTexObjLODAll( 21 const <A href="../Structures/GXTexObj.html">GXTexObj</A>* obj, 22 <A href="../Enumerated_Types/GXTexFilter.html">GXTexFilter</A>* min_filt, 23 <A href="../Enumerated_Types/GXTexFilter.html">GXTexFilter</A>* mag_filt, 24 f32* min_lod, 25 f32* max_lod, 26 f32* lod_bias, 27 GXBool* bias_clamp, 28 GXBool* do_edge_lod, 29 <A href="../Enumerated_Types/GXAnisotropy.html">GXAnisotropy</A>* max_aniso ); 30 31<A href="../Enumerated_Types/GXTexFilter.html">GXTexFilter</A> GXGetTexObjMinFilt ( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj ); 32<A href="../Enumerated_Types/GXTexFilter.html">GXTexFilter</A> GXGetTexObjMagFilt ( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj ); 33f32 GXGetTexObjMinLOD ( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj ); 34f32 GXGetTexObjMaxLOD ( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj ); 35f32 GXGetTexObjLODBias ( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj ); 36GXBool GXGetTexObjBiasClamp( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj ); 37GXBool GXGetTexObjEdgeLOD ( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj ); 38<A href="../Enumerated_Types/GXAnisotropy.html">GXAnisotropy</A> GXGetTexObjMaxAniso ( const <A href="../Structures/GXTexObj.html">GXTexObj</A>* tex_obj ); 39</pre></dd></dl> 40 41<H2>Arguments</H2> 42<TABLE class="arguments" border="1" > 43 <TBODY> 44 <TR> 45<TH>obj, tex_obj</TH> 46<TD>Pointers to a <A href="../Structures/GXTexObj.html"><CODE>GXTexObj</CODE></A> structure</TD> 47 </TR> 48 <TR> 49<TH><STRONG><EM><CODE>min_filt</CODE></EM></STRONG></TH> 50<TD>returns the reduction filter from the texture object</TD> 51 </TR> 52 <TR> 53<TH><STRONG><EM><CODE>mag_filt</CODE></EM></STRONG></TH> 54<TD>returns the magnification filter</TD> 55 </TR> 56 <TR> 57<TH><STRONG><EM><CODE>min_lod</CODE></EM></STRONG></TH> 58<TD>Returns the minimum LOD value</TD> 59 </TR> 60 <TR> 61<TH><STRONG><EM><CODE>max_lod</CODE></EM></STRONG></TH> 62<TD>Returns the maximum LOD value</TD> 63 </TR> 64 <TR> 65<TH><STRONG><EM><CODE>lod_bias</CODE></EM></STRONG></TH> 66<TD>Returns the LOD bias</TD> 67 </TR> 68 <TR> 69<TH><STRONG><EM><CODE>bias_clamp</CODE></EM></STRONG></TH> 70<TD>Returns the LOD bias clamping parameter</TD> 71 </TR> 72 <TR> 73<TH><STRONG><EM><CODE>do_edge_lod</CODE></EM></STRONG></TH> 74<TD>Returns edge LOD status</TD> 75 </TR> 76 <TR> 77<TH><STRONG><EM><CODE>max_aniso</CODE></EM></STRONG></TH> 78<TD>returns anisotropic filtering setting</TD> 79 </TR> 80 </TBODY> 81</TABLE> 82 83<H2>Return Values</H2> 84<P>The <CODE>GXGetTexObjLODAll</CODE> function returns <code>void</code>. The other functions return data values as indicated by their names.</P> 85 86<h2>Description</h2> 87<P>The <CODE>GXGetTexObjLODAll</CODE> function returns the LOD-related parameters described by a texture object. 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. Texture objects are initialized using either the <A href="GXInitTexObj.html"><CODE>GXInitTexObj</CODE></A> function, or for color index format textures, the <A href="GXInitTexObjCI.html"><CODE>GXInitTexObjCI</CODE></A> function. The LOD-related parameters are set using the <A href="GXInitTexObjLOD.html"><CODE>GXInitTexObjLOD</CODE></A> function.</P> 88 89<h2>See Also</h2> 90<P class="reference"> 91<a href="GXInitTexObj.html">GXInitTexObj</a>, 92<a href="GXGetTexObjAll.html">GXGetTexObjAll</a>, 93<a href="GXInitTexObjLOD.html">GXInitTexObjLOD</a> 94</p> 95 96<H2>Revision History</H2> 97<P> 982006/03/01 Initial version.<br> 99</P> 100 101<hr><p>CONFIDENTIAL</p></body> 102</HTML>