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>GXGetTexObjUserData</title> 10</head> 11 12<body> 13 14<h1 align="left">GXGetTexObjUserData</h1> 15 16 17<h2>C Specification</h2> 18 19<dl> 20<dd><pre><CODE>#include <revolution/gx.h></CODE></pre> 21 </dd> 22<dd><pre><CODE>void *GXGetTexObjUserData( const <a href="../Structures/GXTexObj.html">GXTexObj</a>* obj );</CODE></pre> 23 </dd> 24</dl> 25 26<h2>Arguments</h2> 27<TABLE border="1" cellpadding="3" cellspacing="0.1"> 28 <tr> 29<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE><em><strong><code>obj</code></strong></em></CODE></strong></em></TD> 30<TD width="520">Pointer to a texture object</TD> 31 </tr> 32</TABLE> 33<h2>Return Values</h2> 34 35<p>Pointer to user data.</p> 36<H2>Description</H2> 37<P>This function gets a pointer to user data from the <a href="../Structures/GXTexObj.html"><code>GXTexObj</code></a> structure. This pointer is set using <a href="GXInitTexObjUserData.html"><code>GXInitTexObjUserData</code></a>. Use this mechanism to attach private data structures to the texture object.</P> 38 39<h2>See Also</h2> 40 41<p><a href="GXInitTexObjCI.html">GXInitTexObjCI</a><br> <a href="GXInitTexObjLOD.html">GXInitTexObjLOD</a><br> <a href="GXLoadTexObj.html">GXLoadTexObj</a><br> <a href="../Texture/GXSetTexRegionCallback.html">GXSetTexRegionCallBack</a></p> 42<H2>Revision History</H2> 43<P>03/01/2006 Initial version.</P> 44</BODY> 45</HTML>