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>GXInitTexObjUserData</title>
10</head>
11
12<body>
13
14<h1 align="left">GXInitTexObjUserData</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/gx.h&gt;
19
20void GXInitTexObjUserData(
21    <a href="../Structures/GXTexObj.html">GXTexObj</a>*     obj,
22    void*         user_data );
23</pre></dd></dl>
24
25<h2>Arguments</h2>
26<TABLE class="arguments" border="1" >
27  <tr>
28<TH><em><strong><code>obj</code></strong></em></TH>
29<TD>Pointer to a texture object.</TD>
30  </tr>
31  <tr>
32<TH>user_data</TH>
33<TD>Pointer to user data</TD>
34  </tr>
35</TABLE>
36
37<h2>Return Values</h2>
38<p>None.</p>
39
40<h2>Description</h2>
41<P>This function sets a pointer to user data in the <A href="../Structures/GXTexObj.html"><CODE>GXTexObj</CODE></A> structure. This pointer can be retrieved using the <A href="GXGetTexObjUserData.html"><CODE>GXGetTexObjUserData</CODE></A> function. Use this mechanism to attach private data structures to the texture object.</P>
42
43<h2>See Also</h2>
44<p class="reference">
45<a href="GXInitTexObjCI.html">GXInitTexObjCI</a>,
46<a href="GXInitTexObjLOD.html">GXInitTexObjLOD</a>,
47<a href="GXLoadTexObj.html">GXLoadTexObj</a>,
48<A href="GXSetTexRegionCallback.html">GXSetTexRegionCallBack</A>,
49<A href="GXTexObjInitFlow.html">GXTexObj Initialization Flow</A>
50</P>
51
52<H2>Revision History</H2>
53<P>
542006/03/01 Initial version.<br>
55</P>
56
57<hr><p>CONFIDENTIAL</p></body>
58</HTML>