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>GXInitTexObjData</title> 10</head> 11 12<body> 13 14<h1 align="left">GXInitTexObjData</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 GXInitTexObjData( 23<a href="../Structures/GXTexObj.html">GXTexObj</a>* obj, 24void* image_ptr );</CODE></pre> 25 </dd> 26</dl> 27 28<h2>Arguments</h2> 29<TABLE border="1" cellpadding="3" cellspacing="0.1"> 30 <tr> 31<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE><em><strong><code>obj</code></strong></em></CODE></strong></em></TD> 32<TD width="520">Pointer to a texture object</TD> 33 </tr> 34 <tr> 35<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>image_ptr</CODE></strong></em></TD> 36<TD width="520">Pointer to the texture's image data in main memory</TD> 37 </tr> 38</TABLE> 39<h2>Return Values</h2> 40 41<P>None.</P> 42<H2>Description</H2> 43<P>This function allows you to modify the image data pointer for an existing texture object. The image format and size for the new data must match when the texture object was first initialized using <code><a href="GXInitTexObj.html">GXInitTexObj</a></code> or <a href="GXInitTexObjCI.html"><code>GXInitTexObjCI</code></a>.</P> 44<h2>See Also</h2> 45 46<p><a href="GXLoadTexObj.html">GXLoadTexObj</a><br> <a href="GXInitTexObj.html">GXInitTexObj</a><br> <a href="GXInitTexObjCI.html">GXInitTexObjCI</a><br> <a href="GXGetTexObjData.html">GXGetTexObjData</a></p> 47<P><A href="GXTexObjInitFlow.html">GXTexObj Initialization Flow</A></P> 48<H2>Revision History</H2> 49<P>03/01/2006 Initial version.</P></body> 50</html>