\hypertarget{a11116}{}\section{Peel\+Layer\+Modifier Class Reference}
\label{a11116}\index{Peel\+Layer\+Modifier@{Peel\+Layer\+Modifier}}
Inheritance diagram for Peel\+Layer\+Modifier\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a11116}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a11116_a72be1c05b31ef4b3088fa8994aaa2608}{modify\+Fragment\+IO} (\hyperlink{a07568}{Shader\+Generator} $\ast$\+\_\+shader)
\begin{DoxyCompactList}\small\item\em Add your own inputs/outputs to the fragment shader. \end{DoxyCompactList}\item 
void \hyperlink{a11116_af45caec64259f9a4ab1c26c52f551d81}{modify\+Fragment\+Begin\+Code} (Q\+String\+List $\ast$\+\_\+code)
\begin{DoxyCompactList}\small\item\em Append code the the fragment shader. \end{DoxyCompactList}\item 
void \hyperlink{a11116_a8bf411eaeda3051cd02acdd33e888aa9}{modify\+Fragment\+End\+Code} (Q\+String\+List $\ast$\+\_\+code)
\begin{DoxyCompactList}\small\item\em Append code the the fragment shader. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11116_ac8d6e615be3a568e17ee58fea159c192}\label{a11116_ac8d6e615be3a568e17ee58fea159c192}} 
static \hyperlink{a11116}{Peel\+Layer\+Modifier} {\bfseries instance}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 62 of file Depth\+Peeling.\+cc.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a11116_af45caec64259f9a4ab1c26c52f551d81}\label{a11116_af45caec64259f9a4ab1c26c52f551d81}} 
\index{Peel\+Layer\+Modifier@{Peel\+Layer\+Modifier}!modify\+Fragment\+Begin\+Code@{modify\+Fragment\+Begin\+Code}}
\index{modify\+Fragment\+Begin\+Code@{modify\+Fragment\+Begin\+Code}!Peel\+Layer\+Modifier@{Peel\+Layer\+Modifier}}
\subsubsection{\texorpdfstring{modify\+Fragment\+Begin\+Code()}{modifyFragmentBeginCode()}}
{\footnotesize\ttfamily void Peel\+Layer\+Modifier\+::modify\+Fragment\+Begin\+Code (\begin{DoxyParamCaption}\item[{Q\+String\+List $\ast$}]{\+\_\+code }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Append code the the fragment 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_a70fe99b722072abb212f210b75e11b4b}{A\+C\+G\+::\+Shader\+Modifier}.



Definition at line 74 of file Depth\+Peeling.\+cc.

\mbox{\Hypertarget{a11116_a8bf411eaeda3051cd02acdd33e888aa9}\label{a11116_a8bf411eaeda3051cd02acdd33e888aa9}} 
\index{Peel\+Layer\+Modifier@{Peel\+Layer\+Modifier}!modify\+Fragment\+End\+Code@{modify\+Fragment\+End\+Code}}
\index{modify\+Fragment\+End\+Code@{modify\+Fragment\+End\+Code}!Peel\+Layer\+Modifier@{Peel\+Layer\+Modifier}}
\subsubsection{\texorpdfstring{modify\+Fragment\+End\+Code()}{modifyFragmentEndCode()}}
{\footnotesize\ttfamily void Peel\+Layer\+Modifier\+::modify\+Fragment\+End\+Code (\begin{DoxyParamCaption}\item[{Q\+String\+List $\ast$}]{\+\_\+code }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Append code the the fragment 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_a25b1e0be6dd4a8365ecb1c72da21d310}{A\+C\+G\+::\+Shader\+Modifier}.



Definition at line 81 of file Depth\+Peeling.\+cc.

\mbox{\Hypertarget{a11116_a72be1c05b31ef4b3088fa8994aaa2608}\label{a11116_a72be1c05b31ef4b3088fa8994aaa2608}} 
\index{Peel\+Layer\+Modifier@{Peel\+Layer\+Modifier}!modify\+Fragment\+IO@{modify\+Fragment\+IO}}
\index{modify\+Fragment\+IO@{modify\+Fragment\+IO}!Peel\+Layer\+Modifier@{Peel\+Layer\+Modifier}}
\subsubsection{\texorpdfstring{modify\+Fragment\+I\+O()}{modifyFragmentIO()}}
{\footnotesize\ttfamily void Peel\+Layer\+Modifier\+::modify\+Fragment\+IO (\begin{DoxyParamCaption}\item[{\hyperlink{a07568}{Shader\+Generator} $\ast$}]{\+\_\+shader }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Add your own inputs/outputs to the fragment shader. 

your implementation may look like this\+:


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



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


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



Definition at line 67 of file Depth\+Peeling.\+cc.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Plugin\+Collection-\/\+Renderers/\+Plugin-\/\+Render-\/\+Depth\+Peeling/Depth\+Peeling.\+cc\end{DoxyCompactItemize}
