\hypertarget{a07768}{}\section{A\+CG\+:\+:Scene\+Graph\+:\+:Clipping\+Node\+:\+:Clipping\+Shader\+Modifier Class Reference}
\label{a07768}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Clipping\+Node\+::\+Clipping\+Shader\+Modifier@{A\+C\+G\+::\+Scene\+Graph\+::\+Clipping\+Node\+::\+Clipping\+Shader\+Modifier}}
Inheritance diagram for A\+CG\+:\+:Scene\+Graph\+:\+:Clipping\+Node\+:\+:Clipping\+Shader\+Modifier\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a07768}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07768_a9b35c7a7c899a84fef0dc12c3758db75}\label{a07768_a9b35c7a7c899a84fef0dc12c3758db75}} 
{\bfseries Clipping\+Shader\+Modifier} (int \+\_\+num\+Clip\+Planes)
\item 
void \hyperlink{a07768_a9bd4815ec74a2844c3ff2479481fcd6a}{modify\+Vertex\+IO} (\hyperlink{a07568}{Shader\+Generator} $\ast$\+\_\+shader)
\begin{DoxyCompactList}\small\item\em Add your own inputs/outputs to the vertex shader. \end{DoxyCompactList}\item 
void \hyperlink{a07768_ad0ef566e11007578eb6546a6623eacf0}{modify\+Vertex\+Begin\+Code} (Q\+String\+List $\ast$\+\_\+code)
\begin{DoxyCompactList}\small\item\em Append code the the vertex shader. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07768_aca8fa30b93de26ed3a79f2214007bd7e}\label{a07768_aca8fa30b93de26ed3a79f2214007bd7e}} 
int {\bfseries num\+Clip\+Planes\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 163 of file Clipping\+Node.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a07768_ad0ef566e11007578eb6546a6623eacf0}\label{a07768_ad0ef566e11007578eb6546a6623eacf0}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Clipping\+Node\+::\+Clipping\+Shader\+Modifier@{A\+C\+G\+::\+Scene\+Graph\+::\+Clipping\+Node\+::\+Clipping\+Shader\+Modifier}!modify\+Vertex\+Begin\+Code@{modify\+Vertex\+Begin\+Code}}
\index{modify\+Vertex\+Begin\+Code@{modify\+Vertex\+Begin\+Code}!A\+C\+G\+::\+Scene\+Graph\+::\+Clipping\+Node\+::\+Clipping\+Shader\+Modifier@{A\+C\+G\+::\+Scene\+Graph\+::\+Clipping\+Node\+::\+Clipping\+Shader\+Modifier}}
\subsubsection{\texorpdfstring{modify\+Vertex\+Begin\+Code()}{modifyVertexBeginCode()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Scene\+Graph\+::\+Clipping\+Node\+::\+Clipping\+Shader\+Modifier\+::modify\+Vertex\+Begin\+Code (\begin{DoxyParamCaption}\item[{Q\+String\+List $\ast$}]{\+\_\+code }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Append code the the vertex shader. 

Refer to the generation structure (\hyperlink{ShaderGenerator_page}{Shader Generator} ) to see where your code is added and which variables you can modify. Use 
\begin{DoxyCode}
\_code->push\_back(\textcolor{stringliteral}{"..."});
\end{DoxyCode}
 to insert your code here.


\begin{DoxyParams}{Parameters}
{\em \+\_\+code} & string list of shader code. \\
\hline
\end{DoxyParams}


Reimplemented from \hyperlink{a07580_a501dd2d58dd6427bc91e39d89c94b94e}{A\+C\+G\+::\+Shader\+Modifier}.



Definition at line 208 of file Clipping\+Node.\+cc.

\mbox{\Hypertarget{a07768_a9bd4815ec74a2844c3ff2479481fcd6a}\label{a07768_a9bd4815ec74a2844c3ff2479481fcd6a}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Clipping\+Node\+::\+Clipping\+Shader\+Modifier@{A\+C\+G\+::\+Scene\+Graph\+::\+Clipping\+Node\+::\+Clipping\+Shader\+Modifier}!modify\+Vertex\+IO@{modify\+Vertex\+IO}}
\index{modify\+Vertex\+IO@{modify\+Vertex\+IO}!A\+C\+G\+::\+Scene\+Graph\+::\+Clipping\+Node\+::\+Clipping\+Shader\+Modifier@{A\+C\+G\+::\+Scene\+Graph\+::\+Clipping\+Node\+::\+Clipping\+Shader\+Modifier}}
\subsubsection{\texorpdfstring{modify\+Vertex\+I\+O()}{modifyVertexIO()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Scene\+Graph\+::\+Clipping\+Node\+::\+Clipping\+Shader\+Modifier\+::modify\+Vertex\+IO (\begin{DoxyParamCaption}\item[{\hyperlink{a07568}{Shader\+Generator} $\ast$}]{\+\_\+shader }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Add your own inputs/outputs to the vertex shader. 

Your implementation may look like this\+:


\begin{DoxyCode}
\_shader->addInput(\textcolor{stringliteral}{"vec4 inTangent"});
\_shader->addUniform(\textcolor{stringliteral}{"vec4 shaderParam"});
\end{DoxyCode}



\begin{DoxyParams}{Parameters}
{\em \+\_\+shader} & shader interface \\
\hline
\end{DoxyParams}


Reimplemented from \hyperlink{a07580_a0692498de2b752b70b8ac3afcbfb5212}{A\+C\+G\+::\+Shader\+Modifier}.



Definition at line 201 of file Clipping\+Node.\+cc.



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