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::SortingMaterialIdGenerator</title>
49  </head>
50  <body>
51    <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/gfx/Overview.html">gfx</a>::SortingMaterialIdGenerator</CODE> Class</h1>
52    <h2>Syntax</h2>
53    <div class="section">
54      <pre class="definition">class SortingMaterialIdGenerator : public <a href="../../../nw/gfx/IMaterialIdGenerator/Overview.html">nw::gfx::IMaterialIdGenerator</a></pre>
55    </div>
56    <h2>Description</h2>
57    <div class="section">
58      <p>Class for creating material IDs from the results of sorting.</p><p>Material IDs are created according the order of priority given below. Binary comparison &gt; Shader comparison &gt; Lookup table comparison</p></div>
59    <a name="class" id="class">
60      <h2>Classes</h2>
61      <div class="section">
62        <table class="members">
63          <tr>
64            <th>
65              <a href="../../../nw/gfx/SortingMaterialIdGenerator/Builder/Overview.html">nw::gfx::SortingMaterialIdGenerator::Builder</a>
66            </th>
67            <td>Class for building classes to generate material IDs from a ResMaterial binary resource pointer.</td>
68          </tr> </table>
69      </div>
70    </a> <a name="struct" id="struct">
71      <h2>Structures</h2>
72      <div class="section">
73        <table class="members">
74          <tr>
75            <th>
76              <a href="../../../nw/gfx/SortingMaterialIdGenerator/Description/Overview.html">nw::gfx::SortingMaterialIdGenerator::Description</a>
77            </th>
78            <td>Content to configure.</td>
79          </tr> </table>
80      </div>
81    </a> <a name="variable" id="variable">
82      <h2>Member Variables</h2>
83      <div class="section">
84        <table class="members">
85          <tr>
86            <td width="100"> </td>
87            <th>
88              <span class="argument"><CODE>NW_UT_RUNTIME_TYPEINFO</CODE></span>
89            </th>
90            <td width="100" />
91            <td>
92        </td>
93          </tr> </table>
94      </div>
95    </a> <a name="function" id="function">
96      <h2>Member Functions</h2>
97      <div class="section">
98        <table class="members">
99          <tr>
100            <th class="category" colspan="3">Constructors and Destructors</th>
101          </tr>
102          <tr>
103            <td width="100">  </td>
104            <th>
105              <a href="../../../nw/gfx/SortingMaterialIdGenerator/SortingMaterialIdGenerator.html">SortingMaterialIdGenerator</a>
106            </th>
107            <td>Constructor.</td>
108          </tr>
109          <tr>
110            <th class="category" colspan="3">Generation</th>
111          </tr>
112          <tr>
113            <td width="100"> <span class="virtual_style" title="virtual">V</span>
114            </td>
115            <th>
116              <a href="../../../nw/gfx/SortingMaterialIdGenerator/Accept.html"><CODE>Accept</CODE></a>
117            </th>
118            <td>Gets the material. The material is added to an array.</td>
119          </tr>
120          <tr>
121            <td width="100"> <span class="virtual_style" title="virtual">V</span>
122            </td>
123            <th>
124              <a href="../../../nw/gfx/SortingMaterialIdGenerator/Generate.html"><CODE>Generate</CODE></a>
125            </th>
126            <td>Creates a material ID.</td>
127          </tr>
128          <tr>
129            <th class="category" colspan="3">Create/Destroy</th>
130          </tr>
131          <tr>
132            <td width="100">  </td>
133            <th>
134              <a href="../../../nw/gfx/GfxObject/Destroy.html"><CODE>Destroy</CODE></a>
135            </th>
136            <td>Destroys an object.(Derived from <a href="../../../nw/gfx/GfxObject/Overview.html"><CODE>GfxObject</CODE></a>.)</td>
137          </tr> </table>
138      </div>
139    </a>
140    <h2>Class Hierarchy</h2>
141    <div class="section">
142      <p class="hierarchy"><a href="../../../nw/gfx/GfxObject/Overview.html">nw::gfx::GfxObject</a><br />  <a href="../../../nw/gfx/IMaterialIdGenerator/Overview.html">nw::gfx::IMaterialIdGenerator</a><br />    <b>nw::gfx::SortingMaterialIdGenerator</b>
143      </p>
144    </div>
145  <hr><p>CONFIDENTIAL</p></body>
146</html>
147