root/OpenSceneGraph/trunk/doc/doc++/osgUtil/RenderStage.html @ 3315

Revision 3315, 23.0 kB (checked in by robert, 10 years ago)

Updated docs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
3<HTML>
4<HEAD>
5   <TITLE>class  OSGUTIL_EXPORT osgUtil::RenderStage</TITLE>
6   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
7</HEAD>
8<BODY BGCOLOR="#ffffff">
9
10<H2>class  OSGUTIL_EXPORT <A HREF="#DOC.DOCU">osgUtil::RenderStage</A></H2></H2><BLOCKQUOTE> RenderState base class.</BLOCKQUOTE>
11<HR>
12
13<H2>Inheritance:</H2>
14<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
15<param name=classes value="Mosg::Object,M,CRenderBin,MRenderBin.html,CRenderStage,MRenderStage.html,CRenderToTextureStage,MRenderToTextureStage.html">
16<param name=before value="M,M,M,M^_">
17<param name=after value="Md_SP,Md_,M,M">
18<param name=indent value="0,1,2,2">
19<param name=arrowdir value="down">
20</APPLET>
21<HR>
22
23<DL>
24<P><DL>
25<DT><H3>Public Methods</H3><DD><DT>
26<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.18.1">RenderStage</A></B>(<!1><A HREF="RenderBin.html#DOC.2.13.8">SortMode</A> mode=<!1><A HREF="RenderBin.html#DOC.2.13.8.1">SORT_BY_STATE</A>)
27<DT>
28<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.18.2">RenderStage</A></B>(const <!1><A HREF="RenderStage.html#DOC.2.18.2">RenderStage</A>&amp; rhs, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)
29<DT>
30<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   osg::Object* <B><A HREF="#DOC.2.18.3">cloneType</A></B>() const
31<DT>
32<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   osg::Object* <B><A HREF="#DOC.2.18.4">clone</A></B>(const osg::CopyOp&amp; copyop) const
33<DT>
34<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   bool <B><A HREF="#DOC.2.18.5">isSameKindAs</A></B>(const osg::Object* obj) const
35<DT>
36<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   const char* <B><A HREF="#DOC.2.18.6">className</A></B>() const
37<DT>
38<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.2.18.7">reset</A></B>()
39<DT>
40<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.18.8">setViewport</A></B>(osg::Viewport* viewport)
41<DD><I>Set the viewport</I>
42<DT>
43<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Viewport* <B><A HREF="#DOC.2.18.9">getViewport</A></B>() const
44<DD><I>Get the const viewport.</I>
45<DT>
46<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Viewport* <B><A HREF="#DOC.2.18.10">getViewport</A></B>()
47<DD><I>Get the viewport.</I>
48<DT>
49<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.18.11">setClearMask</A></B>(GLbitfield mask)
50<DD><I>Set the clear mask used in glClear().</I>
51<DT>
52<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLbitfield <B><A HREF="#DOC.2.18.12">getClearMask</A></B>() const
53<DD><I>Get the clear mask</I>
54<DT>
55<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.18.13">setColorMask</A></B>(osg::ColorMask* cm)
56<DT>
57<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ColorMask* <B><A HREF="#DOC.2.18.14">getColorMask</A></B>()
58<DT>
59<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::ColorMask* <B><A HREF="#DOC.2.18.15">getColorMask</A></B>() const
60<DT>
61<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.18.16">setClearColor</A></B>(const osg::Vec4&amp; color)
62<DD><I>Set the clear color used in glClearColor().</I>
63<DT>
64<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Vec4&amp; <B><A HREF="#DOC.2.18.17">getClearColor</A></B>() const
65<DD><I>Get the clear color</I>
66<DT>
67<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.18.18">setClearAccum</A></B>(const osg::Vec4&amp; color)
68<DD><I>Set the clear accum used in glClearAccum().</I>
69<DT>
70<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Vec4&amp; <B><A HREF="#DOC.2.18.19">getClearAccum</A></B>() const
71<DD><I>Get the clear accum</I>
72<DT>
73<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.18.20">setClearDepth</A></B>(double <!1><A HREF="Statistics.html#DOC.2.24.32">depth</A>)
74<DD><I>Set the clear depth used in glClearDepth().</I>
75<DT>
76<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.18.21">getClearDepth</A></B>() const
77<DD><I>Get the clear depth</I>
78<DT>
79<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.18.22">setClearStencil</A></B>(int stencil)
80<DD><I>Set the clear stencil value used in glClearStencil().</I>
81<DT>
82<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.18.23">getClearStencil</A></B>() const
83<DD><I>Get the clear color</I>
84<DT>
85<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.18.24">setRenderStageLighting</A></B>(<!1><A HREF="RenderStageLighting.html">RenderStageLighting</A>* rsl)
86<DT>
87<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderStageLighting.html">RenderStageLighting</A>* <B><A HREF="#DOC.2.18.25">getRenderStageLighting</A></B>() const
88<DT>
89<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.2.18.26">addPositionedAttribute</A></B>(osg::RefMatrix* matrix, const osg::StateAttribute* attr)
90<DT>
91<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.2.18.27">addPositionedTextureAttribute</A></B>(unsigned int textureUnit, osg::RefMatrix* matrix, const osg::StateAttribute* attr)
92<DT>
93<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.2.18.28">drawPreRenderStages</A></B>(osg::State&amp; state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*&amp; previous)
94<DT>
95<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.2.18.29">draw</A></B>(osg::State&amp; state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*&amp; previous)
96<DT>
97<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.2.18.30">drawImplementation</A></B>(osg::State&amp; state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*&amp; previous)
98<DT>
99<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.18.31">addToDependencyList</A></B>(<!1><A HREF="RenderStage.html">RenderStage</A>* rs)
100<DT>
101<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.18.32">getStats</A></B>(<!1><A HREF="Statistics.html">Statistics</A>* primStats)
102<DD><I>extract stats for current draw list.</I>
103</DL></P>
104
105<P><DL>
106<DT><H3>Protected Fields</H3><DD><DT>
107<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.18.35">_stageDrawnThisFrame</A></B>
108<DT>
109<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderStage.html#DOC.2.18.34">DependencyList</A> <B><A HREF="#DOC.2.18.36">_dependencyList</A></B>
110<DT>
111<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;osg::Viewport&gt;  <B><A HREF="#DOC.2.18.37">_viewport</A></B>
112<DT>
113<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLbitfield <B><A HREF="#DOC.2.18.38">_clearMask</A></B>
114<DT>
115<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;osg::ColorMask&gt;  <B><A HREF="#DOC.2.18.39">_colorMask</A></B>
116<DT>
117<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec4 <B><A HREF="#DOC.2.18.40">_clearColor</A></B>
118<DT>
119<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec4 <B><A HREF="#DOC.2.18.41">_clearAccum</A></B>
120<DT>
121<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.18.42">_clearDepth</A></B>
122<DT>
123<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.18.43">_clearStencil</A></B>
124<DT>
125<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>mutable osg::ref_ptr&lt;<!1><A HREF="RenderStageLighting.html">RenderStageLighting</A>&gt;  <B><A HREF="#DOC.2.18.44">_renderStageLighting</A></B>
126</DL></P>
127
128<P><DL>
129<DT><H3>Protected Methods</H3><DD><DT>
130<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   <B><A HREF="#DOC.2.18.33">~RenderStage</A></B>()
131</DL></P>
132
133<P><DL>
134<DT><H3>Protected</H3><DD><DT>
135<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef  std::vector&lt; osg::ref_ptr&lt;<!1><A HREF="RenderStage.html">RenderStage</A>&gt; &gt;  <B><A HREF="#DOC.2.18.34">DependencyList</A></B>
136</DL></P>
137
138</DL>
139<HR><H3>Inherited from <A HREF="RenderBin.html">RenderBin</A>:</H3>
140<DL>
141<P><DL>
142<DT><H3>Public Classes</H3><DD><DT>
143<IMG ALT="o" SRC=icon2.gif>enum  <B>SortMode</B>
144<DT>
145<IMG ALT="o" SRC=icon2.gif>struct  <B>SortCallback</B>: public osg::Referenced
146<DT>
147<IMG ALT="o" SRC=icon2.gif>struct  <B>DrawCallback</B>: public osg::Referenced
148</DL></P>
149
150<P><DL>
151<DT><H3>Public Methods</H3><DD><DT>
152<IMG ALT="o" SRC=icon2.gif>static   <!1><A HREF="RenderBin.html">RenderBin</A>* <B>createRenderBin</B>(const std::string&amp; binName)
153<DT>
154<IMG ALT="o" SRC=icon2.gif>static   <!1><A HREF="RenderBin.html">RenderBin</A>* <B>getRenderBinPrototype</B>(const std::string&amp; binName)
155<DT>
156<IMG ALT="o" SRC=icon2.gif>static   void <B>addRenderBinPrototype</B>(const std::string&amp; binName, <!1><A HREF="RenderBin.html">RenderBin</A>* proto)
157<DT>
158<IMG ALT="o" SRC=icon2.gif>static   void <B>removeRenderBinPrototype</B>(<!1><A HREF="RenderBin.html">RenderBin</A>* proto)
159<DT>
160<IMG ALT="o" SRC=icon2.gif>virtual   const char* <B>libraryName</B>() const
161<DT>
162<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html">RenderBin</A>* <B>getParent</B>()
163<DT>
164<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="RenderBin.html">RenderBin</A>* <B>getParent</B>() const
165<DT>
166<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderStage.html">RenderStage</A>* <B>getStage</B>()
167<DT>
168<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="RenderStage.html">RenderStage</A>* <B>getStage</B>() const
169<DT>
170<IMG ALT="o" SRC=icon2.gif>int <B>getBinNum</B>() const
171<DT>
172<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.2">RenderGraphList</A>&amp; <B>getRenderGraphList</B>()
173<DT>
174<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="RenderBin.html#DOC.2.13.2">RenderGraphList</A>&amp; <B>getRenderGraphList</B>() const
175<DT>
176<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.3">RenderBinList</A>&amp; <B>getRenderBinList</B>()
177<DT>
178<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="RenderBin.html#DOC.2.13.3">RenderBinList</A>&amp; <B>getRenderBinList</B>() const
179<DT>
180<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.1">RenderLeafList</A>&amp; <B>getRenderLeafList</B>()
181<DT>
182<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="RenderBin.html#DOC.2.13.1">RenderLeafList</A>&amp; <B>getRenderLeafList</B>() const
183<DT>
184<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html">RenderBin</A>* <B>find_or_insert</B>(int binNum, const std::string&amp; binName)
185<DT>
186<IMG ALT="o" SRC=icon2.gif>void <B>addRenderGraph</B>(<!1><A HREF="RenderGraph.html">RenderGraph</A>* rg)
187<DT>
188<IMG ALT="o" SRC=icon2.gif>void <B>sort</B>()
189<DT>
190<IMG ALT="o" SRC=icon2.gif>virtual   void <B>sortImplementation</B>()
191<DT>
192<IMG ALT="o" SRC=icon2.gif>void <B>setSortMode</B>(<!1><A HREF="RenderBin.html#DOC.2.13.8">SortMode</A> mode)
193<DT>
194<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.8">SortMode</A> <B>getSortMode</B>() const
195<DT>
196<IMG ALT="o" SRC=icon2.gif>virtual   void <B>sortByState</B>()
197<DT>
198<IMG ALT="o" SRC=icon2.gif>virtual   void <B>sortFrontToBack</B>()
199<DT>
200<IMG ALT="o" SRC=icon2.gif>virtual   void <B>sortBackToFront</B>()
201<DT>
202<IMG ALT="o" SRC=icon2.gif>void <B>setSortCallback</B>(<!1><A HREF="RenderBin.html#DOC.2.13.37">SortCallback</A>* sortCallback)
203<DT>
204<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.37">SortCallback</A>* <B>getSortCallback</B>()
205<DT>
206<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="RenderBin.html#DOC.2.13.37">SortCallback</A>* <B>getSortCallback</B>() const
207<DT>
208<IMG ALT="o" SRC=icon2.gif>void <B>setDrawCallback</B>(<!1><A HREF="RenderBin.html#DOC.2.13.43">DrawCallback</A>* drawCallback)
209<DT>
210<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.43">DrawCallback</A>* <B>getDrawCallback</B>()
211<DT>
212<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="RenderBin.html#DOC.2.13.43">DrawCallback</A>* <B>getDrawCallback</B>() const
213<DT>
214<IMG ALT="o" SRC=icon2.gif>void <B>getPrims</B>(<!1><A HREF="Statistics.html">Statistics</A>* primStats)
215<DT>
216<IMG ALT="o" SRC=icon2.gif>bool <B>getPrims</B>(<!1><A HREF="Statistics.html">Statistics</A>* primStats, int nbin)
217</DL></P>
218
219<P><DL>
220<DT><H3>Public</H3><DD><DT>
221<IMG ALT="o" SRC=icon2.gif>typedef  std::vector&lt;<!1><A HREF="RenderLeaf.html">RenderLeaf</A>*&gt;  <B>RenderLeafList</B>
222<DT>
223<IMG ALT="o" SRC=icon2.gif>typedef  std::vector&lt;<!1><A HREF="RenderGraph.html">RenderGraph</A>*&gt;  <B>RenderGraphList</B>
224<DT>
225<IMG ALT="o" SRC=icon2.gif>typedef  std::map&lt; int, osg::ref_ptr&lt;<!1><A HREF="RenderBin.html">RenderBin</A>&gt; &gt;  <B>RenderBinList</B>
226</DL></P>
227
228<P><DL>
229<DT><H3>Protected Fields</H3><DD><DT>
230<IMG ALT="o" SRC=icon2.gif>int <B>_binNum</B>
231<DT>
232<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html">RenderBin</A>* <B>_parent</B>
233<DT>
234<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderStage.html">RenderStage</A>* <B>_stage</B>
235<DT>
236<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.3">RenderBinList</A> <B>_bins</B>
237<DT>
238<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.2">RenderGraphList</A> <B>_renderGraphList</B>
239<DT>
240<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.1">RenderLeafList</A> <B>_renderLeafList</B>
241<DT>
242<IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.8">SortMode</A> <B>_sortMode</B>
243<DT>
244<IMG ALT="o" SRC=icon2.gif>osg::ref_ptr&lt;<!1><A HREF="RenderBin.html#DOC.2.13.37">SortCallback</A>&gt;  <B>_sortCallback</B>
245<DT>
246<IMG ALT="o" SRC=icon2.gif>osg::ref_ptr&lt;<!1><A HREF="RenderBin.html#DOC.2.13.43">DrawCallback</A>&gt;  <B>_drawCallback</B>
247</DL></P>
248
249<P><DL>
250<DT><H3>Protected Methods</H3><DD><DT>
251<IMG ALT="o" SRC=icon2.gif>void <B>copyLeavesFromRenderGraphListToRenderLeafList</B>()
252</DL></P>
253
254</DL>
255
256<A NAME="DOC.DOCU"></A>
257<HR>
258<H2>Documentation</H2>
259<BLOCKQUOTE>
260RenderState base class. Used for encapsulate a complete stage in
261rendering - setting up of viewport, the projection and model
262matrices and rendering the RenderBin's enclosed with this RenderStage.
263RenderStage also has a dependency list of other RenderStages, each
264of which must be called before the rendering of this stage.  These
265'pre' rendering stages are used for advanced rendering techniques
266like multistage pixel shading or impostors.</BLOCKQUOTE>
267<DL>
268
269<A NAME="RenderStage"></A>
270<A NAME="DOC.2.18.1"></A>
271<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> RenderStage(<!1><A HREF="RenderBin.html#DOC.2.13.8">SortMode</A> mode=<!1><A HREF="RenderBin.html#DOC.2.13.8.1">SORT_BY_STATE</A>)</B></TT>
272<DL><DT><DD></DL><P>
273<A NAME="RenderStage"></A>
274<A NAME="DOC.2.18.2"></A>
275<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> RenderStage(const <!1><A HREF="RenderStage.html#DOC.2.18.2">RenderStage</A>&amp; rhs, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)</B></TT>
276<DL><DT><DD></DL><P>
277<A NAME="cloneType"></A>
278<A NAME="DOC.2.18.3"></A>
279<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   osg::Object* cloneType() const </B></TT>
280<DL><DT><DD></DL><P>
281<A NAME="clone"></A>
282<A NAME="DOC.2.18.4"></A>
283<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   osg::Object* clone(const osg::CopyOp&amp; copyop) const </B></TT>
284<DL><DT><DD></DL><P>
285<A NAME="isSameKindAs"></A>
286<A NAME="DOC.2.18.5"></A>
287<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   bool isSameKindAs(const osg::Object* obj) const </B></TT>
288<DL><DT><DD></DL><P>
289<A NAME="className"></A>
290<A NAME="DOC.2.18.6"></A>
291<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   const char* className() const </B></TT>
292<DL><DT><DD></DL><P>
293<A NAME="reset"></A>
294<A NAME="DOC.2.18.7"></A>
295<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void reset()</B></TT>
296<DL><DT><DD></DL><P>
297<A NAME="setViewport"></A>
298<A NAME="DOC.2.18.8"></A>
299<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setViewport(osg::Viewport* viewport)</B></TT>
300<DD>Set the viewport
301<DL><DT><DD></DL><P>
302<A NAME="getViewport"></A>
303<A NAME="DOC.2.18.9"></A>
304<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Viewport* getViewport() const </B></TT>
305<DD>Get the const viewport.
306<DL><DT><DD></DL><P>
307<A NAME="getViewport"></A>
308<A NAME="DOC.2.18.10"></A>
309<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Viewport* getViewport()</B></TT>
310<DD>Get the viewport.
311<DL><DT><DD></DL><P>
312<A NAME="setClearMask"></A>
313<A NAME="DOC.2.18.11"></A>
314<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setClearMask(GLbitfield mask)</B></TT>
315<DD>Set the clear mask used in glClear().
316Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT.
317<DL><DT><DD></DL><P>
318<A NAME="getClearMask"></A>
319<A NAME="DOC.2.18.12"></A>
320<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLbitfield getClearMask() const </B></TT>
321<DD>Get the clear mask
322<DL><DT><DD></DL><P>
323<A NAME="setColorMask"></A>
324<A NAME="DOC.2.18.13"></A>
325<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setColorMask(osg::ColorMask* cm)</B></TT>
326<DL><DT><DD></DL><P>
327<A NAME="getColorMask"></A>
328<A NAME="DOC.2.18.14"></A>
329<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ColorMask* getColorMask()</B></TT>
330<DL><DT><DD></DL><P>
331<A NAME="getColorMask"></A>
332<A NAME="DOC.2.18.15"></A>
333<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::ColorMask* getColorMask() const </B></TT>
334<DL><DT><DD></DL><P>
335<A NAME="setClearColor"></A>
336<A NAME="DOC.2.18.16"></A>
337<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setClearColor(const osg::Vec4&amp; color)</B></TT>
338<DD>Set the clear color used in glClearColor().
339glClearColor is only called if mask & GL_COLOR_BUFFER_BIT is true
340<DL><DT><DD></DL><P>
341<A NAME="getClearColor"></A>
342<A NAME="DOC.2.18.17"></A>
343<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec4&amp; getClearColor() const </B></TT>
344<DD>Get the clear color
345<DL><DT><DD></DL><P>
346<A NAME="setClearAccum"></A>
347<A NAME="DOC.2.18.18"></A>
348<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setClearAccum(const osg::Vec4&amp; color)</B></TT>
349<DD>Set the clear accum used in glClearAccum().
350glClearAcumm is only called if mask & GL_ACCUM_BUFFER_BIT is true
351<DL><DT><DD></DL><P>
352<A NAME="getClearAccum"></A>
353<A NAME="DOC.2.18.19"></A>
354<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec4&amp; getClearAccum() const </B></TT>
355<DD>Get the clear accum
356<DL><DT><DD></DL><P>
357<A NAME="setClearDepth"></A>
358<A NAME="DOC.2.18.20"></A>
359<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setClearDepth(double <!1><A HREF="Statistics.html#DOC.2.24.32">depth</A>)</B></TT>
360<DD>Set the clear depth used in glClearDepth(). Defaults to 1.0
361glClearDepth is only called if mask & GL_DEPTH_BUFFER_BIT is true
362<DL><DT><DD></DL><P>
363<A NAME="getClearDepth"></A>
364<A NAME="DOC.2.18.21"></A>
365<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double getClearDepth() const </B></TT>
366<DD>Get the clear depth
367<DL><DT><DD></DL><P>
368<A NAME="setClearStencil"></A>
369<A NAME="DOC.2.18.22"></A>
370<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setClearStencil(int stencil)</B></TT>
371<DD>Set the clear stencil value used in glClearStencil(). Defaults to 0
372glClearStencil is only called if mask & GL_STENCIL_BUFFER_BIT is true
373<DL><DT><DD></DL><P>
374<A NAME="getClearStencil"></A>
375<A NAME="DOC.2.18.23"></A>
376<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getClearStencil() const </B></TT>
377<DD>Get the clear color
378<DL><DT><DD></DL><P>
379<A NAME="setRenderStageLighting"></A>
380<A NAME="DOC.2.18.24"></A>
381<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRenderStageLighting(<!1><A HREF="RenderStageLighting.html">RenderStageLighting</A>* rsl)</B></TT>
382<DL><DT><DD></DL><P>
383<A NAME="getRenderStageLighting"></A>
384<A NAME="DOC.2.18.25"></A>
385<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderStageLighting.html">RenderStageLighting</A>* getRenderStageLighting() const </B></TT>
386<DL><DT><DD></DL><P>
387<A NAME="addPositionedAttribute"></A>
388<A NAME="DOC.2.18.26"></A>
389<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void addPositionedAttribute(osg::RefMatrix* matrix, const osg::StateAttribute* attr)</B></TT>
390<DL><DT><DD></DL><P>
391<A NAME="addPositionedTextureAttribute"></A>
392<A NAME="DOC.2.18.27"></A>
393<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void addPositionedTextureAttribute(unsigned int textureUnit, osg::RefMatrix* matrix, const osg::StateAttribute* attr)</B></TT>
394<DL><DT><DD></DL><P>
395<A NAME="drawPreRenderStages"></A>
396<A NAME="DOC.2.18.28"></A>
397<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void drawPreRenderStages(osg::State&amp; state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*&amp; previous)</B></TT>
398<DL><DT><DD></DL><P>
399<A NAME="draw"></A>
400<A NAME="DOC.2.18.29"></A>
401<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void draw(osg::State&amp; state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*&amp; previous)</B></TT>
402<DL><DT><DD></DL><P>
403<A NAME="drawImplementation"></A>
404<A NAME="DOC.2.18.30"></A>
405<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void drawImplementation(osg::State&amp; state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*&amp; previous)</B></TT>
406<DL><DT><DD></DL><P>
407<A NAME="addToDependencyList"></A>
408<A NAME="DOC.2.18.31"></A>
409<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addToDependencyList(<!1><A HREF="RenderStage.html">RenderStage</A>* rs)</B></TT>
410<DL><DT><DD></DL><P>
411<A NAME="getStats"></A>
412<A NAME="DOC.2.18.32"></A>
413<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getStats(<!1><A HREF="Statistics.html">Statistics</A>* primStats)</B></TT>
414<DD>extract stats for current draw list.
415<DL><DT><DD></DL><P>
416<A NAME="~RenderStage"></A>
417<A NAME="DOC.2.18.33"></A>
418<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   ~RenderStage()</B></TT>
419<DL><DT><DD></DL><P>
420<A NAME="DependencyList"></A>
421<A NAME="DOC.2.18.34"></A>
422<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef  std::vector&lt; osg::ref_ptr&lt;<!1><A HREF="RenderStage.html">RenderStage</A>&gt; &gt;  DependencyList</B></TT>
423<DL><DT><DD></DL><P>
424<A NAME="_stageDrawnThisFrame"></A>
425<A NAME="DOC.2.18.35"></A>
426<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _stageDrawnThisFrame</B></TT>
427<DL><DT><DD></DL><P>
428<A NAME="_dependencyList"></A>
429<A NAME="DOC.2.18.36"></A>
430<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderStage.html#DOC.2.18.34">DependencyList</A> _dependencyList</B></TT>
431<DL><DT><DD></DL><P>
432<A NAME="_viewport"></A>
433<A NAME="DOC.2.18.37"></A>
434<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;osg::Viewport&gt;  _viewport</B></TT>
435<DL><DT><DD></DL><P>
436<A NAME="_clearMask"></A>
437<A NAME="DOC.2.18.38"></A>
438<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLbitfield _clearMask</B></TT>
439<DL><DT><DD></DL><P>
440<A NAME="_colorMask"></A>
441<A NAME="DOC.2.18.39"></A>
442<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;osg::ColorMask&gt;  _colorMask</B></TT>
443<DL><DT><DD></DL><P>
444<A NAME="_clearColor"></A>
445<A NAME="DOC.2.18.40"></A>
446<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec4 _clearColor</B></TT>
447<DL><DT><DD></DL><P>
448<A NAME="_clearAccum"></A>
449<A NAME="DOC.2.18.41"></A>
450<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec4 _clearAccum</B></TT>
451<DL><DT><DD></DL><P>
452<A NAME="_clearDepth"></A>
453<A NAME="DOC.2.18.42"></A>
454<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double _clearDepth</B></TT>
455<DL><DT><DD></DL><P>
456<A NAME="_clearStencil"></A>
457<A NAME="DOC.2.18.43"></A>
458<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _clearStencil</B></TT>
459<DL><DT><DD></DL><P>
460<A NAME="_renderStageLighting"></A>
461<A NAME="DOC.2.18.44"></A>
462<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable osg::ref_ptr&lt;<!1><A HREF="RenderStageLighting.html">RenderStageLighting</A>&gt;  _renderStageLighting</B></TT>
463<DL><DT><DD></DL><P></DL>
464<HR>
465<DL><DT><B>Direct child classes:
466</B><DD><A HREF="RenderToTextureStage.html">RenderToTextureStage</A><BR>
467</DL>
468
469<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
470<BR>
471This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>.
472</BODY>
473</HTML>
Note: See TracBrowser for help on using the browser.