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 http-equiv="Content-Style-Type" content="text/css">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<TITLE>GXInitTexObjMaxAniso</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">GXInitTexObjMaxAniso</H1>
12
13<H2>Syntax</H2>
14<dl><dd><pre class="construction">
15#include &lt;revolution/gx.h&gt;
16
17void GXInitTexObjMaxAniso(
18    <A href="../Structures/GXTexObj.html">GXTexObj</A>*      obj,
19    <A href="../Enumerated_Types/GXAnisotropy.html">GXAnisotropy</A>   max_aniso );
20</pre></dd></dl>
21
22<H2>Arguments</H2>
23<TABLE class="arguments" border="1" >
24  <TBODY>
25    <TR>
26<TH><em><strong><code>obj</code></strong></em></TH>
27<TD>Pointer to a texture object.</TD>
28    </TR>
29    <TR>
30<TH><STRONG><EM><CODE>max_aniso</CODE></EM></STRONG></TH>
31<TD>The maximum <a href="../Enumerated_Types/GXAnisotropy.html">anisotropic</a> filter to use. Accepted values are:
32      <TABLE class="arguments" border="1" >
33        <TBODY>
34          <TR>
35<TD bgcolor="#c0c0c0">Name</TD>
36<TD bgcolor="#c0c0c0">Filter type</TD>
37          </TR>
38          <TR>
39<TH>GX_ANISO_1</TH>
40<TD>Max anisotropy = 1. Do not use an anisotropic filter.</TD>
41          </TR>
42          <TR>
43<TH>GX_ANISO_2</TH>
44<TD>Max anisotropy = 2. Apply filter to a maximum of two samples.</TD>
45          </TR>
46          <TR>
47<TH>GX_ANISO_4</TH>
48<TD>Max anisotropy = 4. Apply filter to a maximum of four samples.</TD>
49          </TR>
50        </TBODY>
51      </TABLE>
52This feature works only if you set <CODE>GX_LIN_MIP_LIN</CODE> for the minimization filter.</TD>
53    </TR>
54  </TBODY>
55</TABLE>
56
57<H2>Return Values</H2>
58<P>None.</P>
59
60<H2>Description</H2>
61<P>This function changes the anisotropic filter mode for an existing texture object.&nbsp;This parameter is initially set by the <A href="GXInitTexObjLOD.html"><CODE>GXInitTexObjLOD</CODE></A> function.</P>
62
63<H2>See Also</H2>
64<P class="reference">
65<A href="GXInitTexObjLOD.html">GXInitTexObjLOD</A>,
66<A href="GXGetTexObjLODAll.html">GXGetTexObjLODAll</A>,
67<A href="GXTexObjInitFlow.html">GXTexObj Initialization Flow</A>
68</P>
69
70<H2>Revision History</H2>
71<P>
722006/03/01 Initial version.<br>
73</P>
74
75<hr><p>CONFIDENTIAL</p></body>
76</HTML>