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>GXInitTexObjWrapMode</title>
10</head>
11
12<body>
13
14<h1 align="left">GXInitTexObjWrapMode</h1>
15
16
17<h2>C Specification</h2>
18<DL>
19  <DD>
20<PRE><CODE>#include &lt;revolution/gx.h&gt;</CODE></PRE>
21
22  <DD>
23<PRE><CODE>void GXInitTexObjWrapMode(
24<a href="../Structures/GXTexObj.html">GXTexObj</a>*      obj,
25<a href="../Enumerated_Types/GXTexWrapMode.html">GXTexWrapMode</a>  wrap_s,
26<a href="../Enumerated_Types/GXTexWrapMode.html">GXTexWrapMode</a>  wrap_t );</CODE></PRE>
27
28</DL>
29<h2>Arguments</h2>
30<TABLE border="1" cellpadding="3" cellspacing="0.1">
31  <tr>
32<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE><em><strong><code>obj</code></strong></em></CODE></strong></em></TD>
33<TD width="520">Pointer to a texture object</TD>
34    </tr>
35  <tr>
36<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>wrap_s</CODE></strong></em></TD>
37<TD width="520">Describes how texture coordinates will be wrapped in the <EM>s</EM> direction. Accepted values are:
38      <TABLE border="1" width="500" cellspacing="0.1">
39
40          <tr>
41<TD width="150" bgcolor="#C0C0C0">Name</TD>
42<TD width="350" bgcolor="#C0C0C0">Wrap mode</TD>
43          </tr>
44          <tr>
45<TD width="150"><code>GX_CLAMP</code></TD>
46<TD width="350">Clamping within the bounds of the image</TD>
47          </tr>
48          <tr>
49<TD width="150"><code><font face="Courier New">GX_REPEAT</font></code></TD>
50<TD width="350">Simple repeating</TD>
51          </tr>
52          <tr>
53<TD width="150"><code>GX_MIRROR</code></TD>
54<TD width="350">Repeating with mirroring</TD>
55          </tr>
56
57      </TABLE>
58      </TD>
59    </tr>
60  <tr>
61<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>wrap_t</CODE></strong></em></TD>
62<TD width="520">Describes how texture coordinates will be wrapped in the <EM>t</EM> direction. Accepted values are:
63      <TABLE border="1" width="500" cellspacing="0.1">
64
65          <tr>
66<TD width="150" bgcolor="#C0C0C0">Name</TD>
67<TD width="350" bgcolor="#C0C0C0">Wrap mode</TD>
68          </tr>
69          <tr>
70<TD width="150"><code>GX_CLAMP</code></TD>
71<TD width="350">Clamping within the bounds of the image</TD>
72          </tr>
73          <tr>
74<TD width="150"><code><font face="Courier New">GX_REPEAT</font></code></TD>
75<TD width="350">Simple repeating</TD>
76          </tr>
77          <tr>
78<TD width="150"><code>GX_MIRROR</code></TD>
79<TD width="350">Repeating with mirroring</TD>
80          </tr>
81
82      </TABLE>
83      </TD>
84    </tr>
85</TABLE>
86<h2>Return Values</h2>
87
88<P>None.</P>
89<H2>Description</H2>
90<P>This function changes the texture coordinate wrap mode for an existing texture object.&nbsp;</P>
91<h2>See Also</h2>
92
93<p><a href="GXInitTexObj.html"><CODE>GXInitTexOb</CODE>j</a><br> <a href="GXInitTexObjCI.html"><CODE>GXInitTexObjCI</CODE></a><br> <a href="GXGetTexObjWrapS.html"><CODE>GXGetTexObjWrapS</CODE></a><br> <a href="GXGetTexObjWrapT.html"><CODE>GXGetTexObjWrapT</CODE></a></p>
94<P><A href="GXTexObjInitFlow.html"><CODE>GXTexObj</CODE> Initialization Flow</A></P>
95<H2>Revision History</H2>
96<P>03/01/2006 Initial version.</P></body>
97</html>