1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <title>ReserveMem</title>
8  </head>
9  <body>
10    <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/lyt/Overview.html">lyt</a>::<a href="../../../nw/lyt/Material/Overview.html">Material</a>::ReserveMem</CODE> Member Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14void ReserveMem(
15     <span>u8</span> texMapNum,
16     <span>u8</span> texSRTNum,
17     <span>u8</span> texCoordGenNum,
18     <span>u8</span> tevStageNum = 0,
19     bool    allocAlpComp        = false,
20     bool    allocBlendMode      = false
21);
22</pre>
23    </div>
24    <h2>Arguments</h2>
25    <div class="section">
26      <table class="arguments">
27        <thead>
28          <tr>
29            <td width="15" />
30            <th>Name</th>
31            <td>Description</td>
32          </tr>
33        </thead>
34        <tr>
35          <td />
36          <th>texMapNum</th>
37          <td>The number of textures that can be stored.</td>
38        </tr>
39        <tr>
40          <td />
41          <th>texSRTNum</th>
42          <td>The number of texture SRT conversion matrices that can be stored.</td>
43        </tr>
44        <tr>
45          <td />
46          <th>texCoordGenNum</th>
47          <td>The number of texture coordinate generations that can be stored.</td>
48        </tr>
49        <tr>
50          <td />
51          <th>tevStageNum</th>
52          <td>The number of TEV stages that can be stored.</td>
53        </tr>
54        <tr>
55          <td />
56          <th>allocAlpComp</th>
57          <td>Specify true to allocate memory for alpha compare settings.</td>
58        </tr>
59        <tr>
60          <td />
61          <th>allocBlendMode</th>
62          <td>Specify true to allocate memory for blend mode settings.</td>
63        </tr> </table>
64    </div>
65    <h2>Return Values</h2>
66    <div class="section">
67                None.
68               </div>
69    <h2>Description</h2>
70    <div class="section">
71      <p>Allocates the region that holds the material settings.</p>
72    </div>
73    <h2>Revision History</h2>
74    <div class="section">
75      <dl class="history">
76        <dt>2009/09/18</dt>
77        <dd>Initial version.<br />
78        </dd>
79      </dl>
80    </div>
81  <hr><p>CONFIDENTIAL</p></body>
82</html>
83