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::BasicRenderQueue::BasicEnqueueModelTranslucentModelBaseFunctor</title>
49  </head>
50  <body>
51    <h1><CODE><a href="../../../../nw/Overview.html">nw</a>::<a href="../../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../../nw/gfx/BasicRenderQueue/Overview.html">BasicRenderQueue</a>::BasicEnqueueModelTranslucentModelBaseFunctor</CODE> Structure</h1>
52    <h2>Syntax</h2>
53    <div class="section">
54      <pre class="definition">template &lt;typename ModelType, typename CalculateDepth, typename IsCalculating&gt;
55struct BasicEnqueueModelTranslucentModelBaseFunctor
56{
57   CalculateDepth calculateDepth;
58   <a href="../../../../nw/gfx/BasicRenderQueue/Overview.html">BasicRenderQueue</a> * renderQueue;
59   float modelDepth;
60   <span>u8</span> layerId;
61};
62</pre>
63    </div>
64    <h2>Description</h2>
65    <div class="section">
66      <p>Functor for adding models to the render queue.</p><p>Creates keys for translucent mesh depth in model units.</p></div>
67    <a name="constant" id="constant">
68      <h2>Member Constants</h2>
69      <div class="section">
70        <table class="members">
71          <tr>
72            <td width="100"> </td>
73            <th>
74              <span class="argument">camera</span>
75            </th>
76            <td width="100">const <a href="../../../../nw/gfx/Camera/Overview.html">Camera</a> &</td>
77            <td>
78        </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">calculateDepth</span>
89            </th>
90            <td width="100"><CODE>CalculateDepth</CODE></td>
91            <td>
92        </td>
93          </tr>
94          <tr>
95            <td width="100"> </td>
96            <th>
97              <span class="argument"><CODE>renderQueue</CODE></span>
98            </th>
99            <td width="100"><a href="../../../../nw/gfx/BasicRenderQueue/Overview.html">BasicRenderQueue</a> *</td>
100            <td>
101        </td>
102          </tr>
103          <tr>
104            <td width="100"> </td>
105            <th>
106              <span class="argument">modelDepth</span>
107            </th>
108            <td width="100">float</td>
109            <td>
110        </td>
111          </tr>
112          <tr>
113            <td width="100"> </td>
114            <th>
115              <span class="argument"><CODE>layerId</CODE></span>
116            </th>
117            <td width="100"><span>u8</span></td>
118            <td>
119        </td>
120          </tr> </table>
121      </div>
122    </a> <a name="function" id="function">
123      <h2>Member Functions</h2>
124      <div class="section">
125        <table class="members">
126          <tr>
127            <td width="100">  </td>
128            <th>
129              <a href="../../../../nw/gfx/BasicRenderQueue/BasicEnqueueModelTranslucentModelBaseFunctor/BasicEnqueueModelTranslucentModelBaseFunctor.html">BasicEnqueueModelTranslucentModelBaseFunctor</a>
130            </th>
131            <td>
132        </td>
133          </tr>
134          <tr>
135            <td width="100">  </td>
136            <th>
137              <a href="../../../../nw/gfx/BasicRenderQueue/BasicEnqueueModelTranslucentModelBaseFunctor/operator().html"><CODE>operator()</CODE></a>
138            </th>
139            <td>
140        </td>
141          </tr> </table>
142      </div>
143    </a>
144  <hr><p>CONFIDENTIAL</p></body>
145</html>
146