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<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/gx.h&gt;
19
20void GXInitTexObjData(
21    <a href="../Structures/GXTexObj.html">GXTexObj</a>*      obj,
22    void*          image_ptr );
23</pre></dd></dl>
24
25<h2>Arguments</h2>
26<TABLE class="arguments" border="1" >
27  <tr>
28<TH>obj</TH>
29<TD>Pointer to a texture object.</TD>
30  </tr>
31  <tr>
32<TH>image_ptr</TH>
33<TD>Pointer to the texture's image data in main memory.</TD>
34  </tr>
35</TABLE>
36
37<h2>Return Values</h2>
38<P>None.</P>
39
40<H2>Description</H2>
41<P>This function allows you to modify the image data pointer for an existing texture object.&nbsp;The image format and size for the new data must match those the texture had when it was first initialized using the <A href="GXInitTexObj.html"><CODE>GXInitTexObj</CODE></A> or <A href="GXInitTexObjCI.html"><CODE>GXInitTexObjCI</CODE></A> function.</P>
42
43<h2>See Also</h2>
44<p class="reference">
45<a href="GXLoadTexObj.html">GXLoadTexObj</a>,
46<a href="GXInitTexObj.html">GXInitTexObj</a>,
47<a href="GXInitTexObjCI.html">GXInitTexObjCI</a>,
48<a href="GXGetTexObjData.html">GXGetTexObjData</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>