\hypertarget{classPeelInitModifier}{}\section{Peel\+Init\+Modifier Class Reference}
\label{classPeelInitModifier}\index{Peel\+Init\+Modifier@{Peel\+Init\+Modifier}}
Inheritance diagram for Peel\+Init\+Modifier\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classPeelInitModifier}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classPeelInitModifier_af78f07838d5bdc7dffba95b29abade7d}{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{classPeelInitModifier_ad37b82ee9095d802ab3a449cc8e39d7d}{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{classPeelInitModifier_ac58f2bee3a4d7ede6f893f02bde5120e}\label{classPeelInitModifier_ac58f2bee3a4d7ede6f893f02bde5120e}} 
static \hyperlink{classPeelInitModifier}{Peel\+Init\+Modifier} {\bfseries instance}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classPeelInitModifier_ad37b82ee9095d802ab3a449cc8e39d7d}\label{classPeelInitModifier_ad37b82ee9095d802ab3a449cc8e39d7d}} 
\index{Peel\+Init\+Modifier@{Peel\+Init\+Modifier}!modify\+Fragment\+End\+Code@{modify\+Fragment\+End\+Code}}
\index{modify\+Fragment\+End\+Code@{modify\+Fragment\+End\+Code}!Peel\+Init\+Modifier@{Peel\+Init\+Modifier}}
\subsubsection{\texorpdfstring{modify\+Fragment\+End\+Code()}{modifyFragmentEndCode()}}
{\footnotesize\ttfamily void Peel\+Init\+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 100 of file Depth\+Peeling.\+cc.

\mbox{\Hypertarget{classPeelInitModifier_af78f07838d5bdc7dffba95b29abade7d}\label{classPeelInitModifier_af78f07838d5bdc7dffba95b29abade7d}} 
\index{Peel\+Init\+Modifier@{Peel\+Init\+Modifier}!modify\+Fragment\+IO@{modify\+Fragment\+IO}}
\index{modify\+Fragment\+IO@{modify\+Fragment\+IO}!Peel\+Init\+Modifier@{Peel\+Init\+Modifier}}
\subsubsection{\texorpdfstring{modify\+Fragment\+I\+O()}{modifyFragmentIO()}}
{\footnotesize\ttfamily void Peel\+Init\+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 95 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}
