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

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


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



\subsection{Member Function Documentation}
\hypertarget{a00952_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[{modify\+Fragment\+Begin\+Code}]{\setlength{\rightskip}{0pt plus 5cm}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]}}}\label{a00952_af45caec64259f9a4ab1c26c52f551d81}


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{a01163_a70fe99b722072abb212f210b75e11b4b}{A\+C\+G\+::\+Shader\+Modifier}.



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

\hypertarget{a00952_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[{modify\+Fragment\+End\+Code}]{\setlength{\rightskip}{0pt plus 5cm}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]}}}\label{a00952_a8bf411eaeda3051cd02acdd33e888aa9}


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{a01163_a25b1e0be6dd4a8365ecb1c72da21d310}{A\+C\+G\+::\+Shader\+Modifier}.



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

\hypertarget{a00952_a72be1c05b31ef4b3088fa8994aaa2608}{\index{Peel\+Layer\+Modifier@{Peel\+Layer\+Modifier}!modify\+Fragment\+I\+O@{modify\+Fragment\+I\+O}}
\index{modify\+Fragment\+I\+O@{modify\+Fragment\+I\+O}!Peel\+Layer\+Modifier@{Peel\+Layer\+Modifier}}
\subsubsection[{modify\+Fragment\+I\+O}]{\setlength{\rightskip}{0pt plus 5cm}void Peel\+Layer\+Modifier\+::modify\+Fragment\+I\+O (
\begin{DoxyParamCaption}
\item[{{\bf Shader\+Generator} $\ast$}]{\+\_\+shader}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00952_a72be1c05b31ef4b3088fa8994aaa2608}


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{a01163_ae720c7104306f1e696e690760b928048}{A\+C\+G\+::\+Shader\+Modifier}.



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