\hypertarget{a07468}{}\section{A\+CG\+:\+:I\+Renderer Class Reference}
\label{a07468}\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
Inheritance diagram for A\+CG\+:\+:I\+Renderer\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a07468}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{a07480}{Depth\+Map\+Pass}
\item 
struct \hyperlink{a07472}{Light\+Data}
\item 
class \hyperlink{a07476}{Render\+Object\+Range}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{a07468_a9300a243198f004ef8b339b3dd654ade}{add\+Render\+Object} (\hyperlink{a07532}{Render\+Object} $\ast$\+\_\+render\+Object)
\begin{DoxyCompactList}\small\item\em Callback for the scenegraph nodes, which send new render objects via this function. \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_a8047e48085bfcfcd1a44a1d5a4f2b3c7}{add\+Light} (const \hyperlink{a07472}{Light\+Data} \&\+\_\+light)
\begin{DoxyCompactList}\small\item\em Callback for the scenegraph nodes, which send new lights to the renderer via this function. \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_a27a99e242a230fff0b799e66d7bbe4e6}{add\+Render\+Object\+Modifier} (\hyperlink{a07540}{Render\+Object\+Modifier} $\ast$\+\_\+mod)
\begin{DoxyCompactList}\small\item\em Callback for the scenegraph nodes, which adds a render object modifier to the renderer via this function. \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_a911ad6429d8d2fe9062ad6d0e547701a}{remove\+Render\+Object\+Modifier} (\hyperlink{a07540}{Render\+Object\+Modifier} $\ast$\+\_\+mod)
\begin{DoxyCompactList}\small\item\em Callback for the scenegraph nodes, which removes a render object modifier from the renderer. \end{DoxyCompactList}\item 
void \hyperlink{a07468_a20e9d8bbf1675dbf423d7323f2b8e89a}{dump\+Render\+Objects\+To\+File} (const char $\ast$\+\_\+file\+Name, \hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$$\ast$\+\_\+sorted\+List=0) const
\begin{DoxyCompactList}\small\item\em Debugging function to dump list of render objects into a file. \end{DoxyCompactList}\item 
virtual Q\+String \hyperlink{a07468_ad6553af076266eaecb48b59dc968897e}{dump\+Current\+Render\+Objects\+To\+String} (\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$$\ast$\+\_\+list=0, bool \+\_\+output\+Shaders=false, std\+::vector$<$ \hyperlink{a07580}{A\+C\+G\+::\+Shader\+Modifier} $\ast$$>$ $\ast$\+\_\+modifiers=0)
\begin{DoxyCompactList}\small\item\em Outputs the current render objects to the string. \end{DoxyCompactList}\item 
void \hyperlink{a07468_a0882c3e0042439196f7c438fb8578416}{set\+Error\+Detection\+Level} (int \+\_\+level)
\begin{DoxyCompactList}\small\item\em Control error detection for checking render objects. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_ac5f6e6ac3e516d10da8cafd05c75107b}\label{a07468_ac5f6e6ac3e516d10da8cafd05c75107b}} 
int \hyperlink{a07468_ac5f6e6ac3e516d10da8cafd05c75107b}{get\+Error\+Detection\+Level} () const
\begin{DoxyCompactList}\small\item\em Get error detection level. \end{DoxyCompactList}\item 
void \hyperlink{a07468_a3a8f86f1c5c013e67351c5ee9477aafb}{set\+Viewer\+ID} (int \+\_\+viewer\+ID)
\begin{DoxyCompactList}\small\item\em Set currently active viewer id. \end{DoxyCompactList}\item 
void \hyperlink{a07468_ad3498d64516067e84429848612e6131a}{set\+Core\+Profile\+Mode} (bool \+\_\+enable)
\begin{DoxyCompactList}\small\item\em Tell renderer to use core or compatibility profile. \end{DoxyCompactList}\item 
const \hyperlink{a07476}{Render\+Object\+Range} \& \hyperlink{a07468_a8e82635bb27aaadf6bc5f4ed7c40ad81}{get\+Collected\+Subtree\+Objects} () const
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{a07468_a924e52c39bf07441a9849b6f81179fae}{prepare\+Rendering\+Pipeline} (\hyperlink{a07452}{A\+C\+G\+::\+G\+L\+State} $\ast$\+\_\+gl\+State, \hyperlink{a07792}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \+\_\+draw\+Mode, \hyperlink{a07748}{A\+C\+G\+::\+Scene\+Graph\+::\+Base\+Node} $\ast$\+\_\+scenegraph\+Root)
\begin{DoxyCompactList}\small\item\em Prepares renderer and Open\+GL for any draw-\/related calls including. \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_a1c67e44e1761bc4e299fcee13f5fcb49}{collect\+Render\+Objects} (\hyperlink{a07452}{A\+C\+G\+::\+G\+L\+State} $\ast$\+\_\+gl\+State, \hyperlink{a07792}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \+\_\+draw\+Mode, \hyperlink{a07748}{A\+C\+G\+::\+Scene\+Graph\+::\+Base\+Node} $\ast$\+\_\+scene\+Graph\+Root)
\begin{DoxyCompactList}\small\item\em Traverse the scenegraph to collect render information. \end{DoxyCompactList}\item 
void \hyperlink{a07468_aae924c674e54b6393ecf3b4d13784034}{traverse\+Renderable\+Nodes} (\hyperlink{a07452}{A\+C\+G\+::\+G\+L\+State} $\ast$\+\_\+gl\+State, \hyperlink{a07792}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \+\_\+draw\+Mode, \hyperlink{a07748}{A\+C\+G\+::\+Scene\+Graph\+::\+Base\+Node} \&\+\_\+node, const \hyperlink{a07828}{A\+C\+G\+::\+Scene\+Graph\+::\+Material} \&\+\_\+mat)
\begin{DoxyCompactList}\small\item\em Scene graph traversal for render object collection. \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_a579364cc23d4f21e82f9b667dbe0febf}{sort\+Render\+Objects} ()
\begin{DoxyCompactList}\small\item\em Sort the renderobjects by priority. \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_a6938529f494f9f25ca2a8ddb9216e671}{render\+Object} (\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$\+\_\+obj, \hyperlink{a08132}{G\+L\+S\+L\+::\+Program} $\ast$\+\_\+prog=0, bool \+\_\+const\+Render\+States=false, const std\+::vector$<$ unsigned int $>$ $\ast$\+\_\+shader\+Modifiers=0)
\begin{DoxyCompactList}\small\item\em Render one renderobject. \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_a109a2407519b8e0cbc0f4d6c95d44e36}{bind\+Object\+V\+BO} (\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$\+\_\+obj, \hyperlink{a08132}{G\+L\+S\+L\+::\+Program} $\ast$\+\_\+prog)
\begin{DoxyCompactList}\small\item\em Binding V\+B\+Os (First state function) \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_adee66bede6493451d55cc35e9d68c25b}{bind\+Object\+Uniforms} (\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$\+\_\+obj, \hyperlink{a08132}{G\+L\+S\+L\+::\+Program} $\ast$\+\_\+prog)
\begin{DoxyCompactList}\small\item\em Binding Uniforms (Second state function) \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_a6da7560eb946742bcb98b1c63beb5997}{bind\+Object\+Render\+States} (\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$\+\_\+obj)
\begin{DoxyCompactList}\small\item\em Binding Render state (Third state function) \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_a3add352294386e4bccefefceb8363746}{draw\+Object} (\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$\+\_\+obj)
\begin{DoxyCompactList}\small\item\em Executes the opengl draw call for one object (Fourth function) \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_a9001168507700f0c9be585e473e00e57}{finish\+Rendering\+Pipeline} (bool \+\_\+draw\+Overlay=true)
\begin{DoxyCompactList}\small\item\em Draw overlay objects and reset Open\+GL state. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a31200b84e5be2c8965f3ee18e95ba999}\label{a07468_a31200b84e5be2c8965f3ee18e95ba999}} 
virtual void \hyperlink{a07468_a31200b84e5be2c8965f3ee18e95ba999}{save\+Input\+Fbo} ()
\begin{DoxyCompactList}\small\item\em Save input Fbo configuration (fbo id + viewport) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_ad5e006141daee0c50aa5832698e6e12e}\label{a07468_ad5e006141daee0c50aa5832698e6e12e}} 
virtual void \hyperlink{a07468_ad5e006141daee0c50aa5832698e6e12e}{restore\+Input\+Fbo} ()
\begin{DoxyCompactList}\small\item\em Restore the previously saved input Fbo configuration (fbo id + viewport) \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_a94b8519ed78b6c2965aefcf1cafe0a2d}{save\+Active\+Fbo} (G\+Lint $\ast$\+\_\+out\+Fbo\+Id, G\+Lint $\ast$\+\_\+out\+Viewport, G\+Lint $\ast$\+\_\+out\+Draw\+Buffer) const
\begin{DoxyCompactList}\small\item\em Save active Fbo configuration (fbo id + viewport) \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_a6f90bb915f95852f965bc380d24c0103}{restore\+Fbo} (G\+Lint \+\_\+fbo\+Id, const G\+Lint $\ast$\+\_\+out\+Viewport, G\+Lint \+\_\+draw\+Buffer) const
\begin{DoxyCompactList}\small\item\em Restore a previously saved input Fbo configuration (fbo id + viewport) \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_abb3018662b4eaef11e1f90fed246b4e8}{clear\+Input\+Fbo} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} \&\+\_\+clear\+Color)
\begin{DoxyCompactList}\small\item\em Clear input Fbo. \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_a31d65029d38870f7c54817beb662e237}{copy\+Depth\+To\+Back\+Buffer} (G\+Luint \+\_\+depth\+Tex, float \+\_\+scale=1.\+0f)
\begin{DoxyCompactList}\small\item\em Copy texture to depth buffer. \end{DoxyCompactList}\item 
virtual void \hyperlink{a07468_ab67fdf81e3ac4e876449476aac362e0d}{render\+Depth\+Map} (int \+\_\+viewer\+ID, int \+\_\+width, int \+\_\+height)
\begin{DoxyCompactList}\small\item\em Render the depth map of the scene. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a4a9afe57b0bb679278e0d1e663cbc04b}\label{a07468_a4a9afe57b0bb679278e0d1e663cbc04b}} 
int \hyperlink{a07468_a4a9afe57b0bb679278e0d1e663cbc04b}{get\+Num\+Render\+Objects} () const
\begin{DoxyCompactList}\small\item\em Get the number of collected render objects (not including overlay objects or gl4.\+2 line objects) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_ae7f11d6cb27b7fe97ebbcc34baea7d76}\label{a07468_ae7f11d6cb27b7fe97ebbcc34baea7d76}} 
int \hyperlink{a07468_ae7f11d6cb27b7fe97ebbcc34baea7d76}{get\+Num\+Lights} () const
\begin{DoxyCompactList}\small\item\em Get the number of current light sources. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a3c7b38bf11681ed2f30fb0cd5848e8aa}\label{a07468_a3c7b38bf11681ed2f30fb0cd5848e8aa}} 
\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$ \hyperlink{a07468_a3c7b38bf11681ed2f30fb0cd5848e8aa}{get\+Render\+Object} (int i)
\begin{DoxyCompactList}\small\item\em Get render objects in the sorted list by index (not including overlay objects) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_add7be7f6d43fd44a18189483179ca134}\label{a07468_add7be7f6d43fd44a18189483179ca134}} 
\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$ \hyperlink{a07468_add7be7f6d43fd44a18189483179ca134}{get\+Overlay\+Render\+Object} (int i)
\begin{DoxyCompactList}\small\item\em Get render objects in the sorted list by index (only overlay objects) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a03721ea0a07dec97b18a064eb7692606}\label{a07468_a03721ea0a07dec97b18a064eb7692606}} 
\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$ \hyperlink{a07468_a03721ea0a07dec97b18a064eb7692606}{get\+Line\+G\+L42\+Render\+Object} (int i)
\begin{DoxyCompactList}\small\item\em Get render objects in the sorted list by index (only line objects rendered with gl4.\+2) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_af2818f109d366cb2f6aea3369e51092a}\label{a07468_af2818f109d366cb2f6aea3369e51092a}} 
\hyperlink{a07472}{Light\+Data} $\ast$ \hyperlink{a07468_af2818f109d366cb2f6aea3369e51092a}{get\+Light} (int i)
\begin{DoxyCompactList}\small\item\em Get light by index. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_ab2d9740e8a0684513b3b77de4e453a21}\label{a07468_ab2d9740e8a0684513b3b77de4e453a21}} 
const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} \& \hyperlink{a07468_ab2d9740e8a0684513b3b77de4e453a21}{get\+Global\+Ambient\+Scale} () const
\begin{DoxyCompactList}\small\item\em Get global ambient light contribution from G\+L\+\_\+\+L\+I\+G\+H\+T\+\_\+\+M\+O\+D\+E\+L\+\_\+\+A\+M\+B\+I\+E\+NT. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_ab0b37b2b547985e9740abe6f79cba868}\label{a07468_ab0b37b2b547985e9740abe6f79cba868}} 
\hyperlink{a07748}{A\+C\+G\+::\+Scene\+Graph\+::\+Base\+Node} $\ast$ \hyperlink{a07468_ab0b37b2b547985e9740abe6f79cba868}{get\+Render\+Object\+Node} (int i)
\begin{DoxyCompactList}\small\item\em Get node that emitted the render object in the sorted list by index (not including overlay objects) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_ae8a659276b1220d95d94419b7bf287ea}\label{a07468_ae8a659276b1220d95d94419b7bf287ea}} 
\hyperlink{a07748}{A\+C\+G\+::\+Scene\+Graph\+::\+Base\+Node} $\ast$ \hyperlink{a07468_ae8a659276b1220d95d94419b7bf287ea}{get\+Overlay\+Render\+Object\+Node} (int i)
\begin{DoxyCompactList}\small\item\em Get node that emitted the render object in the sorted list by index (only overlay objects) \end{DoxyCompactList}\item 
void \hyperlink{a07468_a86adf19163a7d99f10b0ebc0deaae9bf}{set\+Line\+Thickness\+Rendering\+G\+L42} (bool \+\_\+enable)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07468_aaf962f29da15aaa15fc44e127324a73c}\label{a07468_aaf962f29da15aaa15fc44e127324a73c}} 
int \hyperlink{a07468_aaf962f29da15aaa15fc44e127324a73c}{num\+Lights\+\_\+}
\begin{DoxyCompactList}\small\item\em Number of Lights. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a0a34986f1340c38fd8a3e7806637c095}\label{a07468_a0a34986f1340c38fd8a3e7806637c095}} 
\hyperlink{a07472}{Light\+Data} \hyperlink{a07468_a0a34986f1340c38fd8a3e7806637c095}{lights\+\_\+} \mbox{[}S\+G\+\_\+\+M\+A\+X\+\_\+\+S\+H\+A\+D\+E\+R\+\_\+\+L\+I\+G\+H\+TS\mbox{]}
\begin{DoxyCompactList}\small\item\em Light sources ( Filled by \hyperlink{a07468_a8047e48085bfcfcd1a44a1d5a4f2b3c7}{add\+Light()} ) \end{DoxyCompactList}\item 
\hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} \hyperlink{a07468_afab16657ed3e67d9eedfb39f00efbda5}{global\+Light\+Model\+Ambient\+\_\+}
\item 
\mbox{\Hypertarget{a07468_a97efe0f6e0ef436ca99c3a6681b54551}\label{a07468_a97efe0f6e0ef436ca99c3a6681b54551}} 
std\+::vector$<$ \hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $>$ \hyperlink{a07468_a97efe0f6e0ef436ca99c3a6681b54551}{render\+Objects\+\_\+}
\begin{DoxyCompactList}\small\item\em array of renderobjects, filled by \hyperlink{a07468_a9300a243198f004ef8b339b3dd654ade}{add\+Render\+Object()} \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a5df2a6f74e4001b14b5cabfcf6f273d5}\label{a07468_a5df2a6f74e4001b14b5cabfcf6f273d5}} 
std\+::vector$<$ int $>$ \hyperlink{a07468_a5df2a6f74e4001b14b5cabfcf6f273d5}{sort\+List\+Objects\+\_\+}
\begin{DoxyCompactList}\small\item\em map sorted\+ID -\/$>$ original render\+Object\+ID \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a532d1c61fc05541712bdd45c67595f0a}\label{a07468_a532d1c61fc05541712bdd45c67595f0a}} 
std\+::vector$<$ int $>$ \hyperlink{a07468_a532d1c61fc05541712bdd45c67595f0a}{sort\+List\+Overlays\+\_\+}
\begin{DoxyCompactList}\small\item\em map sorted\+ID -\/$>$ original render\+Object\+ID \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a23c1be133a60fd9adcb32fc0555f96d4}\label{a07468_a23c1be133a60fd9adcb32fc0555f96d4}} 
std\+::vector$<$ \hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$ $>$ \hyperlink{a07468_a23c1be133a60fd9adcb32fc0555f96d4}{sorted\+Objects\+\_\+}
\begin{DoxyCompactList}\small\item\em sorted list of renderobjects without overlay objects (sorted in rendering order) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a8eade18745e532de38dfb4135d71eaec}\label{a07468_a8eade18745e532de38dfb4135d71eaec}} 
std\+::vector$<$ \hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$ $>$ \hyperlink{a07468_a8eade18745e532de38dfb4135d71eaec}{overlay\+Objects\+\_\+}
\begin{DoxyCompactList}\small\item\em sorted list of overlay-\/only renderobjects (sorted in rendering order) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_aa745c449e8a02c83101a18abb1bc7296}\label{a07468_aa745c449e8a02c83101a18abb1bc7296}} 
std\+::vector$<$ \hyperlink{a07540}{A\+C\+G\+::\+Render\+Object\+Modifier} $\ast$ $>$ \hyperlink{a07468_aa745c449e8a02c83101a18abb1bc7296}{render\+Object\+Modifiers\+\_\+}
\begin{DoxyCompactList}\small\item\em active render object modifiers \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a907532e7b22e8d9b83432ced6675122e}\label{a07468_a907532e7b22e8d9b83432ced6675122e}} 
std\+::vector$<$ \hyperlink{a07748}{A\+C\+G\+::\+Scene\+Graph\+::\+Base\+Node} $\ast$ $>$ \hyperlink{a07468_a907532e7b22e8d9b83432ced6675122e}{render\+Object\+Source\+\_\+}
\begin{DoxyCompactList}\small\item\em source node that added the render object (map render\+Object\+ID -\/$>$ scenegraph node) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a5d468628016f0e8460dd4f3524389e57}\label{a07468_a5d468628016f0e8460dd4f3524389e57}} 
std\+::vector$<$ \hyperlink{a07748}{A\+C\+G\+::\+Scene\+Graph\+::\+Base\+Node} $\ast$ $>$ \hyperlink{a07468_a5d468628016f0e8460dd4f3524389e57}{overlay\+Object\+Source\+\_\+}
\begin{DoxyCompactList}\small\item\em source node that added the overlay render object (map render\+Object\+ID -\/$>$ scenegraph node) \end{DoxyCompactList}\item 
std\+::map$<$ int, \hyperlink{a07304}{A\+C\+G\+::\+F\+BO} $\ast$ $>$ \hyperlink{a07468_ad89ce1f415f0a611f7780280fc8abfc8}{depth\+Maps\+\_\+}
\item 
\mbox{\Hypertarget{a07468_a44c00b55edbae71a2cdd6b9c2f7e1981}\label{a07468_a44c00b55edbae71a2cdd6b9c2f7e1981}} 
bool \hyperlink{a07468_a44c00b55edbae71a2cdd6b9c2f7e1981}{depth\+Map\+Used\+\_\+}
\begin{DoxyCompactList}\small\item\em true if at least one renderobject requires a scene depthmap, false otherwise \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a30bcfc586adf6843baf3b2765627c607}\label{a07468_a30bcfc586adf6843baf3b2765627c607}} 
int \hyperlink{a07468_a30bcfc586adf6843baf3b2765627c607}{cur\+Viewer\+I\+D\+\_\+}
\begin{DoxyCompactList}\small\item\em currently active viewer ID as specified in prepare\+Render\+Objects() \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_ad001cbfd3af110410501b64516b0a90d}\label{a07468_ad001cbfd3af110410501b64516b0a90d}} 
\hyperlink{a06176_a1e5dae9881df8fa0d42b985a8e7fad28}{G\+L\+Matrixf} \hyperlink{a07468_ad001cbfd3af110410501b64516b0a90d}{view\+Matrix\+\_\+}
\begin{DoxyCompactList}\small\item\em view transform \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a94ca76dce9a3af1b8e2bad163281f34c}\label{a07468_a94ca76dce9a3af1b8e2bad163281f34c}} 
\hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} \hyperlink{a07468_a94ca76dce9a3af1b8e2bad163281f34c}{cam\+Pos\+W\+S\+\_\+}
\begin{DoxyCompactList}\small\item\em cam position in world-\/space \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a902d56357b2791fc2a2f4bc12ff3de9e}\label{a07468_a902d56357b2791fc2a2f4bc12ff3de9e}} 
\hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} \hyperlink{a07468_a902d56357b2791fc2a2f4bc12ff3de9e}{cam\+Dir\+W\+S\+\_\+}
\begin{DoxyCompactList}\small\item\em direction the camera is looking to in world-\/space \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a780a872911640defae1b2161b58f44e6}\label{a07468_a780a872911640defae1b2161b58f44e6}} 
G\+Lint \hyperlink{a07468_a780a872911640defae1b2161b58f44e6}{prev\+Fbo\+\_\+}
\begin{DoxyCompactList}\small\item\em previous fbo \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a99953aedf1dc2b97f25a512b56589372}\label{a07468_a99953aedf1dc2b97f25a512b56589372}} 
G\+Lint \hyperlink{a07468_a99953aedf1dc2b97f25a512b56589372}{prev\+Draw\+Buffer\+\_\+}
\begin{DoxyCompactList}\small\item\em previous drawbuffer target (ie G\+L\+\_\+\+B\+A\+CK, G\+L\+\_\+\+C\+O\+L\+O\+R\+\_\+\+A\+T\+T\+A\+C\+H\+M\+E\+N\+Ti...) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_aae4696ad62f558c1125002c08f6f6a58}\label{a07468_aae4696ad62f558c1125002c08f6f6a58}} 
G\+Lint \hyperlink{a07468_aae4696ad62f558c1125002c08f6f6a58}{prev\+Viewport\+\_\+} \mbox{[}4\mbox{]}
\begin{DoxyCompactList}\small\item\em previous viewport \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a29706256236ab081aae8e3e553f23bd8}\label{a07468_a29706256236ab081aae8e3e553f23bd8}} 
bool \hyperlink{a07468_a29706256236ab081aae8e3e553f23bd8}{prev\+Fbo\+Saved\+\_\+}
\begin{DoxyCompactList}\small\item\em flag indicating a that save\+Current\+Fbo() has been called prior \hyperlink{a07468_a6f90bb915f95852f965bc380d24c0103}{restore\+Fbo()} \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_aaf4b80ab4a12dc9cc8d81ea22a5b33e2}\label{a07468_aaf4b80ab4a12dc9cc8d81ea22a5b33e2}} 
G\+Lint \hyperlink{a07468_aaf4b80ab4a12dc9cc8d81ea22a5b33e2}{prev\+V\+A\+O\+\_\+}
\begin{DoxyCompactList}\small\item\em previously bound V\+AO \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a194dc781e5e0f75bc2093ccc249f3d6a}\label{a07468_a194dc781e5e0f75bc2093ccc249f3d6a}} 
\hyperlink{a08132}{G\+L\+S\+L\+::\+Program} $\ast$ \hyperlink{a07468_a194dc781e5e0f75bc2093ccc249f3d6a}{depth\+Copy\+Shader\+\_\+}
\begin{DoxyCompactList}\small\item\em shader copies depth of the first front layer to the back buffer \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a28fcbcfb1232b6ecaf1d4daf78e39601}\label{a07468_a28fcbcfb1232b6ecaf1d4daf78e39601}} 
int \hyperlink{a07468_a28fcbcfb1232b6ecaf1d4daf78e39601}{error\+Detection\+Level\+\_\+}
\begin{DoxyCompactList}\small\item\em error-\/detection level for checking render objects \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a5ab34b1ea9ad4a9146fa0c01e1b1133b}\label{a07468_a5ab34b1ea9ad4a9146fa0c01e1b1133b}} 
bool \hyperlink{a07468_a5ab34b1ea9ad4a9146fa0c01e1b1133b}{core\+Profile\+\_\+}
\begin{DoxyCompactList}\small\item\em core profile mode \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a5784eb447151f565e6b11f53a5a60fd8}\label{a07468_a5784eb447151f565e6b11f53a5a60fd8}} 
\hyperlink{a07476}{Render\+Object\+Range} {\bfseries current\+\_\+subtree\+\_\+objects\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Static Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07468_a7fcaa7e1e4710f8a42f4f42476304b4a}\label{a07468_a7fcaa7e1e4710f8a42f4f42476304b4a}} 
static int \hyperlink{a07468_a7fcaa7e1e4710f8a42f4f42476304b4a}{max\+Clip\+Distances\+\_\+} = -\/1
\begin{DoxyCompactList}\small\item\em max number of clip distance outputs in a vertex shader \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07468_af23783b82512c2cdb9cf7432f6cbeacb}\label{a07468_af23783b82512c2cdb9cf7432f6cbeacb}} 
void {\bfseries render\+Line\+Thickness\+G\+L42} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a07468_af8ba3649b958395b85b965d99fd86663}{enable\+Line\+Thickness\+G\+L42\+\_\+}
\begin{DoxyCompactList}\small\item\em Enable/disable gl4.\+2 based technique for rendering thick lines. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_adfe7c62c4e6c83bf1ab946fd9da0becd}\label{a07468_adfe7c62c4e6c83bf1ab946fd9da0becd}} 
std\+::vector$<$ \hyperlink{a07532}{Render\+Object} $\ast$ $>$ \hyperlink{a07468_adfe7c62c4e6c83bf1ab946fd9da0becd}{line\+G\+L42\+Objects\+\_\+}
\begin{DoxyCompactList}\small\item\em default line render objects that are rendered with gl4.\+2 \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07468_a7b6fe6ac9120136b7b88d2f956405d0b}\label{a07468_a7b6fe6ac9120136b7b88d2f956405d0b}} 
std\+::map$<$ int, \hyperlink{a07344}{Texture} $\ast$$>$ \hyperlink{a07468_a7b6fe6ac9120136b7b88d2f956405d0b}{line\+Color\+Buffers\+\_\+}
\begin{DoxyCompactList}\small\item\em map from viewport id to line buffer \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 78 of file I\+Renderer.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a07468_a8047e48085bfcfcd1a44a1d5a4f2b3c7}\label{a07468_a8047e48085bfcfcd1a44a1d5a4f2b3c7}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!add\+Light@{add\+Light}}
\index{add\+Light@{add\+Light}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{add\+Light()}{addLight()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::add\+Light (\begin{DoxyParamCaption}\item[{const \hyperlink{a07472}{Light\+Data} \&}]{\+\_\+light }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Callback for the scenegraph nodes, which send new lights to the renderer via this function. 

Scenegraph nodes are able to add new light sources to the renderer with this function. To so, the node should implement get\+Render\+Objects() and call add\+Light in there. Light\+Nodes use this for example.


\begin{DoxyParams}{Parameters}
{\em \+\_\+light} & Newly added light \\
\hline
\end{DoxyParams}


Definition at line 1184 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a9300a243198f004ef8b339b3dd654ade}\label{a07468_a9300a243198f004ef8b339b3dd654ade}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!add\+Render\+Object@{add\+Render\+Object}}
\index{add\+Render\+Object@{add\+Render\+Object}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{add\+Render\+Object()}{addRenderObject()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::add\+Render\+Object (\begin{DoxyParamCaption}\item[{\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$}]{\+\_\+render\+Object }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Callback for the scenegraph nodes, which send new render objects via this function. 

Add\+Render\+Object is typically called by a scenegraph nodes during the collection of renderable objects. A renderobject is a collection of opengl states, buffers and parameters, that correspond to exactly one draw call.

Creates another \hyperlink{a07532}{Render\+Object} instance internally, safe for temporary local \hyperlink{a07532}{Render\+Object} instances.

\begin{DoxyNote}{Note}
The \hyperlink{a07596}{Vertex\+Declaration} address must be permanently valid.
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em \+\_\+render\+Object} & Newly added render object \\
\hline
\end{DoxyParams}


Reimplemented in \hyperlink{a11132_ab1d160e4d536a6825d1a1915a0cd7f1d}{Depth\+Peeling}.



Definition at line 104 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a27a99e242a230fff0b799e66d7bbe4e6}\label{a07468_a27a99e242a230fff0b799e66d7bbe4e6}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!add\+Render\+Object\+Modifier@{add\+Render\+Object\+Modifier}}
\index{add\+Render\+Object\+Modifier@{add\+Render\+Object\+Modifier}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{add\+Render\+Object\+Modifier()}{addRenderObjectModifier()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::add\+Render\+Object\+Modifier (\begin{DoxyParamCaption}\item[{\hyperlink{a07540}{Render\+Object\+Modifier} $\ast$}]{\+\_\+mod }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Callback for the scenegraph nodes, which adds a render object modifier to the renderer via this function. 

This function is needed whenever a scenegraph node wants to set certain rendering parameters for all its child nodes. A scenegraph node does not have direct access to render object created within its subtree. Instead, it can implement a render object modifier and attach it to the renderer. This modifier is applied to all render objects added to this renderer until it gets removed again.

A good place to call this function is in the derived \hyperlink{a07748_aeb32b92d411b21712d12662ddd910ee8}{Base\+Node\+::enter()} function.


\begin{DoxyParams}{Parameters}
{\em \+\_\+mod} & address of the modifier. It has to remain in memory until it gets removed from the renderer! \\
\hline
\end{DoxyParams}


Definition at line 1198 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a6da7560eb946742bcb98b1c63beb5997}\label{a07468_a6da7560eb946742bcb98b1c63beb5997}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!bind\+Object\+Render\+States@{bind\+Object\+Render\+States}}
\index{bind\+Object\+Render\+States@{bind\+Object\+Render\+States}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{bind\+Object\+Render\+States()}{bindObjectRenderStates()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::bind\+Object\+Render\+States (\begin{DoxyParamCaption}\item[{\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$}]{\+\_\+obj }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Binding Render state (Third state function) 

This is the third function called by \hyperlink{a07468_a6938529f494f9f25ca2a8ddb9216e671}{render\+Object()}.

Prepare the opengl state machine for a renderobject draw call.

This includes any gl\+Enable/gl\+Disable states, depth-\/cmp functions, blend equation.. 

Definition at line 1018 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_adee66bede6493451d55cc35e9d68c25b}\label{a07468_adee66bede6493451d55cc35e9d68c25b}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!bind\+Object\+Uniforms@{bind\+Object\+Uniforms}}
\index{bind\+Object\+Uniforms@{bind\+Object\+Uniforms}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{bind\+Object\+Uniforms()}{bindObjectUniforms()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::bind\+Object\+Uniforms (\begin{DoxyParamCaption}\item[{\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$}]{\+\_\+obj,  }\item[{\hyperlink{a08132}{G\+L\+S\+L\+::\+Program} $\ast$}]{\+\_\+prog }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Binding Uniforms (Second state function) 

This is the second function called by \hyperlink{a07468_a6938529f494f9f25ca2a8ddb9216e671}{render\+Object()}.

Set common shader constants like model-\/view-\/projection matrix, material colors and light params. 

Definition at line 904 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a109a2407519b8e0cbc0f4d6c95d44e36}\label{a07468_a109a2407519b8e0cbc0f4d6c95d44e36}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!bind\+Object\+V\+BO@{bind\+Object\+V\+BO}}
\index{bind\+Object\+V\+BO@{bind\+Object\+V\+BO}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{bind\+Object\+V\+B\+O()}{bindObjectVBO()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::bind\+Object\+V\+BO (\begin{DoxyParamCaption}\item[{\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$}]{\+\_\+obj,  }\item[{\hyperlink{a08132}{G\+L\+S\+L\+::\+Program} $\ast$}]{\+\_\+prog }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Binding V\+B\+Os (First state function) 

This is the first function called by \hyperlink{a07468_a6938529f494f9f25ca2a8ddb9216e671}{render\+Object()}.

It binds vertex, index buffer and vertex format of a render object. 

Definition at line 876 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_abb3018662b4eaef11e1f90fed246b4e8}\label{a07468_abb3018662b4eaef11e1f90fed246b4e8}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!clear\+Input\+Fbo@{clear\+Input\+Fbo}}
\index{clear\+Input\+Fbo@{clear\+Input\+Fbo}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{clear\+Input\+Fbo()}{clearInputFbo()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::clear\+Input\+Fbo (\begin{DoxyParamCaption}\item[{const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} \&}]{\+\_\+clear\+Color }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Clear input Fbo. 

Clears color and depth buffer of input Fbo (using a scissor test to only clear viewport area). 
\begin{DoxyParams}{Parameters}
{\em \+\_\+clear\+Color} & clear color \\
\hline
\end{DoxyParams}


Definition at line 804 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a1c67e44e1761bc4e299fcee13f5fcb49}\label{a07468_a1c67e44e1761bc4e299fcee13f5fcb49}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!collect\+Render\+Objects@{collect\+Render\+Objects}}
\index{collect\+Render\+Objects@{collect\+Render\+Objects}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{collect\+Render\+Objects()}{collectRenderObjects()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::collect\+Render\+Objects (\begin{DoxyParamCaption}\item[{\hyperlink{a07452}{A\+C\+G\+::\+G\+L\+State} $\ast$}]{\+\_\+gl\+State,  }\item[{\hyperlink{a07792}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode}}]{\+\_\+draw\+Mode,  }\item[{\hyperlink{a07748}{A\+C\+G\+::\+Scene\+Graph\+::\+Base\+Node} $\ast$}]{\+\_\+scene\+Graph\+Root }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Traverse the scenegraph to collect render information. 

Traverses the scenegraph and calls the get\+Render\+Object function of each node. Each node can then add multiple renderobjects via add\+Render\+Object to this renderer.

Also collects all light sources in the scenegraph. The currently active list of renderobjects is invalidated too. 

Definition at line 402 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a31d65029d38870f7c54817beb662e237}\label{a07468_a31d65029d38870f7c54817beb662e237}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!copy\+Depth\+To\+Back\+Buffer@{copy\+Depth\+To\+Back\+Buffer}}
\index{copy\+Depth\+To\+Back\+Buffer@{copy\+Depth\+To\+Back\+Buffer}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{copy\+Depth\+To\+Back\+Buffer()}{copyDepthToBackBuffer()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::copy\+Depth\+To\+Back\+Buffer (\begin{DoxyParamCaption}\item[{G\+Luint}]{\+\_\+depth\+Tex,  }\item[{float}]{\+\_\+scale = {\ttfamily 1.0f} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Copy texture to depth buffer. 

Copies depth values from a texture to the input depth buffer. These are the changes made to the Open\+GL state, which are not restored upon return\+:
\begin{DoxyItemize}
\item active texture stage is 0 with \+\_\+depth\+Tex bound
\item internal shader program active
\item internal screen quad vbo active
\item filling mode is set to gl\+Polygon\+Mode(\+G\+L\+\_\+\+F\+R\+O\+N\+T, G\+L\+\_\+\+F\+I\+L\+L)
\end{DoxyItemize}


\begin{DoxyParams}{Parameters}
{\em \+\_\+depth\+Tex} & texture containing depth values \\
\hline
{\em \+\_\+scale} & scaling factor for the depth values from \+\_\+depth\+Tex \\
\hline
\end{DoxyParams}


Definition at line 1348 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a3add352294386e4bccefefceb8363746}\label{a07468_a3add352294386e4bccefefceb8363746}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!draw\+Object@{draw\+Object}}
\index{draw\+Object@{draw\+Object}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{draw\+Object()}{drawObject()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::draw\+Object (\begin{DoxyParamCaption}\item[{\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$}]{\+\_\+obj }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Executes the opengl draw call for one object (Fourth function) 

This is the fourth function called by \hyperlink{a07468_a6938529f494f9f25ca2a8ddb9216e671}{render\+Object()}.

Executes one draw call for the given render object 

Definition at line 1083 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_ad6553af076266eaecb48b59dc968897e}\label{a07468_ad6553af076266eaecb48b59dc968897e}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!dump\+Current\+Render\+Objects\+To\+String@{dump\+Current\+Render\+Objects\+To\+String}}
\index{dump\+Current\+Render\+Objects\+To\+String@{dump\+Current\+Render\+Objects\+To\+String}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{dump\+Current\+Render\+Objects\+To\+String()}{dumpCurrentRenderObjectsToString()}}
{\footnotesize\ttfamily Q\+String A\+C\+G\+::\+I\+Renderer\+::dump\+Current\+Render\+Objects\+To\+String (\begin{DoxyParamCaption}\item[{\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$$\ast$}]{\+\_\+list = {\ttfamily 0},  }\item[{bool}]{\+\_\+output\+Shaders = {\ttfamily false},  }\item[{std\+::vector$<$ \hyperlink{a07580}{A\+C\+G\+::\+Shader\+Modifier} $\ast$$>$ $\ast$}]{\+\_\+modifiers = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Outputs the current render objects to the string. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+list} & Pointer to a list of render objects used for output (defaults to unsorted internal list) \\
\hline
{\em \+\_\+output\+Shaders} & Output the shaders used for the objects? \\
\hline
{\em \+\_\+modifiers} & Pointer to vector of registered \hyperlink{a07580}{Shader\+Modifier} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Render object data in a Q\+String 
\end{DoxyReturn}


Definition at line 1283 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a20e9d8bbf1675dbf423d7323f2b8e89a}\label{a07468_a20e9d8bbf1675dbf423d7323f2b8e89a}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!dump\+Render\+Objects\+To\+File@{dump\+Render\+Objects\+To\+File}}
\index{dump\+Render\+Objects\+To\+File@{dump\+Render\+Objects\+To\+File}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{dump\+Render\+Objects\+To\+File()}{dumpRenderObjectsToFile()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::dump\+Render\+Objects\+To\+File (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+file\+Name,  }\item[{\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$$\ast$}]{\+\_\+sorted\+List = {\ttfamily 0} }\end{DoxyParamCaption}) const}



Debugging function to dump list of render objects into a file. 

Dump list of render objects to text file. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+file\+Name} & name of text file to write to \\
\hline
{\em \+\_\+sorted\+List} & dump sorted render objects in order, may be 0 to use the unsorted list instead \\
\hline
\end{DoxyParams}


Definition at line 1264 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a9001168507700f0c9be585e473e00e57}\label{a07468_a9001168507700f0c9be585e473e00e57}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!finish\+Rendering\+Pipeline@{finish\+Rendering\+Pipeline}}
\index{finish\+Rendering\+Pipeline@{finish\+Rendering\+Pipeline}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{finish\+Rendering\+Pipeline()}{finishRenderingPipeline()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::finish\+Rendering\+Pipeline (\begin{DoxyParamCaption}\item[{bool}]{\+\_\+draw\+Overlay = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Draw overlay objects and reset Open\+GL state. 

Optionally renders overlay objects. Resets critical Open\+GL states to default to prevent crashes.
\begin{DoxyItemize}
\item deactivate framebuffer
\item disable shaders
\item disable vbo 
\end{DoxyItemize}

Definition at line 667 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a8e82635bb27aaadf6bc5f4ed7c40ad81}\label{a07468_a8e82635bb27aaadf6bc5f4ed7c40ad81}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!get\+Collected\+Subtree\+Objects@{get\+Collected\+Subtree\+Objects}}
\index{get\+Collected\+Subtree\+Objects@{get\+Collected\+Subtree\+Objects}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{get\+Collected\+Subtree\+Objects()}{getCollectedSubtreeObjects()}}
{\footnotesize\ttfamily const \hyperlink{a07476}{Render\+Object\+Range}\& A\+C\+G\+::\+I\+Renderer\+::get\+Collected\+Subtree\+Objects (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

During traversal of the scene graph this method returns the range of render objects that has been collected in the current subtree.

This method is exclusively intended to be called in the leave() function of scene graph nodes. Calling it from anywhere else will yield an undefined result with potentially invalid iterators. 

Definition at line 493 of file I\+Renderer.\+hh.

\mbox{\Hypertarget{a07468_a924e52c39bf07441a9849b6f81179fae}\label{a07468_a924e52c39bf07441a9849b6f81179fae}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!prepare\+Rendering\+Pipeline@{prepare\+Rendering\+Pipeline}}
\index{prepare\+Rendering\+Pipeline@{prepare\+Rendering\+Pipeline}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{prepare\+Rendering\+Pipeline()}{prepareRenderingPipeline()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::prepare\+Rendering\+Pipeline (\begin{DoxyParamCaption}\item[{\hyperlink{a07452}{A\+C\+G\+::\+G\+L\+State} $\ast$}]{\+\_\+gl\+State,  }\item[{\hyperlink{a07792}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode}}]{\+\_\+draw\+Mode,  }\item[{\hyperlink{a07748}{A\+C\+G\+::\+Scene\+Graph\+::\+Base\+Node} $\ast$}]{\+\_\+scenegraph\+Root }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Prepares renderer and Open\+GL for any draw-\/related calls including. 

Prepares renderer and Open\+GL for any draw-\/related calls including\+:
\begin{DoxyItemize}
\item collecting renderobjects ( \hyperlink{a07468_a1c67e44e1761bc4e299fcee13f5fcb49}{collect\+Render\+Objects()} )
\item sorting renderobjects ( \hyperlink{a07468_a579364cc23d4f21e82f9b667dbe0febf}{sort\+Render\+Objects()} )
\item resetting Open\+GL state machine for shader-\/based rendering
\end{DoxyItemize}


\begin{DoxyParams}{Parameters}
{\em \+\_\+gl\+State} & pointer to glstate \\
\hline
{\em \+\_\+draw\+Mode} & default drawmode \\
\hline
{\em \+\_\+scenegraph\+Root} & root node of scenegraph \\
\hline
\end{DoxyParams}


Definition at line 532 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a911ad6429d8d2fe9062ad6d0e547701a}\label{a07468_a911ad6429d8d2fe9062ad6d0e547701a}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!remove\+Render\+Object\+Modifier@{remove\+Render\+Object\+Modifier}}
\index{remove\+Render\+Object\+Modifier@{remove\+Render\+Object\+Modifier}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{remove\+Render\+Object\+Modifier()}{removeRenderObjectModifier()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::remove\+Render\+Object\+Modifier (\begin{DoxyParamCaption}\item[{\hyperlink{a07540}{Render\+Object\+Modifier} $\ast$}]{\+\_\+mod }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Callback for the scenegraph nodes, which removes a render object modifier from the renderer. 

Remove a previously added modifier. Render\+Objects added to the renderer afterwards will not be affected anymore.

A good place to call this function is in the derived \hyperlink{a07748_abfaa9091bfb2ff5d221884902c100bfe}{Base\+Node\+::leave()} function.


\begin{DoxyParams}{Parameters}
{\em \+\_\+mod} & address of the modifier. \\
\hline
\end{DoxyParams}


Definition at line 1203 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_ab67fdf81e3ac4e876449476aac362e0d}\label{a07468_ab67fdf81e3ac4e876449476aac362e0d}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!render\+Depth\+Map@{render\+Depth\+Map}}
\index{render\+Depth\+Map@{render\+Depth\+Map}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{render\+Depth\+Map()}{renderDepthMap()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::render\+Depth\+Map (\begin{DoxyParamCaption}\item[{int}]{\+\_\+viewer\+ID,  }\item[{int}]{\+\_\+width,  }\item[{int}]{\+\_\+height }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Render the depth map of the scene. 

When setting up a shader of a render-\/object, a scenegraph node can use the depth map for custom rendering techniques. If at least one render object calls this function, the depth map is later rendered before the scene pass. and bound to the shader of an renderobject in bind\+Object\+Uniforms according to the provided \char`\"{}depth\+Map\+Uniform\+Name\char`\"{}. Depth Map format\+: G\+L\+\_\+\+T\+E\+X\+T\+U\+R\+E\+\_\+2D, G\+L\+\_\+\+R32F, depth value = gl\+\_\+\+Frag\+Coord.\+z This function is automatically called in \hyperlink{a07468_a924e52c39bf07441a9849b6f81179fae}{prepare\+Rendering\+Pipeline()} when required.


\begin{DoxyParams}{Parameters}
{\em \+\_\+viewer\+ID} & id of viewport, \\
\hline
{\em \+\_\+width} & viewport width \\
\hline
{\em \+\_\+height} & viewport height \\
\hline
\end{DoxyParams}


Definition at line 1431 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a6938529f494f9f25ca2a8ddb9216e671}\label{a07468_a6938529f494f9f25ca2a8ddb9216e671}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!render\+Object@{render\+Object}}
\index{render\+Object@{render\+Object}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{render\+Object()}{renderObject()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::render\+Object (\begin{DoxyParamCaption}\item[{\hyperlink{a07532}{A\+C\+G\+::\+Render\+Object} $\ast$}]{\+\_\+obj,  }\item[{\hyperlink{a08132}{G\+L\+S\+L\+::\+Program} $\ast$}]{\+\_\+prog = {\ttfamily 0},  }\item[{bool}]{\+\_\+const\+Render\+States = {\ttfamily false},  }\item[{const std\+::vector$<$ unsigned int $>$ $\ast$}]{\+\_\+shader\+Modifiers = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Render one renderobject. 

Fully prepares opengl for a renderobject and executes the draw call. This combines bind\+Object\+V\+BO, bind\+Object\+Uniforms...

Optionally render-\/states may not be changed, in case depth-\/peeling or similar global shader operations may require a fixed state setting.

Shader modifiers can be combined and applied to this pass. 

Definition at line 1140 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a6f90bb915f95852f965bc380d24c0103}\label{a07468_a6f90bb915f95852f965bc380d24c0103}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!restore\+Fbo@{restore\+Fbo}}
\index{restore\+Fbo@{restore\+Fbo}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{restore\+Fbo()}{restoreFbo()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::restore\+Fbo (\begin{DoxyParamCaption}\item[{G\+Lint}]{\+\_\+fbo\+Id,  }\item[{const G\+Lint $\ast$}]{\+\_\+out\+Viewport,  }\item[{G\+Lint}]{\+\_\+draw\+Buffer }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Restore a previously saved input Fbo configuration (fbo id + viewport) 


\begin{DoxyParams}{Parameters}
{\em \+\_\+fbo\+Id} & fbo id \\
\hline
{\em \+\_\+out\+Viewport} & \mbox{[}in\mbox{]} pointer to address of 4 G\+Lint values receiving the currently active viewport \\
\hline
{\em \+\_\+draw\+Buffer} & draw-\/buffer target of fbo \\
\hline
\end{DoxyParams}


Definition at line 797 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a94b8519ed78b6c2965aefcf1cafe0a2d}\label{a07468_a94b8519ed78b6c2965aefcf1cafe0a2d}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!save\+Active\+Fbo@{save\+Active\+Fbo}}
\index{save\+Active\+Fbo@{save\+Active\+Fbo}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{save\+Active\+Fbo()}{saveActiveFbo()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::save\+Active\+Fbo (\begin{DoxyParamCaption}\item[{G\+Lint $\ast$}]{\+\_\+out\+Fbo\+Id,  }\item[{G\+Lint $\ast$}]{\+\_\+out\+Viewport,  }\item[{G\+Lint $\ast$}]{\+\_\+out\+Draw\+Buffer }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Save active Fbo configuration (fbo id + viewport) 


\begin{DoxyParams}{Parameters}
{\em \+\_\+out\+Fbo\+Id} & \mbox{[}out\mbox{]} pointer to address receiving the currently active fbo id \\
\hline
{\em \+\_\+out\+Viewport} & \mbox{[}out\mbox{]} pointer to address of 4 G\+Lint values receiving the currently active viewport \\
\hline
{\em \+\_\+out\+Draw\+Buffer} & \mbox{[}out\mbox{]} pointer to address receiving the currently active drawbuffer target (ie G\+L\+\_\+\+B\+A\+CK, G\+L\+\_\+\+C\+O\+L\+O\+R\+\_\+\+A\+T\+T\+A\+C\+H\+M\+E\+N\+Ti ..) \\
\hline
\end{DoxyParams}


Definition at line 789 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_ad3498d64516067e84429848612e6131a}\label{a07468_ad3498d64516067e84429848612e6131a}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!set\+Core\+Profile\+Mode@{set\+Core\+Profile\+Mode}}
\index{set\+Core\+Profile\+Mode@{set\+Core\+Profile\+Mode}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{set\+Core\+Profile\+Mode()}{setCoreProfileMode()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::set\+Core\+Profile\+Mode (\begin{DoxyParamCaption}\item[{bool}]{\+\_\+enable }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Tell renderer to use core or compatibility profile. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+enable} & renderer should use opengl in core profile mode \\
\hline
\end{DoxyParams}


Definition at line 483 of file I\+Renderer.\+hh.

\mbox{\Hypertarget{a07468_a0882c3e0042439196f7c438fb8578416}\label{a07468_a0882c3e0042439196f7c438fb8578416}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!set\+Error\+Detection\+Level@{set\+Error\+Detection\+Level}}
\index{set\+Error\+Detection\+Level@{set\+Error\+Detection\+Level}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{set\+Error\+Detection\+Level()}{setErrorDetectionLevel()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::set\+Error\+Detection\+Level (\begin{DoxyParamCaption}\item[{int}]{\+\_\+level }\end{DoxyParamCaption})}



Control error detection for checking render objects. 

Levels\+: 0 -\/ disable error detection 1 -\/ fast check (obvious stuff that does not require much time to check) 2 -\/ intensive check (do additional check, possibly false positives and impact on performance)

Default level is 1


\begin{DoxyParams}{Parameters}
{\em \+\_\+level} & detection level \\
\hline
\end{DoxyParams}


Definition at line 1700 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a86adf19163a7d99f10b0ebc0deaae9bf}\label{a07468_a86adf19163a7d99f10b0ebc0deaae9bf}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!set\+Line\+Thickness\+Rendering\+G\+L42@{set\+Line\+Thickness\+Rendering\+G\+L42}}
\index{set\+Line\+Thickness\+Rendering\+G\+L42@{set\+Line\+Thickness\+Rendering\+G\+L42}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{set\+Line\+Thickness\+Rendering\+G\+L42()}{setLineThicknessRenderingGL42()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::set\+Line\+Thickness\+Rendering\+G\+L42 (\begin{DoxyParamCaption}\item[{bool}]{\+\_\+enable }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}

Enable/disable line thickness rendering with opengl4.\+2

Instead of quad extrusion in a geometry shader, thick lines are manually rasterized in a load/store image. This image is then composited with the back buffer. If the gpu does not support image load/store, the default quad extrusion is used anyway and this function has no effect.


\begin{DoxyParams}{Parameters}
{\em \+\_\+enable} & enable/disable \\
\hline
\end{DoxyParams}


Definition at line 1694 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a3a8f86f1c5c013e67351c5ee9477aafb}\label{a07468_a3a8f86f1c5c013e67351c5ee9477aafb}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!set\+Viewer\+ID@{set\+Viewer\+ID}}
\index{set\+Viewer\+ID@{set\+Viewer\+ID}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{set\+Viewer\+I\+D()}{setViewerID()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::set\+Viewer\+ID (\begin{DoxyParamCaption}\item[{int}]{\+\_\+viewer\+ID }\end{DoxyParamCaption})}



Set currently active viewer id. 

If the scenegraph makes use of the z-\/prepass feature and the application uses multiple viewports, the currently active viewport should be set prior rendering. Otherwise, this function can be ignored.


\begin{DoxyParams}{Parameters}
{\em \+\_\+viewer\+ID} & unique id of the current viewport (i.\+e. Viewer\+Properties\+::viewer\+I\+D() ) \\
\hline
\end{DoxyParams}


Definition at line 1519 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_a579364cc23d4f21e82f9b667dbe0febf}\label{a07468_a579364cc23d4f21e82f9b667dbe0febf}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!sort\+Render\+Objects@{sort\+Render\+Objects}}
\index{sort\+Render\+Objects@{sort\+Render\+Objects}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{sort\+Render\+Objects()}{sortRenderObjects()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::sort\+Render\+Objects (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Sort the renderobjects by priority. 

Sort array of renderobjects by priority and store the result in sorted\+Objects\+\_\+. 

Definition at line 839 of file I\+Renderer.\+cc.

\mbox{\Hypertarget{a07468_aae924c674e54b6393ecf3b4d13784034}\label{a07468_aae924c674e54b6393ecf3b4d13784034}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!traverse\+Renderable\+Nodes@{traverse\+Renderable\+Nodes}}
\index{traverse\+Renderable\+Nodes@{traverse\+Renderable\+Nodes}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{traverse\+Renderable\+Nodes()}{traverseRenderableNodes()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+I\+Renderer\+::traverse\+Renderable\+Nodes (\begin{DoxyParamCaption}\item[{\hyperlink{a07452}{A\+C\+G\+::\+G\+L\+State} $\ast$}]{\+\_\+gl\+State,  }\item[{\hyperlink{a07792}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode}}]{\+\_\+draw\+Mode,  }\item[{\hyperlink{a07748}{A\+C\+G\+::\+Scene\+Graph\+::\+Base\+Node} \&}]{\+\_\+node,  }\item[{const \hyperlink{a07828}{A\+C\+G\+::\+Scene\+Graph\+::\+Material} \&}]{\+\_\+mat }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Scene graph traversal for render object collection. 

Calls get\+Render\+Objects on each node of the scenegraph recursively.\+Calls get\+Render\+Objects on each node of the scenegraph recursively. Each node then triggers the callbacks. 

Definition at line 447 of file I\+Renderer.\+cc.



\subsection{Member Data Documentation}
\mbox{\Hypertarget{a07468_ad89ce1f415f0a611f7780280fc8abfc8}\label{a07468_ad89ce1f415f0a611f7780280fc8abfc8}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!depth\+Maps\+\_\+@{depth\+Maps\+\_\+}}
\index{depth\+Maps\+\_\+@{depth\+Maps\+\_\+}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{depth\+Maps\+\_\+}{depthMaps\_}}
{\footnotesize\ttfamily std\+::map$<$int, \hyperlink{a07304}{A\+C\+G\+::\+F\+BO}$\ast$$>$ A\+C\+G\+::\+I\+Renderer\+::depth\+Maps\+\_\+\hspace{0.3cm}{\ttfamily [protected]}}

Stores fbo containing a depth map for each viewport. The depth map is computed in a z-\/prepass if at least one \hyperlink{a07532}{Render\+Object} makes use of the scene depth map. (optional convenience feature) 

Definition at line 536 of file I\+Renderer.\+hh.

\mbox{\Hypertarget{a07468_af8ba3649b958395b85b965d99fd86663}\label{a07468_af8ba3649b958395b85b965d99fd86663}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!enable\+Line\+Thickness\+G\+L42\+\_\+@{enable\+Line\+Thickness\+G\+L42\+\_\+}}
\index{enable\+Line\+Thickness\+G\+L42\+\_\+@{enable\+Line\+Thickness\+G\+L42\+\_\+}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{enable\+Line\+Thickness\+G\+L42\+\_\+}{enableLineThicknessGL42\_}}
{\footnotesize\ttfamily bool A\+C\+G\+::\+I\+Renderer\+::enable\+Line\+Thickness\+G\+L42\+\_\+\hspace{0.3cm}{\ttfamily [private]}}



Enable/disable gl4.\+2 based technique for rendering thick lines. 

If enabled, default line objects are not returned via \hyperlink{a07468_a3c7b38bf11681ed2f30fb0cd5848e8aa}{get\+Render\+Object()}, but are rendered in \hyperlink{a07468_a9001168507700f0c9be585e473e00e57}{finish\+Rendering\+Pipeline()} just before drawing overlays. 

Definition at line 594 of file I\+Renderer.\+hh.

\mbox{\Hypertarget{a07468_afab16657ed3e67d9eedfb39f00efbda5}\label{a07468_afab16657ed3e67d9eedfb39f00efbda5}} 
\index{A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}!global\+Light\+Model\+Ambient\+\_\+@{global\+Light\+Model\+Ambient\+\_\+}}
\index{global\+Light\+Model\+Ambient\+\_\+@{global\+Light\+Model\+Ambient\+\_\+}!A\+C\+G\+::\+I\+Renderer@{A\+C\+G\+::\+I\+Renderer}}
\subsubsection{\texorpdfstring{global\+Light\+Model\+Ambient\+\_\+}{globalLightModelAmbient\_}}
{\footnotesize\ttfamily \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} A\+C\+G\+::\+I\+Renderer\+::global\+Light\+Model\+Ambient\+\_\+\hspace{0.3cm}{\ttfamily [protected]}}

ambient color scale for global light\+: this is set via gl\+Light\+Model(\+G\+L\+\_\+\+L\+I\+G\+H\+T\+\_\+\+M\+O\+D\+E\+L\+\_\+\+A\+M\+B\+I\+E\+N\+T, scale) 

Definition at line 506 of file I\+Renderer.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+G\+L/I\+Renderer.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+G\+L/I\+Renderer.\+cc\end{DoxyCompactItemize}
