1<html>
2
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
6<meta name="ProgId" content="FrontPage.Editor.Document">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8
9<title>G2DinitSprite</title>
10</head>
11
12<body>
13
14<h1>G2DinitSprite</h1>
15
16<hr>
17
18<h2>C Specification</h2>
19
20<p>
21<dl>
22<dd><pre><code>#include &lt;revolution/include/G2D.h&gt;</code></pre>
23  </dd>
24<dd><pre><code>void G2DInitSprite( G2DSprite* sprite );
25</code></pre>
26  </dd>
27</dl>
28
29<h2>Description</h2>
30
31<p>The <code>G2DInitSprite</code> function sets texture coordinates before rendering a sprite.</p>
32
33<h2>Arguments</h2>
34
35<table width="100%">
36  <tr>
37<td> <code><i><b><STRONG><EM><CODE>sprite</CODE></EM></STRONG></b></i></code></td>
38<td> Pointer to the <CODE>G2DSprite</CODE> structure.</td>
39  </tr>
40  </table>
41
42<h2>Return Values</h2>
43
44None.
45<h2>See Also</h2>
46
47<h2>Revision History</h2>
48
49<P>03/01/2006 Initial version.</p>
50
51</body>
52</html>