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>GXInitTexObjFilter</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">GXInitTexObjFilter</H1>
12
13<H2>Syntax</H2>
14<dl><dd><pre class="construction">
15#include &lt;revolution/gx.h&gt;
16
17void GXInitTexObjFilter(
18    <A href="../Structures/GXTexObj.html">GXTexObj</A>*      obj,
19    <A href="../Enumerated_Types/GXTexFilter.html">GXTexFilter</A>    min_filt,
20    <A href="../Enumerated_Types/GXTexFilter.html">GXTexFilter</A>    mag_filt );
21</pre></dd></dl>
22
23<H2>Arguments</H2>
24<TABLE class="arguments" border="1" >
25  <TBODY>
26    <TR>
27<TH><em><strong><code>obj</code></strong></em></TH>
28<TD>Pointer to a texture object.</TD>
29    </TR>
30    <TR>
31<TH><STRONG><EM><CODE>min_filt</CODE></EM></STRONG></TH>
32<TD>Filter mode to use when the texel/pixel ratio is &gt;= 1.0. Accepted values are:
33      <TABLE class="arguments" border="1" >
34        <TBODY>
35          <TR>
36<TD bgcolor="#c0c0c0">Name</TD>
37<TD bgcolor="#c0c0c0">Filter Type</TD>
38          </TR>
39          <TR>
40<TH>GX_NEAR</TH>
41<TD>Point sampling, no mipmap.</TD>
42          </TR>
43          <TR>
44<TH>GX_LINEAR</TH>
45<TD>Bi-linear filtering, no mipmap.</TD>
46          </TR>
47          <TR>
48<TH>GX_NEAR_MIP_NEAR</TH>
49<TD>Point sampling, discreet mipmap.</TD>
50          </TR>
51          <TR>
52<TH>GX_LIN_MIP_NEAR</TH>
53<TD>Bi-linear filtering, discreet mipmap</TD>
54          </TR>
55          <TR>
56<TH>GX_NEAR_MIP_LIN</TH>
57<TD>Point sampling, linear mipmap</TD>
58          </TR>
59          <TR>
60<TH>GX_LIN_MIP_LIN</TH>
61<TD>Tri-linear filtering</TD>
62          </TR>
63        </TBODY>
64      </TABLE>
65      </TD>
66    </TR>
67    <TR>
68<TH><STRONG><EM><CODE>mag_filt</CODE></EM></STRONG></TH>
69<TD>Filter mode to use when the texel/pixel ratio is &lt; 1.0. Accepted values are:
70      <TABLE class="arguments" border="1" >
71        <TBODY>
72          <TR>
73<TD bgcolor="#c0c0c0">Name</TD>
74<TD bgcolor="#c0c0c0">Filter Type</TD>
75          </TR>
76          <TR>
77<TH>GX_NEAR</TH>
78<TD>Point sampling</TD>
79          </TR>
80          <TR>
81<TH>GX_LINEAR</TH>
82<TD>Bi-linear filtering.</TD>
83          </TR>
84        </TBODY>
85      </TABLE>
86      </TD>
87    </TR>
88  </TBODY>
89</TABLE>
90
91<H2>Return Values</H2>
92<P>None.</P>
93
94<H2>Description</H2>
95<P>This function changes the texture filter for an existing texture object.&nbsp;This parameter is initially set by the <A href="GXInitTexObjLOD.html"><CODE>GXInitTexObjLOD</CODE></A> function.</P>
96
97<H2>See Also</H2>
98<P class="reference">
99<A href="GXInitTexObjLOD.html">GXInitTexObjLOD</A>,
100<A href="GXGetTexObjLODAll.html">GXGetTexObjLODAll</A>,
101<A href="GXTexObjInitFlow.html">GXTexObj Initialization Flow</A>
102</P>
103
104<H2>Revision History</H2>
105<P>
1062008/05/26 Corrected errors.<br>2006/03/01 Initial version.<br>
107</P>
108
109<hr><p>CONFIDENTIAL</p></body>
110</HTML>