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
22      span.virtual_style
23      {
24        font-size			 : 8pt;
25        color				 : white;
26        font-weight			: bold;
27        background			: #0a0;
28        border-left			: solid 1px #0f0;
29        border-top			: solid 1px #0f0;
30        border-right		: solid 1px #060;
31        border-bottom		: solid 1px #060;
32        padding-left		: 2px;
33        padding-right		: 2px;
34      }
35
36      span.protected_style
37      {
38        font-size			 : 8pt;
39        color				 : white;
40        font-weight			: bold;
41        background			: #444;
42        border-left			: solid 1px #ccc;
43        border-top			: solid 1px #ccc;
44        border-right		: solid 1px #222;
45        border-bottom		: solid 1px #222;
46        padding-left		: 2px;
47        padding-right		: 2px;
48      }
49        --></style>
50    <title>nw::gfx::res::ResPrimitive</title>
51  </head>
52  <body>
53    <h1>nw::gfx::res::ResPrimitive Class</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">class ResPrimitive : public <a href="../../../../nw/ut/ResCommon/Overview.html">nw::ut::ResCommon&lt; ResPrimitiveData &gt;</a></pre>
57    </div>
58    <h2>Description</h2>
59    <div class="section">
60      <p>Binary resource class that represents a single primitive that forms a shape.</p>
61    </div>
62    <a name="function" id="function">
63      <h2>Member Functions</h2>
64      <div class="section">
65        <table class="members">
66          <tr>
67            <td width="100">  </td>
68            <th>
69              <a href="../../../../nw/gfx/res/ResPrimitive/ResPrimitive.html">ResPrimitive</a>
70            </th>
71            <td>Constructor.</td>
72          </tr>
73          <tr>
74            <td width="100">  </td>
75            <th>
76              <a href="../../../../nw/gfx/res/ResPrimitive/ref.html">ref</a>
77            </th>
78            <td>
79        </td>
80          </tr>
81          <tr>
82            <td width="100">  </td>
83            <th>
84              <a href="../../../../nw/gfx/res/ResPrimitive/operator==.html"><CODE>operator ==</CODE></a>
85            </th>
86            <td>
87        </td>
88          </tr>
89          <tr>
90            <td width="100">  </td>
91            <th>
92              <a href="../../../../nw/gfx/res/ResPrimitive/operator!=.html"><CODE>operator !=</CODE></a>
93            </th>
94            <td>
95        </td>
96          </tr>
97          <tr>
98            <td width="100">  </td>
99            <th>
100              <a href="../../../../nw/gfx/res/ResPrimitive/GetIndexStreamsCount.html">GetIndexStreamsCount</a>
101            </th>
102            <td>Gets the number of vertex index streams.</td>
103          </tr>
104          <tr>
105            <td width="100">  </td>
106            <th>
107              <a href="../../../../nw/gfx/res/ResPrimitive/GetIndexStreams.html">GetIndexStreams</a>
108            </th>
109            <td>Gets vertex index streams.</td>
110          </tr>
111          <tr>
112            <td width="100">  </td>
113            <th>
114              <a href="../../../../nw/gfx/res/ResPrimitive/GetBufferObjectsCount.html">GetBufferObjectsCount</a>
115            </th>
116            <td>Gets the number of instances of buffer objects.</td>
117          </tr>
118          <tr>
119            <td width="100">  </td>
120            <th>
121              <a href="../../../../nw/gfx/res/ResPrimitive/GetBufferObjects.html">GetBufferObjects</a>
122            </th>
123            <td>Gets a buffer object.</td>
124          </tr>
125          <tr>
126            <td width="100">  </td>
127            <th>
128              <a href="../../../../nw/gfx/res/ResPrimitive/SetBufferObjects.html">SetBufferObjects</a>
129            </th>
130            <td>Sets an item in the buffer object list.</td>
131          </tr>
132          <tr>
133            <td width="100">  </td>
134            <th>
135              <a href="../../../../nw/gfx/res/ResPrimitive/Setup.html">Setup</a>
136            </th>
137            <td>Initializes a resource.</td>
138          </tr>
139          <tr>
140            <td width="100">  </td>
141            <th>
142              <a href="../../../../nw/gfx/res/ResPrimitive/Cleanup.html"><CODE>Cleanup</CODE></a>
143            </th>
144            <td>Prepares to free a resource.</td>
145          </tr>
146          <tr>
147            <td width="100">  </td>
148            <th>
149              <a href="../../../../nw/ut/ResCommon/ptr.html">ptr</a>
150            </th>
151            <td>Returns a pointer to a binary resource structure. (Inherited from <CODE><a href="../../../../nw/ut/ResCommon/Overview.html">ResCommon</a></CODE>)</td>
152          </tr>
153          <tr>
154            <td width="100">  </td>
155            <th>
156              <a href="../../../../nw/ut/ResCommonBase/IsValid.html"><CODE>IsValid</CODE></a>
157            </th>
158            <td>Determines whether a pointer to a resource is <CODE>null</CODE>.(Inherited from <CODE><a href="../../../../nw/ut/ResCommonBase/Overview.html">ResCommonBase</a></CODE>.</td>
159          </tr>
160          <tr>
161            <td width="100">
162              <span class="static_style" title="static">S</span> </td>
163            <th>
164              <a href="../../../../nw/gfx/res/ResPrimitive/GetClassName.html">GetClassName</a>
165            </th>
166            <td>
167        </td>
168          </tr> </table>
169      </div>
170    </a>
171    <h2>Class Hierarchy</h2>
172    <div class="section">
173      <p class="hierarchy"><a href="../../../../nw/ut/ResCommonBase/Overview.html">nw::ut::ResCommonBase</a><br />  <a href="../../../../nw/ut/ResCommon/Overview.html">nw::ut::ResCommon</a><br />    <b>nw::gfx::res::ResPrimitive</b>
174      </p>
175    </div>
176  <hr><p>CONFIDENTIAL</p></body>
177</html>