| 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>& rhs, const osg::CopyOp& 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& 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& 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& <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& 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& <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& state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*& 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& state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*& 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& state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*& 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<osg::Viewport> <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<osg::ColorMask> <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<<!1><A HREF="RenderStageLighting.html">RenderStageLighting</A>> <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< osg::ref_ptr<<!1><A HREF="RenderStage.html">RenderStage</A>> > <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& binName) |
|---|
| 153 | <DT> |
|---|
| 154 | <IMG ALT="o" SRC=icon2.gif>static <!1><A HREF="RenderBin.html">RenderBin</A>* <B>getRenderBinPrototype</B>(const std::string& binName) |
|---|
| 155 | <DT> |
|---|
| 156 | <IMG ALT="o" SRC=icon2.gif>static void <B>addRenderBinPrototype</B>(const std::string& 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><!1><A HREF="RenderBin.html#DOC.2.13.2">RenderGraphList</A>& <B>getRenderGraphList</B>() |
|---|
| 171 | <DT> |
|---|
| 172 | <IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="RenderBin.html#DOC.2.13.2">RenderGraphList</A>& <B>getRenderGraphList</B>() const |
|---|
| 173 | <DT> |
|---|
| 174 | <IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.3">RenderBinList</A>& <B>getRenderBinList</B>() |
|---|
| 175 | <DT> |
|---|
| 176 | <IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="RenderBin.html#DOC.2.13.3">RenderBinList</A>& <B>getRenderBinList</B>() const |
|---|
| 177 | <DT> |
|---|
| 178 | <IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.1">RenderLeafList</A>& <B>getRenderLeafList</B>() |
|---|
| 179 | <DT> |
|---|
| 180 | <IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="RenderBin.html#DOC.2.13.1">RenderLeafList</A>& <B>getRenderLeafList</B>() const |
|---|
| 181 | <DT> |
|---|
| 182 | <IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html">RenderBin</A>* <B>find_or_insert</B>(int binNum, const std::string& binName) |
|---|
| 183 | <DT> |
|---|
| 184 | <IMG ALT="o" SRC=icon2.gif>void <B>addRenderGraph</B>(<!1><A HREF="RenderGraph.html">RenderGraph</A>* rg) |
|---|
| 185 | <DT> |
|---|
| 186 | <IMG ALT="o" SRC=icon2.gif>void <B>sort</B>() |
|---|
| 187 | <DT> |
|---|
| 188 | <IMG ALT="o" SRC=icon2.gif>virtual void <B>sortImplementation</B>() |
|---|
| 189 | <DT> |
|---|
| 190 | <IMG ALT="o" SRC=icon2.gif>void <B>setSortMode</B>(<!1><A HREF="RenderBin.html#DOC.2.13.8">SortMode</A> mode) |
|---|
| 191 | <DT> |
|---|
| 192 | <IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.8">SortMode</A> <B>getSortMode</B>() const |
|---|
| 193 | <DT> |
|---|
| 194 | <IMG ALT="o" SRC=icon2.gif>virtual void <B>sortByState</B>() |
|---|
| 195 | <DT> |
|---|
| 196 | <IMG ALT="o" SRC=icon2.gif>virtual void <B>sortFrontToBack</B>() |
|---|
| 197 | <DT> |
|---|
| 198 | <IMG ALT="o" SRC=icon2.gif>virtual void <B>sortBackToFront</B>() |
|---|
| 199 | <DT> |
|---|
| 200 | <IMG ALT="o" SRC=icon2.gif>void <B>setSortCallback</B>(<!1><A HREF="RenderBin.html#DOC.2.13.36">SortCallback</A>* sortCallback) |
|---|
| 201 | <DT> |
|---|
| 202 | <IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.36">SortCallback</A>* <B>getSortCallback</B>() |
|---|
| 203 | <DT> |
|---|
| 204 | <IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="RenderBin.html#DOC.2.13.36">SortCallback</A>* <B>getSortCallback</B>() const |
|---|
| 205 | <DT> |
|---|
| 206 | <IMG ALT="o" SRC=icon2.gif>void <B>setDrawCallback</B>(<!1><A HREF="RenderBin.html#DOC.2.13.42">DrawCallback</A>* drawCallback) |
|---|
| 207 | <DT> |
|---|
| 208 | <IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.42">DrawCallback</A>* <B>getDrawCallback</B>() |
|---|
| 209 | <DT> |
|---|
| 210 | <IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="RenderBin.html#DOC.2.13.42">DrawCallback</A>* <B>getDrawCallback</B>() const |
|---|
| 211 | <DT> |
|---|
| 212 | <IMG ALT="o" SRC=icon2.gif>void <B>getPrims</B>(<!1><A HREF="Statistics.html">Statistics</A>* primStats) |
|---|
| 213 | <DT> |
|---|
| 214 | <IMG ALT="o" SRC=icon2.gif>bool <B>getPrims</B>(<!1><A HREF="Statistics.html">Statistics</A>* primStats, int nbin) |
|---|
| 215 | </DL></P> |
|---|
| 216 | |
|---|
| 217 | <P><DL> |
|---|
| 218 | <DT><H3>Public</H3><DD><DT> |
|---|
| 219 | <IMG ALT="o" SRC=icon2.gif>typedef std::vector<<!1><A HREF="RenderLeaf.html">RenderLeaf</A>*> <B>RenderLeafList</B> |
|---|
| 220 | <DT> |
|---|
| 221 | <IMG ALT="o" SRC=icon2.gif>typedef std::vector<<!1><A HREF="RenderGraph.html">RenderGraph</A>*> <B>RenderGraphList</B> |
|---|
| 222 | <DT> |
|---|
| 223 | <IMG ALT="o" SRC=icon2.gif>typedef std::map< int, osg::ref_ptr<<!1><A HREF="RenderBin.html">RenderBin</A>> > <B>RenderBinList</B> |
|---|
| 224 | </DL></P> |
|---|
| 225 | |
|---|
| 226 | <P><DL> |
|---|
| 227 | <DT><H3>Protected Fields</H3><DD><DT> |
|---|
| 228 | <IMG ALT="o" SRC=icon2.gif>int <B>_binNum</B> |
|---|
| 229 | <DT> |
|---|
| 230 | <IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html">RenderBin</A>* <B>_parent</B> |
|---|
| 231 | <DT> |
|---|
| 232 | <IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderStage.html">RenderStage</A>* <B>_stage</B> |
|---|
| 233 | <DT> |
|---|
| 234 | <IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.3">RenderBinList</A> <B>_bins</B> |
|---|
| 235 | <DT> |
|---|
| 236 | <IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.2">RenderGraphList</A> <B>_renderGraphList</B> |
|---|
| 237 | <DT> |
|---|
| 238 | <IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.1">RenderLeafList</A> <B>_renderLeafList</B> |
|---|
| 239 | <DT> |
|---|
| 240 | <IMG ALT="o" SRC=icon2.gif><!1><A HREF="RenderBin.html#DOC.2.13.8">SortMode</A> <B>_sortMode</B> |
|---|
| 241 | <DT> |
|---|
| 242 | <IMG ALT="o" SRC=icon2.gif>osg::ref_ptr<<!1><A HREF="RenderBin.html#DOC.2.13.36">SortCallback</A>> <B>_sortCallback</B> |
|---|
| 243 | <DT> |
|---|
| 244 | <IMG ALT="o" SRC=icon2.gif>osg::ref_ptr<<!1><A HREF="RenderBin.html#DOC.2.13.42">DrawCallback</A>> <B>_drawCallback</B> |
|---|
| 245 | </DL></P> |
|---|
| 246 | |
|---|
| 247 | <P><DL> |
|---|
| 248 | <DT><H3>Protected Methods</H3><DD><DT> |
|---|
| 249 | <IMG ALT="o" SRC=icon2.gif>void <B>copyLeavesFromRenderGraphListToRenderLeafList</B>() |
|---|
| 250 | </DL></P> |
|---|
| 251 | |
|---|
| 252 | </DL> |
|---|
| 253 | |
|---|
| 254 | <A NAME="DOC.DOCU"></A> |
|---|
| 255 | <HR> |
|---|
| 256 | <H2>Documentation</H2> |
|---|
| 257 | <BLOCKQUOTE> |
|---|
| 258 | RenderState base class. Used for encapsulate a complete stage in |
|---|
| 259 | rendering - setting up of viewport, the projection and model |
|---|
| 260 | matrices and rendering the RenderBin's enclosed with this RenderStage. |
|---|
| 261 | RenderStage also has a dependency list of other RenderStages, each |
|---|
| 262 | of which must be called before the rendering of this stage. These |
|---|
| 263 | 'pre' rendering stages are used for advanced rendering techniques |
|---|
| 264 | like multistage pixel shading or impostors.</BLOCKQUOTE> |
|---|
| 265 | <DL> |
|---|
| 266 | |
|---|
| 267 | <A NAME="RenderStage"></A> |
|---|
| 268 | <A NAME="DOC.2.18.1"></A> |
|---|
| 269 | <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> |
|---|
| 270 | <DL><DT><DD></DL><P> |
|---|
| 271 | <A NAME="RenderStage"></A> |
|---|
| 272 | <A NAME="DOC.2.18.2"></A> |
|---|
| 273 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> RenderStage(const <!1><A HREF="RenderStage.html#DOC.2.18.2">RenderStage</A>& rhs, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)</B></TT> |
|---|
| 274 | <DL><DT><DD></DL><P> |
|---|
| 275 | <A NAME="cloneType"></A> |
|---|
| 276 | <A NAME="DOC.2.18.3"></A> |
|---|
| 277 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Object* cloneType() const </B></TT> |
|---|
| 278 | <DL><DT><DD></DL><P> |
|---|
| 279 | <A NAME="clone"></A> |
|---|
| 280 | <A NAME="DOC.2.18.4"></A> |
|---|
| 281 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Object* clone(const osg::CopyOp& copyop) const </B></TT> |
|---|
| 282 | <DL><DT><DD></DL><P> |
|---|
| 283 | <A NAME="isSameKindAs"></A> |
|---|
| 284 | <A NAME="DOC.2.18.5"></A> |
|---|
| 285 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool isSameKindAs(const osg::Object* obj) const </B></TT> |
|---|
| 286 | <DL><DT><DD></DL><P> |
|---|
| 287 | <A NAME="className"></A> |
|---|
| 288 | <A NAME="DOC.2.18.6"></A> |
|---|
| 289 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* className() const </B></TT> |
|---|
| 290 | <DL><DT><DD></DL><P> |
|---|
| 291 | <A NAME="reset"></A> |
|---|
| 292 | <A NAME="DOC.2.18.7"></A> |
|---|
| 293 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void reset()</B></TT> |
|---|
| 294 | <DL><DT><DD></DL><P> |
|---|
| 295 | <A NAME="setViewport"></A> |
|---|
| 296 | <A NAME="DOC.2.18.8"></A> |
|---|
| 297 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setViewport(osg::Viewport* viewport)</B></TT> |
|---|
| 298 | <DD>Set the viewport |
|---|
| 299 | <DL><DT><DD></DL><P> |
|---|
| 300 | <A NAME="getViewport"></A> |
|---|
| 301 | <A NAME="DOC.2.18.9"></A> |
|---|
| 302 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Viewport* getViewport() const </B></TT> |
|---|
| 303 | <DD>Get the const viewport. |
|---|
| 304 | <DL><DT><DD></DL><P> |
|---|
| 305 | <A NAME="getViewport"></A> |
|---|
| 306 | <A NAME="DOC.2.18.10"></A> |
|---|
| 307 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Viewport* getViewport()</B></TT> |
|---|
| 308 | <DD>Get the viewport. |
|---|
| 309 | <DL><DT><DD></DL><P> |
|---|
| 310 | <A NAME="setClearMask"></A> |
|---|
| 311 | <A NAME="DOC.2.18.11"></A> |
|---|
| 312 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setClearMask(GLbitfield mask)</B></TT> |
|---|
| 313 | <DD>Set the clear mask used in glClear(). |
|---|
| 314 | Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT. |
|---|
| 315 | <DL><DT><DD></DL><P> |
|---|
| 316 | <A NAME="getClearMask"></A> |
|---|
| 317 | <A NAME="DOC.2.18.12"></A> |
|---|
| 318 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLbitfield getClearMask() const </B></TT> |
|---|
| 319 | <DD>Get the clear mask |
|---|
| 320 | <DL><DT><DD></DL><P> |
|---|
| 321 | <A NAME="setColorMask"></A> |
|---|
| 322 | <A NAME="DOC.2.18.13"></A> |
|---|
| 323 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setColorMask(osg::ColorMask* cm)</B></TT> |
|---|
| 324 | <DL><DT><DD></DL><P> |
|---|
| 325 | <A NAME="getColorMask"></A> |
|---|
| 326 | <A NAME="DOC.2.18.14"></A> |
|---|
| 327 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ColorMask* getColorMask()</B></TT> |
|---|
| 328 | <DL><DT><DD></DL><P> |
|---|
| 329 | <A NAME="getColorMask"></A> |
|---|
| 330 | <A NAME="DOC.2.18.15"></A> |
|---|
| 331 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::ColorMask* getColorMask() const </B></TT> |
|---|
| 332 | <DL><DT><DD></DL><P> |
|---|
| 333 | <A NAME="setClearColor"></A> |
|---|
| 334 | <A NAME="DOC.2.18.16"></A> |
|---|
| 335 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setClearColor(const osg::Vec4& color)</B></TT> |
|---|
| 336 | <DD>Set the clear color used in glClearColor(). |
|---|
| 337 | glClearColor is only called if mask & GL_COLOR_BUFFER_BIT is true |
|---|
| 338 | <DL><DT><DD></DL><P> |
|---|
| 339 | <A NAME="getClearColor"></A> |
|---|
| 340 | <A NAME="DOC.2.18.17"></A> |
|---|
| 341 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec4& getClearColor() const </B></TT> |
|---|
| 342 | <DD>Get the clear color |
|---|
| 343 | <DL><DT><DD></DL><P> |
|---|
| 344 | <A NAME="setClearAccum"></A> |
|---|
| 345 | <A NAME="DOC.2.18.18"></A> |
|---|
| 346 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setClearAccum(const osg::Vec4& color)</B></TT> |
|---|
| 347 | <DD>Set the clear accum used in glClearAccum(). |
|---|
| 348 | glClearAcumm is only called if mask & GL_ACCUM_BUFFER_BIT is true |
|---|
| 349 | <DL><DT><DD></DL><P> |
|---|
| 350 | <A NAME="getClearAccum"></A> |
|---|
| 351 | <A NAME="DOC.2.18.19"></A> |
|---|
| 352 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec4& getClearAccum() const </B></TT> |
|---|
| 353 | <DD>Get the clear accum |
|---|
| 354 | <DL><DT><DD></DL><P> |
|---|
| 355 | <A NAME="setClearDepth"></A> |
|---|
| 356 | <A NAME="DOC.2.18.20"></A> |
|---|
| 357 | <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> |
|---|
| 358 | <DD>Set the clear depth used in glClearDepth(). Defaults to 1.0 |
|---|
| 359 | glClearDepth is only called if mask & GL_DEPTH_BUFFER_BIT is true |
|---|
| 360 | <DL><DT><DD></DL><P> |
|---|
| 361 | <A NAME="getClearDepth"></A> |
|---|
| 362 | <A NAME="DOC.2.18.21"></A> |
|---|
| 363 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double getClearDepth() const </B></TT> |
|---|
| 364 | <DD>Get the clear depth |
|---|
| 365 | <DL><DT><DD></DL><P> |
|---|
| 366 | <A NAME="setClearStencil"></A> |
|---|
| 367 | <A NAME="DOC.2.18.22"></A> |
|---|
| 368 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setClearStencil(int stencil)</B></TT> |
|---|
| 369 | <DD>Set the clear stencil value used in glClearStencil(). Defaults to 0 |
|---|
| 370 | glClearStencil is only called if mask & GL_STENCIL_BUFFER_BIT is true |
|---|
| 371 | <DL><DT><DD></DL><P> |
|---|
| 372 | <A NAME="getClearStencil"></A> |
|---|
| 373 | <A NAME="DOC.2.18.23"></A> |
|---|
| 374 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getClearStencil() const </B></TT> |
|---|
| 375 | <DD>Get the clear color |
|---|
| 376 | <DL><DT><DD></DL><P> |
|---|
| 377 | <A NAME="setRenderStageLighting"></A> |
|---|
| 378 | <A NAME="DOC.2.18.24"></A> |
|---|
| 379 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRenderStageLighting(<!1><A HREF="RenderStageLighting.html">RenderStageLighting</A>* rsl)</B></TT> |
|---|
| 380 | <DL><DT><DD></DL><P> |
|---|
| 381 | <A NAME="getRenderStageLighting"></A> |
|---|
| 382 | <A NAME="DOC.2.18.25"></A> |
|---|
| 383 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderStageLighting.html">RenderStageLighting</A>* getRenderStageLighting() const </B></TT> |
|---|
| 384 | <DL><DT><DD></DL><P> |
|---|
| 385 | <A NAME="addPositionedAttribute"></A> |
|---|
| 386 | <A NAME="DOC.2.18.26"></A> |
|---|
| 387 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void addPositionedAttribute(osg::RefMatrix* matrix, const osg::StateAttribute* attr)</B></TT> |
|---|
| 388 | <DL><DT><DD></DL><P> |
|---|
| 389 | <A NAME="addPositionedTextureAttribute"></A> |
|---|
| 390 | <A NAME="DOC.2.18.27"></A> |
|---|
| 391 | <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> |
|---|
| 392 | <DL><DT><DD></DL><P> |
|---|
| 393 | <A NAME="drawPreRenderStages"></A> |
|---|
| 394 | <A NAME="DOC.2.18.28"></A> |
|---|
| 395 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void drawPreRenderStages(osg::State& state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*& previous)</B></TT> |
|---|
| 396 | <DL><DT><DD></DL><P> |
|---|
| 397 | <A NAME="draw"></A> |
|---|
| 398 | <A NAME="DOC.2.18.29"></A> |
|---|
| 399 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void draw(osg::State& state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*& previous)</B></TT> |
|---|
| 400 | <DL><DT><DD></DL><P> |
|---|
| 401 | <A NAME="drawImplementation"></A> |
|---|
| 402 | <A NAME="DOC.2.18.30"></A> |
|---|
| 403 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void drawImplementation(osg::State& state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*& previous)</B></TT> |
|---|
| 404 | <DL><DT><DD></DL><P> |
|---|
| 405 | <A NAME="addToDependencyList"></A> |
|---|
| 406 | <A NAME="DOC.2.18.31"></A> |
|---|
| 407 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addToDependencyList(<!1><A HREF="RenderStage.html">RenderStage</A>* rs)</B></TT> |
|---|
| 408 | <DL><DT><DD></DL><P> |
|---|
| 409 | <A NAME="getStats"></A> |
|---|
| 410 | <A NAME="DOC.2.18.32"></A> |
|---|
| 411 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getStats(<!1><A HREF="Statistics.html">Statistics</A>* primStats)</B></TT> |
|---|
| 412 | <DD>extract stats for current draw list. |
|---|
| 413 | <DL><DT><DD></DL><P> |
|---|
| 414 | <A NAME="~RenderStage"></A> |
|---|
| 415 | <A NAME="DOC.2.18.33"></A> |
|---|
| 416 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~RenderStage()</B></TT> |
|---|
| 417 | <DL><DT><DD></DL><P> |
|---|
| 418 | <A NAME="DependencyList"></A> |
|---|
| 419 | <A NAME="DOC.2.18.34"></A> |
|---|
| 420 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector< osg::ref_ptr<<!1><A HREF="RenderStage.html">RenderStage</A>> > DependencyList</B></TT> |
|---|
| 421 | <DL><DT><DD></DL><P> |
|---|
| 422 | <A NAME="_stageDrawnThisFrame"></A> |
|---|
| 423 | <A NAME="DOC.2.18.35"></A> |
|---|
| 424 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _stageDrawnThisFrame</B></TT> |
|---|
| 425 | <DL><DT><DD></DL><P> |
|---|
| 426 | <A NAME="_dependencyList"></A> |
|---|
| 427 | <A NAME="DOC.2.18.36"></A> |
|---|
| 428 | <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> |
|---|
| 429 | <DL><DT><DD></DL><P> |
|---|
| 430 | <A NAME="_viewport"></A> |
|---|
| 431 | <A NAME="DOC.2.18.37"></A> |
|---|
| 432 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr<osg::Viewport> _viewport</B></TT> |
|---|
| 433 | <DL><DT><DD></DL><P> |
|---|
| 434 | <A NAME="_clearMask"></A> |
|---|
| 435 | <A NAME="DOC.2.18.38"></A> |
|---|
| 436 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLbitfield _clearMask</B></TT> |
|---|
| 437 | <DL><DT><DD></DL><P> |
|---|
| 438 | <A NAME="_colorMask"></A> |
|---|
| 439 | <A NAME="DOC.2.18.39"></A> |
|---|
| 440 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr<osg::ColorMask> _colorMask</B></TT> |
|---|
| 441 | <DL><DT><DD></DL><P> |
|---|
| 442 | <A NAME="_clearColor"></A> |
|---|
| 443 | <A NAME="DOC.2.18.40"></A> |
|---|
| 444 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec4 _clearColor</B></TT> |
|---|
| 445 | <DL><DT><DD></DL><P> |
|---|
| 446 | <A NAME="_clearAccum"></A> |
|---|
| 447 | <A NAME="DOC.2.18.41"></A> |
|---|
| 448 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec4 _clearAccum</B></TT> |
|---|
| 449 | <DL><DT><DD></DL><P> |
|---|
| 450 | <A NAME="_clearDepth"></A> |
|---|
| 451 | <A NAME="DOC.2.18.42"></A> |
|---|
| 452 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double _clearDepth</B></TT> |
|---|
| 453 | <DL><DT><DD></DL><P> |
|---|
| 454 | <A NAME="_clearStencil"></A> |
|---|
| 455 | <A NAME="DOC.2.18.43"></A> |
|---|
| 456 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _clearStencil</B></TT> |
|---|
| 457 | <DL><DT><DD></DL><P> |
|---|
| 458 | <A NAME="_renderStageLighting"></A> |
|---|
| 459 | <A NAME="DOC.2.18.44"></A> |
|---|
| 460 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable osg::ref_ptr<<!1><A HREF="RenderStageLighting.html">RenderStageLighting</A>> _renderStageLighting</B></TT> |
|---|
| 461 | <DL><DT><DD></DL><P></DL> |
|---|
| 462 | <HR> |
|---|
| 463 | <DL><DT><B>Direct child classes: |
|---|
| 464 | </B><DD><A HREF="RenderToTextureStage.html">RenderToTextureStage</A><BR> |
|---|
| 465 | </DL> |
|---|
| 466 | |
|---|
| 467 | <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> |
|---|
| 468 | <BR> |
|---|
| 469 | This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>. |
|---|
| 470 | </BODY> |
|---|
| 471 | </HTML> |
|---|