\hypertarget{classPeelDualLayerModifier}{}\section{Peel\+Dual\+Layer\+Modifier Class Reference}
\label{classPeelDualLayerModifier}\index{Peel\+Dual\+Layer\+Modifier@{Peel\+Dual\+Layer\+Modifier}}
Inheritance diagram for Peel\+Dual\+Layer\+Modifier\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classPeelDualLayerModifier}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classPeelDualLayerModifier_a33b6b1ae2d58336249113668ba290614}{modify\+Fragment\+IO} (\hyperlink{classACG_1_1ShaderGenerator}{Shader\+Generator} $\ast$\+\_\+shader)
\begin{DoxyCompactList}\small\item\em Add your own inputs/outputs to the fragment shader. \end{DoxyCompactList}\item 
void \hyperlink{classPeelDualLayerModifier_af2e9880ddf838a57035674ee9fd2cf00}{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{classPeelDualLayerModifier_a10eea4a556f4dd572f88b404252a2066}{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{classPeelDualLayerModifier_acce3438c7b5c631cf335801f57c4508f}\label{classPeelDualLayerModifier_acce3438c7b5c631cf335801f57c4508f}} 
static \hyperlink{classPeelDualLayerModifier}{Peel\+Dual\+Layer\+Modifier} {\bfseries instance}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classPeelDualLayerModifier_af2e9880ddf838a57035674ee9fd2cf00}\label{classPeelDualLayerModifier_af2e9880ddf838a57035674ee9fd2cf00}} 
\index{Peel\+Dual\+Layer\+Modifier@{Peel\+Dual\+Layer\+Modifier}!modify\+Fragment\+Begin\+Code@{modify\+Fragment\+Begin\+Code}}
\index{modify\+Fragment\+Begin\+Code@{modify\+Fragment\+Begin\+Code}!Peel\+Dual\+Layer\+Modifier@{Peel\+Dual\+Layer\+Modifier}}
\subsubsection{\texorpdfstring{modify\+Fragment\+Begin\+Code()}{modifyFragmentBeginCode()}}
{\footnotesize\ttfamily void Peel\+Dual\+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{classACG_1_1ShaderModifier_a70fe99b722072abb212f210b75e11b4b}{A\+C\+G\+::\+Shader\+Modifier}.



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

\mbox{\Hypertarget{classPeelDualLayerModifier_a10eea4a556f4dd572f88b404252a2066}\label{classPeelDualLayerModifier_a10eea4a556f4dd572f88b404252a2066}} 
\index{Peel\+Dual\+Layer\+Modifier@{Peel\+Dual\+Layer\+Modifier}!modify\+Fragment\+End\+Code@{modify\+Fragment\+End\+Code}}
\index{modify\+Fragment\+End\+Code@{modify\+Fragment\+End\+Code}!Peel\+Dual\+Layer\+Modifier@{Peel\+Dual\+Layer\+Modifier}}
\subsubsection{\texorpdfstring{modify\+Fragment\+End\+Code()}{modifyFragmentEndCode()}}
{\footnotesize\ttfamily void Peel\+Dual\+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{classACG_1_1ShaderModifier_a25b1e0be6dd4a8365ecb1c72da21d310}{A\+C\+G\+::\+Shader\+Modifier}.



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

\mbox{\Hypertarget{classPeelDualLayerModifier_a33b6b1ae2d58336249113668ba290614}\label{classPeelDualLayerModifier_a33b6b1ae2d58336249113668ba290614}} 
\index{Peel\+Dual\+Layer\+Modifier@{Peel\+Dual\+Layer\+Modifier}!modify\+Fragment\+IO@{modify\+Fragment\+IO}}
\index{modify\+Fragment\+IO@{modify\+Fragment\+IO}!Peel\+Dual\+Layer\+Modifier@{Peel\+Dual\+Layer\+Modifier}}
\subsubsection{\texorpdfstring{modify\+Fragment\+I\+O()}{modifyFragmentIO()}}
{\footnotesize\ttfamily void Peel\+Dual\+Layer\+Modifier\+::modify\+Fragment\+IO (\begin{DoxyParamCaption}\item[{\hyperlink{classACG_1_1ShaderGenerator}{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{classACG_1_1ShaderModifier_ae720c7104306f1e696e690760b928048}{A\+C\+G\+::\+Shader\+Modifier}.



Definition at line 114 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}
