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><CODE><a href="../../../../nw/Overview.html">nw</a>::<a href="../../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../../nw/gfx/res/Overview.html">res</a>::ResPrimitive</CODE> 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="enum" id="enum">
63      <h2>Enumerated Types</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/Flag.html">Flag</a>
70            </th>
71            <td>
72        </td>
73          </tr> </table>
74      </div>
75    </a> <a name="function" id="function">
76      <h2>Member Functions</h2>
77      <div class="section">
78        <table class="members">
79          <tr>
80            <td width="100">  </td>
81            <th>
82              <a href="../../../../nw/gfx/res/ResPrimitive/ResPrimitive.html">ResPrimitive</a>
83            </th>
84            <td>Constructor.</td>
85          </tr>
86          <tr>
87            <td width="100">  </td>
88            <th>
89              <a href="../../../../nw/gfx/res/ResPrimitive/ref.html"><CODE>ref</CODE></a>
90            </th>
91            <td>
92        </td>
93          </tr>
94          <tr>
95            <td width="100">  </td>
96            <th>
97              <a href="../../../../nw/gfx/res/ResPrimitive/operator==.html"><CODE>operator ==</CODE></a>
98            </th>
99            <td>
100        </td>
101          </tr>
102          <tr>
103            <td width="100">  </td>
104            <th>
105              <a href="../../../../nw/gfx/res/ResPrimitive/operator!=.html"><CODE>operator!=</CODE></a>
106            </th>
107            <td>
108        </td>
109          </tr>
110          <tr>
111            <td width="100">  </td>
112            <th>
113              <a href="../../../../nw/gfx/res/ResPrimitive/GetIndexStreamsCount.html">GetIndexStreamsCount</a>
114            </th>
115            <td>Gets the number of vertex index streams.</td>
116          </tr>
117          <tr>
118            <td width="100">  </td>
119            <th>
120              <a href="../../../../nw/gfx/res/ResPrimitive/GetIndexStreams.html">GetIndexStreams</a>
121            </th>
122            <td>Gets vertex index streams.</td>
123          </tr>
124          <tr>
125            <td width="100">  </td>
126            <th>
127              <a href="../../../../nw/gfx/res/ResPrimitive/GetBufferObjectsCount.html">GetBufferObjectsCount</a>
128            </th>
129            <td>Gets the number of instances of buffer objects.</td>
130          </tr>
131          <tr>
132            <td width="100">  </td>
133            <th>
134              <a href="../../../../nw/gfx/res/ResPrimitive/GetBufferObjects.html">GetBufferObjects</a>
135            </th>
136            <td>Gets a buffer object.</td>
137          </tr>
138          <tr>
139            <td width="100">  </td>
140            <th>
141              <a href="../../../../nw/gfx/res/ResPrimitive/SetBufferObjects.html">SetBufferObjects</a>
142            </th>
143            <td>Sets an item in the buffer object list.</td>
144          </tr>
145          <tr>
146            <td width="100">  </td>
147            <th>
148              <a href="../../../../nw/gfx/res/ResPrimitive/GetFlags.html"><CODE>GetFlags</CODE></a>
149            </th>
150            <td>Gets the flag value.</td>
151          </tr>
152          <tr>
153            <td width="100">  </td>
154            <th>
155              <a href="../../../../nw/gfx/res/ResPrimitive/SetFlags.html"><CODE>SetFlags</CODE></a>
156            </th>
157            <td>Sets flag value. Unset flags are disabled.</td>
158          </tr>
159          <tr>
160            <td width="100">  </td>
161            <th>
162              <a href="../../../../nw/gfx/res/ResPrimitive/EnableFlags.html"><CODE>EnableFlags</CODE></a>
163            </th>
164            <td>Enables the flag value that has been set. Unset flags are not changed.</td>
165          </tr>
166          <tr>
167            <td width="100">  </td>
168            <th>
169              <a href="../../../../nw/gfx/res/ResPrimitive/DisableFlags.html"><CODE>DisableFlags</CODE></a>
170            </th>
171            <td>Disables the flag value that has been set. Unset flags are not changed.</td>
172          </tr>
173          <tr>
174            <td width="100">  </td>
175            <th>
176              <a href="../../../../nw/gfx/res/ResPrimitive/Setup.html">Setup</a>
177            </th>
178            <td>Initializes a resource.</td>
179          </tr>
180          <tr>
181            <td width="100">  </td>
182            <th>
183              <a href="../../../../nw/gfx/res/ResPrimitive/Cleanup.html"><CODE>Cleanup</CODE></a>
184            </th>
185            <td>Prepares to free a resource.</td>
186          </tr>
187          <tr>
188            <td width="100">  </td>
189            <th>
190              <a href="../../../../nw/ut/ResCommon/ptr.html">ptr</a>
191            </th>
192            <td>Returns a pointer to a binary resource structure. (Derived from <CODE><a href="../../../../nw/ut/ResCommon/Overview.html">ResCommon</a></CODE>)</td>
193          </tr>
194          <tr>
195            <td width="100">  </td>
196            <th>
197              <a href="../../../../nw/ut/ResCommonBase/IsValid.html"><CODE>IsValid</CODE></a>
198            </th>
199            <td>Determines whether a pointer to a resource is <CODE>null</CODE>.(Derived from <CODE><a href="../../../../nw/ut/ResCommonBase/Overview.html">ResCommonBase</a></CODE>.)</td>
200          </tr>
201          <tr>
202            <td width="100">
203              <span class="static_style" title="static">S</span> </td>
204            <th>
205              <a href="../../../../nw/gfx/res/ResPrimitive/GetClassName.html"><CODE>GetClassName</CODE></a>
206            </th>
207            <td>
208        </td>
209          </tr> </table>
210      </div>
211    </a>
212    <h2>Class Hierarchy</h2>
213    <div class="section">
214      <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>
215      </p>
216    </div>
217  <hr><p>CONFIDENTIAL</p></body>
218</html>