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<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/gx.h> 19 20void GXInitTexObjWrapMode( 21 <A href="../Structures/GXTexObj.html">GXTexObj</A>* obj, 22 <A href="../Enumerated_Types/GXTexWrapMode.html">GXTexWrapMode</A> wrap_s, 23 <A href="../Enumerated_Types/GXTexWrapMode.html">GXTexWrapMode</A> wrap_t ); 24</pre></dd></dl> 25 26<h2>Arguments</h2> 27<TABLE class="arguments" border="1" > 28 <tr> 29<TH><em><strong><code>obj</code></strong></em></TH> 30<TD>Pointer to a texture object.</TD> 31 </tr> 32 <tr> 33<TH><STRONG><EM><CODE>wrap_s</CODE></EM></STRONG></TH> 34<TD>Describes how texture coordinates will be wrapped in the <EM>s</EM> direction. Accepted values are:<BR> 35 <TABLE class="arguments" border="1" > 36 <tr> 37<TD bgcolor="#C0C0C0">Name</TD> 38<TD bgcolor="#C0C0C0">Wrap Mode</TD> 39 </tr> 40 <tr> 41<TH>GX_CLAMP</TH> 42<TD>Clamping within the bounds of the image</TD> 43 </tr> 44 <tr> 45<TH>GX_REPEAT</TH> 46<TD>Simple repeating</TD> 47 </tr> 48 <tr> 49<TH>GX_MIRROR</TH> 50<TD>Repeating with mirroring</TD> 51 </tr> 52 </TABLE> 53 </TD> 54 </tr> 55 <tr> 56<TH><STRONG><EM><CODE>wrap_t</CODE></EM></STRONG></TH> 57<TD>Describes how texture coordinates will be wrapped in the <EM>t</EM> direction. Accepted values are:<BR> 58 <TABLE class="arguments" border="1" > 59 <tr> 60<TD bgcolor="#C0C0C0">Name</TD> 61<TD bgcolor="#C0C0C0">Wrap Mode</TD> 62 </tr> 63 <tr> 64<TH>GX_CLAMP</TH> 65<TD>Clamping within the bounds of the image</TD> 66 </tr> 67 <tr> 68<TH>GX_REPEAT</TH> 69<TD>Simple repeating</TD> 70 </tr> 71 <tr> 72<TH>GX_MIRROR</TH> 73<TD>Repeating with mirroring</TD> 74 </tr> 75 </TABLE> 76 </TD> 77 </tr> 78</TABLE> 79 80<h2>Return Values</h2> 81<P>None.</P> 82 83<H2>Description</H2> 84<P>This function allows one to modify the texture coordinate wrap mode for an existing texture object. </P> 85 86<h2>See Also</h2> 87<p class="reference"> 88<a href="GXInitTexObj.html">GXInitTexObj</a>, 89<a href="GXInitTexObjCI.html">GXInitTexObjCI</a>, 90<a href="GXGetTexObjWrapS.html">GXGetTexObjWrapS</a>, 91<a href="GXGetTexObjWrapT.html">GXGetTexObjWrapT</a>, 92<A href="GXTexObjInitFlow.html">GXTexObj Initialization Flow</A> 93</P> 94 95<H2>Revision History</H2> 96<P> 972006/03/01 Initial version.<br> 98</P> 99 100<hr><p>CONFIDENTIAL</p></body> 101</html>