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    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21      span.virtual_style
22      {
23        font-size			 : 8pt;
24        color				 : white;
25        font-weight			: bold;
26        background			: #0a0;
27        border-left			: solid 1px #0f0;
28        border-top			: solid 1px #0f0;
29        border-right		: solid 1px #060;
30        border-bottom		: solid 1px #060;
31        padding-left		: 2px;
32        padding-right		: 2px;
33      }
34      span.protected_style
35      {
36        font-size			 : 8pt;
37        color				 : white;
38        font-weight			: bold;
39        background			: #444;
40        border-left			: solid 1px #ccc;
41        border-top			: solid 1px #ccc;
42        border-right		: solid 1px #222;
43        border-bottom		: solid 1px #222;
44        padding-left		: 2px;
45        padding-right		: 2px;
46      }
47        --></style>
48    <title>nw::gfx::IMaterialIdGenerator</title>
49  </head>
50  <body>
51    <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/gfx/Overview.html">gfx</a>::IMaterialIdGenerator</CODE> Class</h1>
52    <h2>Syntax</h2>
53    <div class="section">
54      <pre class="definition">class IMaterialIdGenerator : public <a href="../../../nw/gfx/GfxObject/Overview.html">nw::gfx::GfxObject</a></pre>
55    </div>
56    <h2>Description</h2>
57    <div class="section">
58      <p>Interface that generates material IDs. Accept is called for each material from <a href="../../../nw/gfx/SceneInitializer/Overview.html">SceneInitializer</a>. Also, Generate is called by </a>SceneInitializer::End<a href="../../../nw/gfx/SceneInitializer/End.html">.</p>
59    </div>
60    <a name="variable" id="variable">
61      <h2>Member Variables</h2>
62      <div class="section">
63        <table class="members">
64          <tr>
65            <td width="100"> </td>
66            <th>
67              <span class="argument"><CODE>NW_UT_RUNTIME_TYPEINFO</CODE></span>
68            </th>
69            <td width="100" />
70            <td>
71        </td>
72          </tr> </table>
73      </div>
74    </a> <a name="function" id="function">
75      <h2>Member Functions</h2>
76      <div class="section">
77        <table class="members">
78          <tr>
79            <th class="category" colspan="3">Generation</th>
80          </tr>
81          <tr>
82            <td width="100"> <span class="virtual_style" title="pure-virtual">PV</span>
83            </td>
84            <th>
85              <a href="../../../nw/gfx/IMaterialIdGenerator/Generate.html"><CODE>Generate</CODE></a>
86            </th>
87            <td>Creates a material ID. This function is called by </a>SceneInitializer::End<a href="../../../nw/gfx/SceneInitializer/End.html">.</td>
88          </tr>
89          <tr>
90            <th class="category" colspan="3">Create/Destroy</th>
91          </tr>
92          <tr>
93            <td width="100">  </td>
94            <th>
95              <a href="../../../nw/gfx/GfxObject/Destroy.html"><CODE>Destroy</CODE></a>
96            </th>
97            <td>Destroys an object.(Derived from <a href="../../../nw/gfx/GfxObject/Overview.html"><CODE>GfxObject</CODE></a>.)</td>
98          </tr>
99          <tr>
100            <th class="category" colspan="3">Constructors and Destructors</th>
101          </tr>
102          <tr>
103            <td width="100">
104              <span class="protected_style" title="protected">protected</span>  </td>
105            <th>
106              <a href="../../../nw/gfx/IMaterialIdGenerator/IMaterialIdGenerator.html"><CODE>IMaterialIdGenerator</CODE></a>
107            </th>
108            <td>Constructor.</td>
109          </tr>
110          <tr>
111            <th class="category" colspan="3">Other</th>
112          </tr>
113          <tr>
114            <td width="100"> <span class="virtual_style" title="pure-virtual">PV</span>
115            </td>
116            <th>
117              <a href="../../../nw/gfx/IMaterialIdGenerator/Accept.html"><CODE>Accept</CODE></a>
118            </th>
119            <td>Gets the material. This function is called via <a href="../../../nw/gfx/SceneInitializer/Overview.html">SceneInitializer</a> Visit.</td>
120          </tr> </table>
121      </div>
122    </a>
123    <h2>Class Hierarchy</h2>
124    <div class="section">
125      <p class="hierarchy"><a href="../../../nw/gfx/GfxObject/Overview.html">nw::gfx::GfxObject</a><br />  <b>nw::gfx::IMaterialIdGenerator</b>
126      </p>
127    </div>
128  <hr><p>CONFIDENTIAL</p></body>
129</html>
130