\hypertarget{a01157}{\section{A\+C\+G\+:\+:Scene\+Graph\+:\+:A\+C\+G\+:\+:Shader\+Gen\+Desc Class Reference}
\label{a01157}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc}}
}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{a01306}{Texture\+Type}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01157_a6f0ffc713c9643d7b743d1334995b276}{Q\+String \hyperlink{a01157_a6f0ffc713c9643d7b743d1334995b276}{to\+String} () const }\label{a01157_a6f0ffc713c9643d7b743d1334995b276}

\begin{DoxyCompactList}\small\item\em convert \hyperlink{a01157}{Shader\+Gen\+Desc} to string format for debugging \end{DoxyCompactList}\item 
\hypertarget{a01157_ad630ce5d5ba8d096fe9785da62b64b26}{const std\+::map$<$ size\+\_\+t, \\*
\hyperlink{a01306}{Texture\+Type} $>$ \& {\bfseries texture\+Types} () const }\label{a01157_ad630ce5d5ba8d096fe9785da62b64b26}

\item 
void \hyperlink{a01157_abaa2eec38eeddc5d8186ad4b46f5d8ee}{add\+Texture\+Type} (G\+Lenum \+\_\+type, bool \+\_\+shadow, size\+\_\+t \+\_\+stage)
\begin{DoxyCompactList}\small\item\em adds a texture type to the shader and enables texturing. \end{DoxyCompactList}\item 
\hypertarget{a01157_ae53229981a3efc67e9198c9972946a70}{void \hyperlink{a01157_ae53229981a3efc67e9198c9972946a70}{clear\+Textures} ()}\label{a01157_ae53229981a3efc67e9198c9972946a70}

\begin{DoxyCompactList}\small\item\em disables texture support and removes all texture types \end{DoxyCompactList}\item 
\hypertarget{a01157_a0fc12c9bc2f222b7e2166f90eef39b3e}{bool {\bfseries textured} () const }\label{a01157_a0fc12c9bc2f222b7e2166f90eef39b3e}

\item 
\hypertarget{a01157_ab7876e9b02f13119c6f663f2036f1c8b}{void {\bfseries enable\+Tex\+Gen\+Object\+Linear} (int \+\_\+dim=2)}\label{a01157_ab7876e9b02f13119c6f663f2036f1c8b}

\item 
\hypertarget{a01157_aaf74677477fe8e9f30a518bf9af48624}{void {\bfseries enable\+Tex\+Gen\+Eye\+Linear} (int \+\_\+dim=2)}\label{a01157_aaf74677477fe8e9f30a518bf9af48624}

\item 
\hypertarget{a01157_a9627d43c50643430df53085835e7d6ab}{void {\bfseries enable\+Tex\+Gen\+Spherical\+Map} (int \+\_\+dim=2)}\label{a01157_a9627d43c50643430df53085835e7d6ab}

\item 
\hypertarget{a01157_ade6934c59a6c1175e9d90a02060198ed}{void {\bfseries enable\+Tex\+Gen\+Normal\+Map} (int \+\_\+dim=3)}\label{a01157_ade6934c59a6c1175e9d90a02060198ed}

\item 
\hypertarget{a01157_aef841897c1db9d632f8a7221198110f6}{void {\bfseries enable\+Tex\+Gen\+Reflection\+Map} (int \+\_\+dim=3)}\label{a01157_aef841897c1db9d632f8a7221198110f6}

\item 
\hypertarget{a01157_ae3a6973cf34bdcfe8b31e0c3d61ccf44}{void {\bfseries disable\+Tex\+Gen} ()}\label{a01157_ae3a6973cf34bdcfe8b31e0c3d61ccf44}

\item 
\hypertarget{a01157_ac0c5577a1063b95e4461b7c15a01dd3f}{bool {\bfseries operator==} (const \hyperlink{a01157}{Shader\+Gen\+Desc} \&\+\_\+rhs) const }\label{a01157_ac0c5577a1063b95e4461b7c15a01dd3f}

\item 
\hypertarget{a01157_a6f0ffc713c9643d7b743d1334995b276}{Q\+String \hyperlink{a01157_a6f0ffc713c9643d7b743d1334995b276}{to\+String} () const }\label{a01157_a6f0ffc713c9643d7b743d1334995b276}

\begin{DoxyCompactList}\small\item\em convert \hyperlink{a01157}{Shader\+Gen\+Desc} to string format for debugging \end{DoxyCompactList}\item 
\hypertarget{a01157_ad630ce5d5ba8d096fe9785da62b64b26}{const std\+::map$<$ size\+\_\+t, \\*
\hyperlink{a01306}{Texture\+Type} $>$ \& {\bfseries texture\+Types} () const }\label{a01157_ad630ce5d5ba8d096fe9785da62b64b26}

\item 
void \hyperlink{a01157_abaa2eec38eeddc5d8186ad4b46f5d8ee}{add\+Texture\+Type} (G\+Lenum \+\_\+type, bool \+\_\+shadow, size\+\_\+t \+\_\+stage)
\begin{DoxyCompactList}\small\item\em adds a texture type to the shader and enables texturing. \end{DoxyCompactList}\item 
\hypertarget{a01157_ae53229981a3efc67e9198c9972946a70}{void \hyperlink{a01157_ae53229981a3efc67e9198c9972946a70}{clear\+Textures} ()}\label{a01157_ae53229981a3efc67e9198c9972946a70}

\begin{DoxyCompactList}\small\item\em disables texture support and removes all texture types \end{DoxyCompactList}\item 
\hypertarget{a01157_a0fc12c9bc2f222b7e2166f90eef39b3e}{bool {\bfseries textured} () const }\label{a01157_a0fc12c9bc2f222b7e2166f90eef39b3e}

\item 
\hypertarget{a01157_ab7876e9b02f13119c6f663f2036f1c8b}{void {\bfseries enable\+Tex\+Gen\+Object\+Linear} (int \+\_\+dim=2)}\label{a01157_ab7876e9b02f13119c6f663f2036f1c8b}

\item 
\hypertarget{a01157_aaf74677477fe8e9f30a518bf9af48624}{void {\bfseries enable\+Tex\+Gen\+Eye\+Linear} (int \+\_\+dim=2)}\label{a01157_aaf74677477fe8e9f30a518bf9af48624}

\item 
\hypertarget{a01157_a9627d43c50643430df53085835e7d6ab}{void {\bfseries enable\+Tex\+Gen\+Spherical\+Map} (int \+\_\+dim=2)}\label{a01157_a9627d43c50643430df53085835e7d6ab}

\item 
\hypertarget{a01157_ade6934c59a6c1175e9d90a02060198ed}{void {\bfseries enable\+Tex\+Gen\+Normal\+Map} (int \+\_\+dim=3)}\label{a01157_ade6934c59a6c1175e9d90a02060198ed}

\item 
\hypertarget{a01157_aef841897c1db9d632f8a7221198110f6}{void {\bfseries enable\+Tex\+Gen\+Reflection\+Map} (int \+\_\+dim=3)}\label{a01157_aef841897c1db9d632f8a7221198110f6}

\item 
\hypertarget{a01157_ae3a6973cf34bdcfe8b31e0c3d61ccf44}{void {\bfseries disable\+Tex\+Gen} ()}\label{a01157_ae3a6973cf34bdcfe8b31e0c3d61ccf44}

\item 
\hypertarget{a01157_ac0c5577a1063b95e4461b7c15a01dd3f}{bool {\bfseries operator==} (const \hyperlink{a01157}{Shader\+Gen\+Desc} \&\+\_\+rhs) const }\label{a01157_ac0c5577a1063b95e4461b7c15a01dd3f}

\item 
\hypertarget{a01157_a6f0ffc713c9643d7b743d1334995b276}{Q\+String \hyperlink{a01157_a6f0ffc713c9643d7b743d1334995b276}{to\+String} () const }\label{a01157_a6f0ffc713c9643d7b743d1334995b276}

\begin{DoxyCompactList}\small\item\em convert \hyperlink{a01157}{Shader\+Gen\+Desc} to string format for debugging \end{DoxyCompactList}\item 
\hypertarget{a01157_ad630ce5d5ba8d096fe9785da62b64b26}{const std\+::map$<$ size\+\_\+t, \\*
\hyperlink{a01306}{Texture\+Type} $>$ \& {\bfseries texture\+Types} () const }\label{a01157_ad630ce5d5ba8d096fe9785da62b64b26}

\item 
void \hyperlink{a01157_abaa2eec38eeddc5d8186ad4b46f5d8ee}{add\+Texture\+Type} (G\+Lenum \+\_\+type, bool \+\_\+shadow, size\+\_\+t \+\_\+stage)
\begin{DoxyCompactList}\small\item\em adds a texture type to the shader and enables texturing. \end{DoxyCompactList}\item 
\hypertarget{a01157_ae53229981a3efc67e9198c9972946a70}{void \hyperlink{a01157_ae53229981a3efc67e9198c9972946a70}{clear\+Textures} ()}\label{a01157_ae53229981a3efc67e9198c9972946a70}

\begin{DoxyCompactList}\small\item\em disables texture support and removes all texture types \end{DoxyCompactList}\item 
\hypertarget{a01157_a0fc12c9bc2f222b7e2166f90eef39b3e}{bool {\bfseries textured} () const }\label{a01157_a0fc12c9bc2f222b7e2166f90eef39b3e}

\item 
\hypertarget{a01157_ab7876e9b02f13119c6f663f2036f1c8b}{void {\bfseries enable\+Tex\+Gen\+Object\+Linear} (int \+\_\+dim=2)}\label{a01157_ab7876e9b02f13119c6f663f2036f1c8b}

\item 
\hypertarget{a01157_aaf74677477fe8e9f30a518bf9af48624}{void {\bfseries enable\+Tex\+Gen\+Eye\+Linear} (int \+\_\+dim=2)}\label{a01157_aaf74677477fe8e9f30a518bf9af48624}

\item 
\hypertarget{a01157_a9627d43c50643430df53085835e7d6ab}{void {\bfseries enable\+Tex\+Gen\+Spherical\+Map} (int \+\_\+dim=2)}\label{a01157_a9627d43c50643430df53085835e7d6ab}

\item 
\hypertarget{a01157_ade6934c59a6c1175e9d90a02060198ed}{void {\bfseries enable\+Tex\+Gen\+Normal\+Map} (int \+\_\+dim=3)}\label{a01157_ade6934c59a6c1175e9d90a02060198ed}

\item 
\hypertarget{a01157_aef841897c1db9d632f8a7221198110f6}{void {\bfseries enable\+Tex\+Gen\+Reflection\+Map} (int \+\_\+dim=3)}\label{a01157_aef841897c1db9d632f8a7221198110f6}

\item 
\hypertarget{a01157_ae3a6973cf34bdcfe8b31e0c3d61ccf44}{void {\bfseries disable\+Tex\+Gen} ()}\label{a01157_ae3a6973cf34bdcfe8b31e0c3d61ccf44}

\item 
\hypertarget{a01157_ac0c5577a1063b95e4461b7c15a01dd3f}{bool {\bfseries operator==} (const \hyperlink{a01157}{Shader\+Gen\+Desc} \&\+\_\+rhs) const }\label{a01157_ac0c5577a1063b95e4461b7c15a01dd3f}

\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01157_ae98a7622ec6104d93b220f6bab9368c7}{int {\bfseries version}}\label{a01157_ae98a7622ec6104d93b220f6bab9368c7}

\item 
\hypertarget{a01157_aa279a803de51aeca778b1ab8106b6407}{int {\bfseries num\+Lights}}\label{a01157_aa279a803de51aeca778b1ab8106b6407}

\item 
\hypertarget{a01157_a83de5b9f12eac06ae2b8448cd0dc441d}{Shader\+Gen\+Light\+Type {\bfseries light\+Types} \mbox{[}S\+G\+\_\+\+M\+A\+X\+\_\+\+S\+H\+A\+D\+E\+R\+\_\+\+L\+I\+G\+H\+T\+S\mbox{]}}\label{a01157_a83de5b9f12eac06ae2b8448cd0dc441d}

\item 
\hypertarget{a01157_a06b0df5dc3dd38349022cbe378e75d18}{Shader\+Gen\+Shade\+Mode {\bfseries shade\+Mode}}\label{a01157_a06b0df5dc3dd38349022cbe378e75d18}

\item 
\hypertarget{a01157_adf5e22918a7b38d311cf5ea3fb720a17}{bool {\bfseries vertex\+Colors}}\label{a01157_adf5e22918a7b38d311cf5ea3fb720a17}

\item 
\hypertarget{a01157_a64a0243c895322efadcfec8ac5bfb952}{Q\+String {\bfseries vertex\+Template\+File}}\label{a01157_a64a0243c895322efadcfec8ac5bfb952}

\item 
\hypertarget{a01157_a6b11c68bcf7451f57a12c04e8876ab60}{Q\+String {\bfseries tess\+Control\+Template\+File}}\label{a01157_a6b11c68bcf7451f57a12c04e8876ab60}

\item 
\hypertarget{a01157_ab1fdee74b06dfa6a2fa5dc6a9155d605}{Q\+String {\bfseries tess\+Evaluation\+Template\+File}}\label{a01157_ab1fdee74b06dfa6a2fa5dc6a9155d605}

\item 
\hypertarget{a01157_a2f6d93009fad447d6123dafc20b4c5a1}{Q\+String {\bfseries geometry\+Template\+File}}\label{a01157_a2f6d93009fad447d6123dafc20b4c5a1}

\item 
\hypertarget{a01157_af788b0b8e78f2b9a492cac22d99f32d3}{Q\+String {\bfseries fragment\+Template\+File}}\label{a01157_af788b0b8e78f2b9a492cac22d99f32d3}

\item 
\hypertarget{a01157_a7082d923f101399c91b5bcb5777308c8}{Q\+String\+List {\bfseries macros}}\label{a01157_a7082d923f101399c91b5bcb5777308c8}

\item 
\hypertarget{a01157_ac379e076596cc0aabe8458a9862e34f2}{bool \hyperlink{a01157_ac379e076596cc0aabe8458a9862e34f2}{normalize\+Tex\+Colors}}\label{a01157_ac379e076596cc0aabe8458a9862e34f2}

\begin{DoxyCompactList}\small\item\em Defines if the texture\+Variable is normalized or not, if multiple textures are used. \end{DoxyCompactList}\item 
\hypertarget{a01157_a0ceb5c86a2ae0b2fe3a4e9500608aea7}{Q\+String \hyperlink{a01157_a0ceb5c86a2ae0b2fe3a4e9500608aea7}{vertex\+Colors\+Interpolator}}\label{a01157_a0ceb5c86a2ae0b2fe3a4e9500608aea7}

\begin{DoxyCompactList}\small\item\em interpolation qualifier for input vertex colors\+: \char`\"{}flat\char`\"{}, \char`\"{}smooth\char`\"{}, \char`\"{}noperspective\char`\"{} \end{DoxyCompactList}\item 
\hypertarget{a01157_a6456839276a0e88f48a0e19d3e9e2946}{G\+Lenum {\bfseries color\+Material\+Mode}}\label{a01157_a6456839276a0e88f48a0e19d3e9e2946}

\item 
\hypertarget{a01157_ad582aa34290faa76b10b37e143861c4b}{int {\bfseries tex\+Gen\+Dim}}\label{a01157_ad582aa34290faa76b10b37e143861c4b}

\item 
\hypertarget{a01157_a8c4133954eed94c177975085640ac069}{G\+Lenum {\bfseries tex\+Gen\+Mode}}\label{a01157_a8c4133954eed94c177975085640ac069}

\item 
\hypertarget{a01157_ade4deaeb96d8b9c7489e7275d97d5642}{bool {\bfseries tex\+Gen\+Per\+Fragment}}\label{a01157_ade4deaeb96d8b9c7489e7275d97d5642}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01157_a6a8dc75d65c6d8f6adfe3dce7ee6af1b}{std\+::map$<$ size\+\_\+t, \hyperlink{a01306}{Texture\+Type} $>$ \hyperlink{a01157_a6a8dc75d65c6d8f6adfe3dce7ee6af1b}{texture\+Types\+\_\+}}\label{a01157_a6a8dc75d65c6d8f6adfe3dce7ee6af1b}

\begin{DoxyCompactList}\small\item\em holds the texture types (second) and the stage id (first). if empty, shader does not support textures \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 89 of file Mesh\+Node2\+T.\+cc.



\subsection{Member Function Documentation}
\hypertarget{a01157_abaa2eec38eeddc5d8186ad4b46f5d8ee}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc}!add\+Texture\+Type@{add\+Texture\+Type}}
\index{add\+Texture\+Type@{add\+Texture\+Type}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc}}
\subsubsection[{add\+Texture\+Type}]{\setlength{\rightskip}{0pt plus 5cm}void A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc\+::add\+Texture\+Type (
\begin{DoxyParamCaption}
\item[{G\+Lenum}]{\+\_\+type, }
\item[{bool}]{\+\_\+shadow, }
\item[{size\+\_\+t}]{\+\_\+stage}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{a01157_abaa2eec38eeddc5d8186ad4b46f5d8ee}


adds a texture type to the shader and enables texturing. 



Definition at line 191 of file Mesh\+Node2\+T.\+cc.

\hypertarget{a01157_abaa2eec38eeddc5d8186ad4b46f5d8ee}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc}!add\+Texture\+Type@{add\+Texture\+Type}}
\index{add\+Texture\+Type@{add\+Texture\+Type}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc}}
\subsubsection[{add\+Texture\+Type}]{\setlength{\rightskip}{0pt plus 5cm}void A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc\+::add\+Texture\+Type (
\begin{DoxyParamCaption}
\item[{G\+Lenum}]{\+\_\+type, }
\item[{bool}]{\+\_\+shadow, }
\item[{size\+\_\+t}]{\+\_\+stage}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{a01157_abaa2eec38eeddc5d8186ad4b46f5d8ee}


adds a texture type to the shader and enables texturing. 



Definition at line 191 of file Mesh\+Node2\+T.\+cc.

\hypertarget{a01157_abaa2eec38eeddc5d8186ad4b46f5d8ee}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc}!add\+Texture\+Type@{add\+Texture\+Type}}
\index{add\+Texture\+Type@{add\+Texture\+Type}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc}}
\subsubsection[{add\+Texture\+Type}]{\setlength{\rightskip}{0pt plus 5cm}void A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Shader\+Gen\+Desc\+::add\+Texture\+Type (
\begin{DoxyParamCaption}
\item[{G\+Lenum}]{\+\_\+type, }
\item[{bool}]{\+\_\+shadow, }
\item[{size\+\_\+t}]{\+\_\+stage}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{a01157_abaa2eec38eeddc5d8186ad4b46f5d8ee}


adds a texture type to the shader and enables texturing. 



Definition at line 191 of file Mesh\+Node2\+T.\+cc.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+Scenegraph/Mesh\+Node2\+T.\+cc\end{DoxyCompactItemize}
