\hypertarget{class_ogre_1_1_pass}{}\doxysection{Ogre\+::Pass Class Reference}
\label{class_ogre_1_1_pass}\index{Ogre::Pass@{Ogre::Pass}}


Class defining a single pass of a \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} (of a \mbox{\hyperlink{class_ogre_1_1_material}{Material}}), i.\+e.  




{\ttfamily \#include $<$Ogre\+Pass.\+h$>$}



Inheritance diagram for Ogre\+::Pass\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=148pt]{class_ogre_1_1_pass__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct_ogre_1_1_pass_1_1_hash_func}{Hash\+Func}}
\begin{DoxyCompactList}\small\item\em Definition of a functor for calculating the hashcode of a \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{class_ogre_1_1_pass_a1d30a3c04994e1bd0e1de8cb343341a4}{Builtin\+Hash\+Function}} \{ \mbox{\hyperlink{class_ogre_1_1_pass_a1d30a3c04994e1bd0e1de8cb343341a4aab72a14d25f118c99dd6e9d40953ca46}{M\+I\+N\+\_\+\+T\+E\+X\+T\+U\+R\+E\+\_\+\+C\+H\+A\+N\+GE}}, 
\mbox{\hyperlink{class_ogre_1_1_pass_a1d30a3c04994e1bd0e1de8cb343341a4a281f843d23df9554e590a19d1a3987e3}{M\+I\+N\+\_\+\+G\+P\+U\+\_\+\+P\+R\+O\+G\+R\+A\+M\+\_\+\+C\+H\+A\+N\+GE}}
 \}
\begin{DoxyCompactList}\small\item\em There are some default hash functions used to order passes so that render state changes are minimised, this enumerates them. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{class_ogre_1_1_const_vector_iterator}{Const\+Vector\+Iterator}}$<$ \mbox{\hyperlink{class_ogre_1_1_pass_a1054ecda87f96dad530ec49099379755}{Texture\+Unit\+States}} $>$ \mbox{\hyperlink{class_ogre_1_1_pass_a98b42a4f4304f3f2d08fb9394cbefe83}{Const\+Texture\+Unit\+State\+Iterator}}
\item 
typedef std\+::set$<$ \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$ $>$ \mbox{\hyperlink{class_ogre_1_1_pass_aaedba8526ffd478f5d731507c4779caf}{Pass\+Set}}
\item 
typedef \mbox{\hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}}$<$ \mbox{\hyperlink{class_ogre_1_1_pass_a1054ecda87f96dad530ec49099379755}{Texture\+Unit\+States}} $>$ \mbox{\hyperlink{class_ogre_1_1_pass_ac7bc2b00e42ad2699a1e2a1de340d3b4}{Texture\+Unit\+State\+Iterator}}
\item 
typedef std\+::vector$<$ \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} $\ast$ $>$ \mbox{\hyperlink{class_ogre_1_1_pass_a1054ecda87f96dad530ec49099379755}{Texture\+Unit\+States}}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_pass_a7f36f2c48b62fd29b2abdee4425d6a2c}{Pass}} (\mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$parent, unsigned short index)
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_pass_a2af67ca21bb1a91d6c228db8207384fc}{Pass}} (\mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$parent, unsigned short index, const \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} \&oth)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_pass_a939fc6e2a02a7d753c84ec11219e97da}{$\sim$\+Pass}} ()
\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a44c84896039e6a9f3a44da8468591fb3}{\+\_\+dirty\+Hash}} (void)
\begin{DoxyCompactList}\small\item\em Mark the hash as dirty. \end{DoxyCompactList}\item 
unsigned short \mbox{\hyperlink{class_ogre_1_1_pass_a8f69f7e13e3665ba295ce9b4671fdc4c}{\+\_\+get\+Texture\+Unit\+With\+Content\+Type\+Index}} (\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}{Texture\+Unit\+State\+::\+Content\+Type}} content\+Type, unsigned short index) const
\begin{DoxyCompactList}\small\item\em Gets the \textquotesingle{}nth\textquotesingle{} texture which references the given content type. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ac1e07d3bccdb7f6c437c107c92e4ae46}{\+\_\+load}} (void)
\begin{DoxyCompactList}\small\item\em Internal method for loading this pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_afaa52a3826a08569b8263834f043a83f}{\+\_\+notify\+Index}} (unsigned short index)
\begin{DoxyCompactList}\small\item\em Internal method to adjust pass index. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a6d9af04b4a643df1d81cc0443ca34ab2}{\+\_\+notify\+Needs\+Recompile}} (void)
\begin{DoxyCompactList}\small\item\em Tells the pass that it needs recompilation. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ab85cf60f49c52c53671d5bb5105231e8}{\+\_\+prepare}} (void)
\begin{DoxyCompactList}\small\item\em Internal method for preparing to load this pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a367a1affcb2e26d61a5b5e3594b0ce6a}{\+\_\+recalculate\+Hash}} (void)
\begin{DoxyCompactList}\small\item\em Internal method for recalculating the hash. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_pass_a4934405e476e98dd05912a1ff42b7b2c}{\+\_\+split}} (unsigned short num\+Units)
\begin{DoxyCompactList}\small\item\em Splits this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} to one which can be handled in the number of texture units specified. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a5766787845b1be6dfbf45cac068fc825}{\+\_\+unload}} (void)
\begin{DoxyCompactList}\small\item\em Internal method for unloading this pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a928061c8f56d923808add7e8ba9cdee8}{\+\_\+unprepare}} (void)
\begin{DoxyCompactList}\small\item\em Internal method for undoing the load preparartion for this pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ad17196c5383815e1af157fc9617c474b}{\+\_\+update\+Auto\+Params}} (const \mbox{\hyperlink{class_ogre_1_1_auto_param_data_source}{Auto\+Param\+Data\+Source}} $\ast$source, \mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} variability\+Mask) const
\begin{DoxyCompactList}\small\item\em Update automatic parameters. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a00a4036c87d4778c20d19412e9530ff2}{add\+Texture\+Unit\+State}} (\mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} $\ast$state)
\begin{DoxyCompactList}\small\item\em Adds the passed in \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}}, to the existing \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a264240f8ac08cef3f6cb6e374a03e059}{apply\+Texture\+Aliases}} (const \mbox{\hyperlink{group___general_ga5dafc9e68bde8099ec5ad6c94e4cf19b}{Alias\+Texture\+Name\+Pair\+List}} \&alias\+List, const bool apply=true) const
\begin{DoxyCompactList}\small\item\em Applies texture names to \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State with matching texture name aliases. \end{DoxyCompactList}\item 
size\+\_\+t \mbox{\hyperlink{class_ogre_1_1_pass_a76e0c135dbcacf5d12cc78a15452c7dc}{calculate\+Size}} (void) const
\item 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_pass_adfee1e1da3564408697f6b1227102c63}{create\+Texture\+Unit\+State}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&texture\+Name, unsigned short tex\+Coord\+Set=0)
\begin{DoxyCompactList}\small\item\em Inserts a new \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} object into the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_pass_af8b37124088b574d2cbb2652c0ee4272}{create\+Texture\+Unit\+State}} (void)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} \mbox{\hyperlink{class_ogre_1_1_pass_ae1b0920d6ba670d5e2e85bf2282bd2ef}{get\+Alpha\+Reject\+Function}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the alpha reject function. \end{DoxyCompactList}\item 
unsigned char \mbox{\hyperlink{class_ogre_1_1_pass_a8336a42895b9429c0bbae528fcaa5a43}{get\+Alpha\+Reject\+Value}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the alpha reject value. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a025d29e0df7f5fa8209e37e3dbac057a}{get\+Ambient}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the ambient colour reflectance of the pass. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{struct_ogre_1_1_colour_blend_state}{Colour\+Blend\+State}} \& \mbox{\hyperlink{class_ogre_1_1_pass_ab9a501c0f7f8842493dd277814e38812}{get\+Blend\+State}} () const
\begin{DoxyCompactList}\small\item\em Retrieves the complete blend state of this pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a40b25c9a64b05c3463a2da9e174be901}{get\+Colour\+Write\+Enabled}} (bool \&red, bool \&green, bool \&blue, bool \&alpha) const
\begin{DoxyCompactList}\small\item\em Determines which colour buffer channels are enabled for writing for this pass. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a51d61feca0e3c7cae4c3e1c2988540b0}{get\+Colour\+Write\+Enabled}} (void) const
\begin{DoxyCompactList}\small\item\em Determines if colour buffer writing is enabled for this pass i.\+e. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a97e4cdfc70411ee066cf68e1c7a817e4}{get\+Compute\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_pass_ab06bed97a00cdda2522fff1faadcae27}{get\+Compute\+Program\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_pass_a879780ade78dc1dce173c51ed5c6b3f2}{get\+Compute\+Program\+Parameters}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___general_gac173244ed7d950d0acd726e4f323ecdb}{Culling\+Mode}} \mbox{\hyperlink{class_ogre_1_1_pass_aedb647950fbc40f52ae139eb166d602d}{get\+Culling\+Mode}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the culling mode for geometry rendered with this pass. \end{DoxyCompactList}\item 
float \mbox{\hyperlink{class_ogre_1_1_pass_a0327eac96a7858951a92d64dbdef8b31}{get\+Depth\+Bias\+Constant}} (void) const
\begin{DoxyCompactList}\small\item\em Retrieves the const depth bias value as set by set\+Depth\+Bias. \end{DoxyCompactList}\item 
float \mbox{\hyperlink{class_ogre_1_1_pass_a2639336933c81b101f7b38b02c590518}{get\+Depth\+Bias\+Slope\+Scale}} (void) const
\begin{DoxyCompactList}\small\item\em Retrieves the slope-\/scale depth bias value as set by set\+Depth\+Bias. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a648b0f3f74464f4b0e4472e64219f1a1}{get\+Depth\+Check\+Enabled}} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether or not this pass renders with depth-\/buffer checking on or not. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} \mbox{\hyperlink{class_ogre_1_1_pass_aed6912e985c09f72d8f8012494f1068a}{get\+Depth\+Function}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the function used to compare depth values when depth checking is on. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_ab2d6e2e30826d01e5ec19bef7446f447}{get\+Depth\+Write\+Enabled}} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether or not this pass renders with depth-\/buffer writing on or not. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} \mbox{\hyperlink{class_ogre_1_1_pass_a8e61c233c08848aa736bcfa7bdb58158}{get\+Dest\+Blend\+Factor}} () const
\begin{DoxyCompactList}\small\item\em Retrieves the destination blending factor for the material. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} \mbox{\hyperlink{class_ogre_1_1_pass_aa89b9de8338da5bb1944b16145ee2f62}{get\+Dest\+Blend\+Factor\+Alpha}} () const
\begin{DoxyCompactList}\small\item\em Retrieves the alpha destination blending factor for the material. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \& \mbox{\hyperlink{class_ogre_1_1_pass_ab41a5ed7aadfabec2111e3124f77cf71}{get\+Diffuse}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the diffuse colour reflectance of the pass. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a57c97de91cbc0c86e3ca06ccc22b9a12}{get\+Emissive}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the self illumination colour of the pass. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \& \mbox{\hyperlink{class_ogre_1_1_pass_acc2a614a0b99daa23be0f73d88c1336f}{get\+Fog\+Colour}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the fog colour for the scene. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_pass_adefc2b311bd7eda26d6e0d1d514624ac}{get\+Fog\+Density}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the fog density for this pass. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_pass_a1e0d1749e26e30e482eb1c9a4d08c6fc}{get\+Fog\+End}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the fog end distance for this pass. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___general_ga83edeb2e5d33a3ca8f15834ba40020ba}{Fog\+Mode}} \mbox{\hyperlink{class_ogre_1_1_pass_a1713843694cb5213646bfa517875515c}{get\+Fog\+Mode}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the fog mode for this pass. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a3a8e2ca7f03f60cf41377da7d79c5d19}{get\+Fog\+Override}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this pass is to override the scene fog settings. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_pass_a7780316594e2859363329abeec2baf18}{get\+Fog\+Start}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the fog start distance for this pass. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a49886b41c8e96ddfaea1d6b1c5264885}{get\+Fragment\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a289c78896d2777260cf5722b4cb8fd2d}{get\+Fragment\+Program\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_pass_a889ed9697e2a990143cb41f953878dd3}{get\+Fragment\+Program\+Parameters}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a72637ef35c39efd6ac000ada7e96bb13}{get\+Geometry\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_pass_ac3fdaa6b028d32a0302746ceeb79a6d3}{get\+Geometry\+Program\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_pass_a48643d1a8dc67e86a712ff32f8371c5e}{get\+Geometry\+Program\+Parameters}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_pass_ac4d96a83679d194ce380ad55b014f69b}{get\+Gpu\+Program}} (\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}} program\+Type) const
\begin{DoxyCompactList}\small\item\em Gets the Gpu program used by this pass, only available after \mbox{\hyperlink{class_ogre_1_1_pass_ac1e07d3bccdb7f6c437c107c92e4ae46}{\+\_\+load()}} \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a91bdef99c065c528a54572c99628841e}{get\+Gpu\+Program\+Name}} (\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}} type) const
\begin{DoxyCompactList}\small\item\em Gets the name of the program used by this pass. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a2efc56272065eb16dc629380772d7d7f}{get\+Gpu\+Program\+Parameters}} (\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}} type) const
\begin{DoxyCompactList}\small\item\em Gets the Gpu program parameters used by this pass. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\hyperlink{class_ogre_1_1_pass_a6096fdb876d7929f8d78d4fabae44a25}{get\+Hash}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the \textquotesingle{}hash\textquotesingle{} of this pass, ie a precomputed number to use for sorting. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_ga12a2bc4c75c439630241aa279089acb4}{Illumination\+Stage}} \mbox{\hyperlink{class_ogre_1_1_pass_a77551778f0d1989cdf7541cd0a71faf8}{get\+Illumination\+Stage}} () const
\begin{DoxyCompactList}\small\item\em Get the manually assigned illumination stage, if any. \end{DoxyCompactList}\item 
unsigned short \mbox{\hyperlink{class_ogre_1_1_pass_afb3b4e8c3d0058a43cd2b855fc22199c}{get\+Index}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the index of this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in the parent \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a606718035e449c4fdf91ae843adc4894}{get\+Iterate\+Per\+Light}} (void) const
\begin{DoxyCompactList}\small\item\em Does this pass run once for every light in range? \end{DoxyCompactList}\item 
float \mbox{\hyperlink{class_ogre_1_1_pass_adcb78aa549dc85cb36bd3dbc8abeee24}{get\+Iteration\+Depth\+Bias}} () const
\begin{DoxyCompactList}\small\item\em Gets a factor which derives an additional depth bias from the number of times a pass is iterated. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a0c32f4167d3ac2bfedb5ff536ab87594}{get\+Light\+Clip\+Planes\+Enabled}} () const
\begin{DoxyCompactList}\small\item\em Gets whether or not this pass will be clipped by user clips planes bounding the area covered by the light. \end{DoxyCompactList}\item 
unsigned short \mbox{\hyperlink{class_ogre_1_1_pass_a44cbf809b449b317d01500220b25d82f}{get\+Light\+Count\+Per\+Iteration}} (void) const
\begin{DoxyCompactList}\small\item\em If light iteration is enabled, determine the number of lights per iteration. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_abce35807758f26b84d29313cf70593cd}{get\+Lighting\+Enabled}} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether or not dynamic lighting is enabled. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\hyperlink{class_ogre_1_1_pass_a8f7068c8fb5556c150126866373343ac}{get\+Light\+Mask}} () const
\begin{DoxyCompactList}\small\item\em Gets the light mask controlling which lights are used for this pass. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a27766dcc987d75b836519d8be88fc6f6}{get\+Light\+Scissoring\+Enabled}} () const
\begin{DoxyCompactList}\small\item\em Gets whether or not this pass will be clipped by a scissor rectangle encompassing the lights that are being used in it. \end{DoxyCompactList}\item 
float \mbox{\hyperlink{class_ogre_1_1_pass_a788b633913442314683050c34b2c3c9b}{get\+Line\+Width}} () const
\item 
\mbox{\hyperlink{group___general_ga07ec94cf178172a6778223e6f70f23fc}{Manual\+Culling\+Mode}} \mbox{\hyperlink{class_ogre_1_1_pass_acd99aaea7eec3026699bfccdd09310b0}{get\+Manual\+Culling\+Mode}} (void) const
\begin{DoxyCompactList}\small\item\em Retrieves the manual culling mode for this pass. \end{DoxyCompactList}\item 
unsigned short \mbox{\hyperlink{class_ogre_1_1_pass_abd67db27426bb99e6e58e7299424c4bc}{get\+Max\+Simultaneous\+Lights}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the maximum number of lights to be used by this pass. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a242acbbf397d9db273dcb42d9e4a653c}{get\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em Get the name of the pass. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a858b9c564570fd84e19c77a9b84da557}{get\+Normalise\+Normals}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this pass has auto-\/normalisation of normals set. \end{DoxyCompactList}\item 
unsigned short \mbox{\hyperlink{class_ogre_1_1_pass_ae92e29ff81e188b72cadcbb64fd0be8d}{get\+Num\+Texture\+Unit\+States}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the number of texture unit settings. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_light_a4f1dea084d1497c6f49e802ade940dbc}{Light\+::\+Light\+Types}} \mbox{\hyperlink{class_ogre_1_1_pass_a371e62569a03de84662a286c875e45cb}{get\+Only\+Light\+Type}} () const
\begin{DoxyCompactList}\small\item\em Gets the single light type this pass runs for if get\+Iterate\+Per\+Light and get\+Run\+Only\+For\+One\+Light\+Type are both true. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_pass_a224fe87a1d87d16212184331ef8a4906}{get\+Parent}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the parent \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. \end{DoxyCompactList}\item 
size\+\_\+t \mbox{\hyperlink{class_ogre_1_1_pass_ad51f3602ae69b8d0f219582aa6b16d48}{get\+Pass\+Iteration\+Count}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the pass iteration count value. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_a272ffe59e216908cce70c5fd11eaa7ff}{Vector4f}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a2eb0e0f957c2dd23fb068a160dd4f8f5}{get\+Point\+Attenuation}} () const
\begin{DoxyCompactList}\small\item\em get all point attenuation params as (size, constant, linear, quadratic) \end{DoxyCompactList}\item 
float \mbox{\hyperlink{class_ogre_1_1_pass_a58d04fc4bd33d55bd6059c06db15f5f8}{get\+Point\+Attenuation\+Constant}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the constant coefficient of point attenuation. \end{DoxyCompactList}\item 
float \mbox{\hyperlink{class_ogre_1_1_pass_af27332810328f3be996516ccfd105ac2}{get\+Point\+Attenuation\+Linear}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the linear coefficient of point attenuation. \end{DoxyCompactList}\item 
float \mbox{\hyperlink{class_ogre_1_1_pass_ad7d25e05b830745ecfc6cbd09624ee17}{get\+Point\+Attenuation\+Quadratic}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the quadratic coefficient of point attenuation. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_pass_aeaf906d8abba9a4b4dde83f87daa0f4e}{get\+Point\+Max\+Size}} (void) const
\begin{DoxyCompactList}\small\item\em Get the maximum point size, when point attenuation is in use. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_pass_a8d799c8e3324a37e70d50f8fd1e5daac}{get\+Point\+Min\+Size}} (void) const
\begin{DoxyCompactList}\small\item\em Get the minimum point size, when point attenuation is in use. \end{DoxyCompactList}\item 
float \mbox{\hyperlink{class_ogre_1_1_pass_a179a7abbb9ec8f4da2c8369691ad0032}{get\+Point\+Size}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the point size of the pass. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_af70ccd332a1df548058917c31021f7df}{get\+Point\+Sprites\+Enabled}} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether point sprites are enabled when rendering a point list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___general_ga68866b02aa7f99e3431337511fbb3345}{Polygon\+Mode}} \mbox{\hyperlink{class_ogre_1_1_pass_a4791eea37712b82994052b3e4a360fa0}{get\+Polygon\+Mode}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the type of light shading to be used. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_acb5a5d646e84a1d6c0be32f1132419f8}{get\+Polygon\+Mode\+Overrideable}} (void) const
\begin{DoxyCompactList}\small\item\em Gets whether this renderable\textquotesingle{}s chosen detail level can be overridden (downgraded) by the camera setting. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a0bd99345b312bfb24c297b147b7665c5}{get\+Resource\+Group}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the resource group of the ultimate parent \mbox{\hyperlink{class_ogre_1_1_material}{Material}}. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a0adea673c6a85f5fbc1c7403457c284f}{get\+Run\+Only\+For\+One\+Light\+Type}} (void) const
\begin{DoxyCompactList}\small\item\em Does this pass run only for a single light type (if get\+Iterate\+Per\+Light is true). \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Scene\+Blend\+Operation}} \mbox{\hyperlink{class_ogre_1_1_pass_a0e4598b48a3cc36a3a9ac5c7f190440c}{get\+Scene\+Blending\+Operation}} () const
\begin{DoxyCompactList}\small\item\em Returns the current blending operation. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Scene\+Blend\+Operation}} \mbox{\hyperlink{class_ogre_1_1_pass_a1c36e64352bf3b1d0d87a220d05f6dbf}{get\+Scene\+Blending\+Operation\+Alpha}} () const
\begin{DoxyCompactList}\small\item\em Returns the current alpha blending operation. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a21cc793a33a80097900866835aea9abd}{get\+Self\+Illumination}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the self illumination colour of the pass. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___general_ga7afd4c7d428baaee13f3a0dbcae5f560}{Shade\+Options}} \mbox{\hyperlink{class_ogre_1_1_pass_a5485f8b014bfa01d765a442999ad9ed3}{get\+Shading\+Mode}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the type of light shading to be used. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a5a43888d52a70572e771c69aceaf2fc3}{get\+Shadow\+Caster\+Fragment\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the fragment program used by this pass when rendering shadow casters, only available after \mbox{\hyperlink{class_ogre_1_1_pass_ac1e07d3bccdb7f6c437c107c92e4ae46}{\+\_\+load()}}. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a8d626f46f910ebd72c1dc0fc6ef46bd5}{get\+Shadow\+Caster\+Fragment\+Program\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the name of the fragment program used by this pass when rendering shadow casters. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_pass_ac50fb7f2a742128dd915ec6c94493249}{get\+Shadow\+Caster\+Fragment\+Program\+Parameters}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the fragment program parameters used by this pass when rendering shadow casters. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a1b77400f0729267d6403afc312738788}{get\+Shadow\+Caster\+Vertex\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the vertex program used by this pass when rendering shadow casters, only available after \mbox{\hyperlink{class_ogre_1_1_pass_ac1e07d3bccdb7f6c437c107c92e4ae46}{\+\_\+load()}}. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a7fe8a6e86af9147b83fc7f80698d5096}{get\+Shadow\+Caster\+Vertex\+Program\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the name of the vertex program used by this pass when rendering shadow casters. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_pass_aad15fe5527342cbcd93aab469024af00}{get\+Shadow\+Caster\+Vertex\+Program\+Parameters}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the vertex program parameters used by this pass when rendering shadow casters. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a7093553beb0811c323ac54d45730a9d8}{get\+Shadow\+Receiver\+Fragment\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the fragment program used by this pass when rendering shadow receivers, only available after \mbox{\hyperlink{class_ogre_1_1_pass_ac1e07d3bccdb7f6c437c107c92e4ae46}{\+\_\+load()}}. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_pass_acb379c72f33bd89e771516a4ebc25e08}{get\+Shadow\+Receiver\+Fragment\+Program\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the name of the fragment program used by this pass when rendering shadow receivers. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_pass_a145368fb69cd0b1daa8ef4738d70fc24}{get\+Shadow\+Receiver\+Fragment\+Program\+Parameters}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the fragment program parameters used by this pass when rendering shadow receivers. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_pass_aef06bc668729148b9faa79309611cf36}{get\+Shadow\+Receiver\+Vertex\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the vertex program used by this pass when rendering shadow receivers, only available after \mbox{\hyperlink{class_ogre_1_1_pass_ac1e07d3bccdb7f6c437c107c92e4ae46}{\+\_\+load()}}. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a4af5577bec4cfc86ca60f3e04d25fef0}{get\+Shadow\+Receiver\+Vertex\+Program\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the name of the vertex program used by this pass when rendering shadow receivers. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_pass_a830fa419b857cf256059cb3662064484}{get\+Shadow\+Receiver\+Vertex\+Program\+Parameters}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the vertex program parameters used by this pass when rendering shadow receivers. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_pass_af18dc0bd11d49aacbd053c4772511650}{get\+Shininess}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the \textquotesingle{}shininess\textquotesingle{} property of the pass (affects specular highlights). \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} \mbox{\hyperlink{class_ogre_1_1_pass_aec14031d3e7e69c7ec4f734dc40f612d}{get\+Source\+Blend\+Factor}} () const
\begin{DoxyCompactList}\small\item\em Retrieves the source blending factor for the material. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} \mbox{\hyperlink{class_ogre_1_1_pass_a040397cbf641fcd16ad1cc1846ccb0a0}{get\+Source\+Blend\+Factor\+Alpha}} () const
\begin{DoxyCompactList}\small\item\em Retrieves the alpha source blending factor for the material. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a9847a07e3a202069e91cd0cccc104de7}{get\+Specular}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the specular colour reflectance of the pass. \end{DoxyCompactList}\item 
unsigned short \mbox{\hyperlink{class_ogre_1_1_pass_a53fec71cb3076c1387cc6133f2996c78}{get\+Start\+Light}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the light index that this pass will start at in the light list. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_pass_ad5d4c302e116ef27dea2b0a56705ccc4}{get\+Tessellation\+Domain\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a0da495acb6aaea4832685156dfbf8975}{get\+Tessellation\+Domain\+Program\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_pass_a22415cb613dea6b39a7940ceebaca32f}{get\+Tessellation\+Domain\+Program\+Parameters}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_pass_ad218fad32224eca7ed978b92e8b81895}{get\+Tessellation\+Hull\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_pass_afb0c89ec1367230c6e74eac585efd993}{get\+Tessellation\+Hull\+Program\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_pass_abe6e32bc6812ed954daaa2c5518a2ac3}{get\+Tessellation\+Hull\+Program\+Parameters}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_pass_afe30c603d0dab1f4194463699c0091ba}{get\+Texture\+Unit\+State}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name) const
\begin{DoxyCompactList}\small\item\em Retrieves the \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State matching name. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_pass_abc81491af9bf41501f3ec60f4f0bef76}{get\+Texture\+Unit\+State}} (unsigned short index) const
\begin{DoxyCompactList}\small\item\em Retrieves a const pointer to a texture unit state. \end{DoxyCompactList}\item 
unsigned short \mbox{\hyperlink{class_ogre_1_1_pass_a613a1145ae3ee981f223c00fc21b742e}{get\+Texture\+Unit\+State\+Index}} (const \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} $\ast$state) const
\begin{DoxyCompactList}\small\item\em Retrieve the index of the \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State in the pass. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_pass_ac7bc2b00e42ad2699a1e2a1de340d3b4}{Texture\+Unit\+State\+Iterator}} \mbox{\hyperlink{class_ogre_1_1_pass_ac1513f6d3e1acb9037225d826ec99856}{get\+Texture\+Unit\+State\+Iterator}} (void)
\begin{DoxyCompactList}\small\item\em Get an iterator over the Texture\+Unit\+States contained in this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_pass_a98b42a4f4304f3f2d08fb9394cbefe83}{Const\+Texture\+Unit\+State\+Iterator}} \mbox{\hyperlink{class_ogre_1_1_pass_a185a8f17c108024b5b0683d895d5bcaf}{get\+Texture\+Unit\+State\+Iterator}} (void) const
\begin{DoxyCompactList}\small\item\em Get an iterator over the Texture\+Unit\+States contained in this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_pass_a1054ecda87f96dad530ec49099379755}{Texture\+Unit\+States}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a27a57322ba3813c39d62bbd7a3ba01fb}{get\+Texture\+Unit\+States}} () const
\begin{DoxyCompactList}\small\item\em Get the Texture\+Unit\+States contained in this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a4a6ab6d3bce34b620675e9ccd2dfb89f}{get\+Transparent\+Sorting\+Enabled}} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether or not transparent sorting is enabled. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a9729c4faa36b1a38ce0a8c14a3627dbe}{get\+Transparent\+Sorting\+Forced}} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether or not transparent sorting is forced. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_user_object_bindings}{User\+Object\+Bindings}} \& \mbox{\hyperlink{class_ogre_1_1_pass_adc70de42e8b22b4d8ccedf6868bbbfc0}{get\+User\+Object\+Bindings}} ()
\begin{DoxyCompactList}\small\item\em Return an instance of user objects binding associated with this class. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_user_object_bindings}{User\+Object\+Bindings}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a1a272de4bac1f7ab74ad965217f163ec}{get\+User\+Object\+Bindings}} () const
\begin{DoxyCompactList}\small\item\em Return an instance of user objects binding associated with this class. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___general_gaf3fdba7211d7078a43201a1721532f9e}{Track\+Vertex\+Colour\+Type}} \mbox{\hyperlink{class_ogre_1_1_pass_a36f48ebbf2890d0744443f7da45acab7}{get\+Vertex\+Colour\+Tracking}} (void) const
\begin{DoxyCompactList}\small\item\em Gets which material properties follow the vertex colour. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a9d00b9b7adf3c5b5f78aed3b100cc2ee}{get\+Vertex\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a1789ae3425e0bc04aeb7a1e14583abf9}{get\+Vertex\+Program\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_pass_ac0d16617c07bcfdc4f17e9ffed2f8591}{get\+Vertex\+Program\+Parameters}} (void) const
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_ad1d50f9c7cd1b11646ec88f463f0a27f}{has\+Compute\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this pass uses a programmable compute pipeline. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a85bffe16db4ccd90a26a257ded6e57c4}{has\+Fragment\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this pass uses a programmable fragment pipeline. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a763b8993d64d234349ffa11932b912e0}{has\+Geometry\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this pass uses a programmable geometry pipeline. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a50c2b23280ac2eca62b767ecebfa5888}{has\+Gpu\+Program}} (\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}} program\+Type) const
\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_ab0e7ceb87f4b3dee78fbaaf8ba9e1ade}{has\+Separate\+Scene\+Blending}} () const
\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a8d60b51feac29fa374465b4aa9ad9d8f}{has\+Separate\+Scene\+Blending\+Operations}} () const
\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_ae256023496cab7813ac4f0e4105eeb74}{has\+Shadow\+Caster\+Fragment\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this pass uses a shadow caster fragment program. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a50c6d6fd2006b244a6f94b165d514311}{has\+Shadow\+Caster\+Vertex\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this pass uses a shadow caster vertex program. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_ad8bc22ce3f99782a7bc7582d7a77dcb9}{has\+Shadow\+Receiver\+Fragment\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this pass uses a shadow receiver fragment program. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a77250f25ba50f4352009b1805deb038d}{has\+Shadow\+Receiver\+Vertex\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this pass uses a shadow receiver vertex program. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a7a1d67d993a4b3fdd0eb3719704947bb}{has\+Tessellation\+Domain\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this pass uses a programmable tessellation control pipeline. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_af2643f7594c827d2f1b8785029de280f}{has\+Tessellation\+Hull\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this pass uses a programmable tessellation control pipeline. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a61dd187f9201fcf102c26a02d8f85412}{has\+Vertex\+Program}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this pass uses a programmable vertex pipeline. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_ad7582011f85937446047a843896c8382}{is\+Alpha\+To\+Coverage\+Enabled}} () const
\begin{DoxyCompactList}\small\item\em Gets whether to use alpha to coverage (A2C) when blending alpha rejected values. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a8ff736f5d1d0eb3e3caa23b1d7c79997}{is\+Ambient\+Only}} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether this pass is ambient only. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a36390b119257048ddb35ab0439eed63d}{is\+Loaded}} (void) const
\begin{DoxyCompactList}\small\item\em Is this loaded? \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_af5e358a5fd8a944c9845f8aee4ba54a6}{is\+Point\+Attenuation\+Enabled}} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether points are attenuated with distance. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a4a247aa90883ca1435fb949d191d6110}{is\+Programmable}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this pass is programmable i.\+e. includes either a vertex or fragment program. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_pass_a85a67b777d757d158c6cbc2b4f7ec76e}{is\+Transparent}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this pass has some element of transparency. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_pass_ab3af180b9759ea13e557003abc84e594}{O\+G\+R\+E\+\_\+\+M\+U\+T\+EX}} (m\+Gpu\+Program\+Change\+Mutex)
\item 
\mbox{\hyperlink{class_ogre_1_1_pass_af23f6b1ae56f9acdcb05f8cbcf0e9153}{O\+G\+R\+E\+\_\+\+M\+U\+T\+EX}} (m\+Tex\+Unit\+Change\+Mutex)
\item 
\mbox{\hyperlink{class_ogre_1_1_pass_a10afa648bf34693a7b6c377e126da20f}{O\+G\+R\+E\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+M\+U\+T\+EX}} (ms\+Dirty\+Hash\+List\+Mutex)
\item 
\mbox{\hyperlink{class_ogre_1_1_pass_ab25733e77cd0b2f558d62e5a7ab7592e}{O\+G\+R\+E\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+M\+U\+T\+EX}} (ms\+Pass\+Graveyard\+Mutex)
\item 
\mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a15bb76abae180b60dfcf9a6e1fdcd8fe}{operator=}} (const \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} \&oth)
\begin{DoxyCompactList}\small\item\em Operator = overload. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_aeb16b94de537bda3140df7095090cc10}{queue\+For\+Deletion}} (void)
\begin{DoxyCompactList}\small\item\em Queue this pass for deletion when appropriate. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a86de1842654eb89c6f48785d02f07688}{remove\+All\+Texture\+Unit\+States}} (void)
\begin{DoxyCompactList}\small\item\em Removes all texture unit settings. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a66085d80b0caa39850216b603cec40b1}{remove\+Texture\+Unit\+State}} (unsigned short index)
\begin{DoxyCompactList}\small\item\em Removes the indexed texture unit state from this pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a4f23af59e5f991f22a224f8e6b336af3}{set\+Alpha\+Reject\+Function}} (\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} func)
\begin{DoxyCompactList}\small\item\em Sets the alpha reject function. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a9fe6fc3f542eade6b37d49cd0eadddde}{set\+Alpha\+Reject\+Settings}} (\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} func, unsigned char value, bool alpha\+To\+Coverage\+Enabled=false)
\begin{DoxyCompactList}\small\item\em Sets the way the pass will have use alpha to totally reject pixels from the pipeline. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a6e5c5f69be78ddd80cbb202f66649fef}{set\+Alpha\+Reject\+Value}} (unsigned char val)
\begin{DoxyCompactList}\small\item\em Gets the alpha reject value. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ae0a98973675e2cf71b286ceb9e73ecd3}{set\+Alpha\+To\+Coverage\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether to use alpha to coverage (A2C) when blending alpha rejected values. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_abdcffe5cb7cee6c8c5a5fd4c2f75164d}{set\+Ambient}} (const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&ambient)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_aba057d0d19159c21b9a79485512b6f9d}{set\+Ambient}} (float red, float green, float blue)
\begin{DoxyCompactList}\small\item\em Sets the ambient colour reflectance properties of this pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a3bbe37daba7e3be4349177374d4e40ee}{set\+Colour\+Write\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether or not colour buffer writing is enabled for this Pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ae8c85bd4eff471ca7b3c710d20dbf274}{set\+Colour\+Write\+Enabled}} (bool red, bool green, bool blue, bool alpha)
\begin{DoxyCompactList}\small\item\em Sets which colour buffer channels are enabled for writing for this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a97deab966da4653d248875782b45a3f1}{set\+Compute\+Program}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, bool reset\+Params=true)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ad58bed2ac47d40e65750c61c0ca36af3}{set\+Compute\+Program\+Parameters}} (\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} params)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a8942abf3ede0f3cb43584c85c4071734}{set\+Culling\+Mode}} (\mbox{\hyperlink{group___general_gac173244ed7d950d0acd726e4f323ecdb}{Culling\+Mode}} mode)
\begin{DoxyCompactList}\small\item\em Sets the culling mode for this pass based on the \textquotesingle{}vertex winding\textquotesingle{}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_aa35a3242a45176f8605bd8c866198b67}{set\+Depth\+Bias}} (float constant\+Bias, float slope\+Scale\+Bias=0.\+0f)
\begin{DoxyCompactList}\small\item\em Sets the depth bias to be used for this material. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ae454faee87f8cb0b8540810e48118788}{set\+Depth\+Check\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether or not this pass renders with depth-\/buffer checking on or not. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_aef6c591b069aa6f7c65afc1419d47de6}{set\+Depth\+Function}} (\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} func)
\begin{DoxyCompactList}\small\item\em Sets the function used to compare depth values when depth checking is on. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_aad3e6c7c7b59e2c303c348b4850b1a3a}{set\+Depth\+Write\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether or not this pass renders with depth-\/buffer writing on or not. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a67e3cb12113b4fc56b8d3d4cee03068a}{set\+Diffuse}} (const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&diffuse)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a823dd0856cf4d8bfa08abc3591c47c02}{set\+Diffuse}} (float red, float green, float blue, float alpha)
\begin{DoxyCompactList}\small\item\em Sets the diffuse colour reflectance properties of this pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ae5653eb7430051fc4a81aa577c031186}{set\+Emissive}} (const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&emissive)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ae3ad6543e0c24eb7f12b00f46e7124d8}{set\+Emissive}} (float red, float green, float blue)
\begin{DoxyCompactList}\small\item\em Sets the amount of self-\/illumination an object has. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a23f2824f0dfd41ec09cbdbd0b3a98e1c}{set\+Fog}} (bool override\+Scene, \mbox{\hyperlink{group___general_ga83edeb2e5d33a3ca8f15834ba40020ba}{Fog\+Mode}} mode=\mbox{\hyperlink{group___general_gga83edeb2e5d33a3ca8f15834ba40020baab7793a21880052c0214d4cc040992310}{F\+O\+G\+\_\+\+N\+O\+NE}}, const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&colour=\mbox{\hyperlink{class_ogre_1_1_colour_value_a8eba66b2908f44f00f8d9c9ec25877de}{Colour\+Value\+::\+White}}, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} exp\+Density=0.\+001f, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} linear\+Start=0.\+0f, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} linear\+End=1.\+0f)
\begin{DoxyCompactList}\small\item\em Sets the fogging mode applied to this pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a3019e308b0759cc150ac0f45308d69b3}{set\+Fragment\+Program}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, bool reset\+Params=true)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ae8c6cd9d16220e8ef358f8b3e072d261}{set\+Fragment\+Program\+Parameters}} (\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} params)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_af6b2aab96fb146a8e92043c7dc771de4}{set\+Geometry\+Program}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, bool reset\+Params=true)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_afd45b897ebc29d3ee40a2ee307682f35}{set\+Geometry\+Program\+Parameters}} (\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} params)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a3d4978eca2f3387a7abec740ec760ad7}{set\+Gpu\+Program}} (\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}} type, const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \&prog, bool reset\+Params=true)
\begin{DoxyCompactList}\small\item\em Sets the details of the program to use. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_abee48df0d246eb685780d16b32b7f8f4}{set\+Gpu\+Program}} (\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}} type, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, bool reset\+Params=true)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a5e78606a7cd3ea84536ab9f3198fa79f}{set\+Gpu\+Program\+Parameters}} (\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}} type, const \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \&params)
\begin{DoxyCompactList}\small\item\em Sets the Gpu program parameters. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a30d680bb28cd69415883313d9f03dc6a}{set\+Illumination\+Stage}} (\mbox{\hyperlink{group___materials_ga12a2bc4c75c439630241aa279089acb4}{Illumination\+Stage}} is)
\begin{DoxyCompactList}\small\item\em Manually set which illumination stage this pass is a member of. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_aec98c9346a22a4a98acdaf5b8849a5c1}{set\+Iterate\+Per\+Light}} (bool enabled, bool only\+For\+One\+Light\+Type=true, \mbox{\hyperlink{class_ogre_1_1_light_a4f1dea084d1497c6f49e802ade940dbc}{Light\+::\+Light\+Types}} light\+Type=\mbox{\hyperlink{class_ogre_1_1_light_a4f1dea084d1497c6f49e802ade940dbca0d59bfdcfeb338dbfe06e2e2999e752f}{Light\+::\+L\+T\+\_\+\+P\+O\+I\+NT}})
\begin{DoxyCompactList}\small\item\em Sets whether or not this pass should iterate per light or number of lights which can affect the object being rendered. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_aca462cd8e0708d90c3131ddd39e95674}{set\+Iteration\+Depth\+Bias}} (float bias\+Per\+Iteration)
\begin{DoxyCompactList}\small\item\em Sets a factor which derives an additional depth bias from the number of times a pass is iterated. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a20d94474787abfd9eb9b07d5185ded0c}{set\+Light\+Clip\+Planes\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether or not this pass will be clipped by user clips planes bounding the area covered by the light. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a0e40ca39a238f0afe5e2d3a0db0661ce}{set\+Light\+Count\+Per\+Iteration}} (unsigned short c)
\begin{DoxyCompactList}\small\item\em If light iteration is enabled, determine the number of lights per iteration. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a6285f13a06eb7f00b83ea2754e434623}{set\+Lighting\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether or not dynamic lighting is enabled. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a9f14ed26740158970994057e48e562e9}{set\+Light\+Mask}} (\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} mask)
\begin{DoxyCompactList}\small\item\em Sets the light mask which can be matched to specific light flags to be handled by this pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a26fe99447102afb8e2002f7f1339dd8c}{set\+Light\+Scissoring\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether or not this pass will be clipped by a scissor rectangle encompassing the lights that are being used in it. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ab63508d99fef116d0df14c080e0e1129}{set\+Line\+Width}} (float width)
\begin{DoxyCompactList}\small\item\em set the line width for this pass \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a3b528827b54f17b72bb204321640a6f7}{set\+Manual\+Culling\+Mode}} (\mbox{\hyperlink{group___general_ga07ec94cf178172a6778223e6f70f23fc}{Manual\+Culling\+Mode}} mode)
\begin{DoxyCompactList}\small\item\em Sets the manual culling mode, performed by C\+PU rather than hardware. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a95a7a4006f26528ef4f6ce42ae56b09b}{set\+Max\+Simultaneous\+Lights}} (unsigned short max\+Lights)
\begin{DoxyCompactList}\small\item\em Sets the maximum number of lights to be used by this pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a03306f735122ec4e7d4c391f1528cf50}{set\+Name}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Set the name of the pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ad00b9d37cf0d5d7af26d23a2a48f5541}{set\+Normalise\+Normals}} (bool normalise)
\begin{DoxyCompactList}\small\item\em If set to true, this forces normals to be normalised dynamically by the hardware for this pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a28ff8c16ee57201651da61e649ea216b}{set\+Pass\+Iteration\+Count}} (const size\+\_\+t count)
\begin{DoxyCompactList}\small\item\em set the number of iterations that this pass should perform when doing fast multi pass operation. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a3540a0dab9519f146edad630f3c89c22}{set\+Point\+Attenuation}} (bool enabled, float constant=0.\+0f, float linear=1.\+0f, float quadratic=0.\+0f)
\begin{DoxyCompactList}\small\item\em Sets how points are attenuated with distance. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a463b59eaa324934370441a98b8b619b3}{set\+Point\+Max\+Size}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} max)
\begin{DoxyCompactList}\small\item\em Set the maximum point size, when point attenuation is in use. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a75a3e18e0d2c3e7f51a47cedcec0246c}{set\+Point\+Min\+Size}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} min)
\begin{DoxyCompactList}\small\item\em Set the minimum point size, when point attenuation is in use. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a490736f9eaeffd1c60611869d68931ee}{set\+Point\+Size}} (float ps)
\begin{DoxyCompactList}\small\item\em Sets the point size of this pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a9683c2f40ed7c96b708eb2db5e02c842}{set\+Point\+Sprites\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether points will be rendered as textured quads or plain dots. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a61d996b43e57fa45e660b23013855fe2}{set\+Polygon\+Mode}} (\mbox{\hyperlink{group___general_ga68866b02aa7f99e3431337511fbb3345}{Polygon\+Mode}} mode)
\begin{DoxyCompactList}\small\item\em Sets the type of polygon rendering required. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ad681df78f0e0c61e1bc166e3ec85170f}{set\+Polygon\+Mode\+Overrideable}} (bool override)
\begin{DoxyCompactList}\small\item\em Sets whether the Polygon\+Mode set on this pass can be downgraded by the camera. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a6ae2b0725a20fe90f1554834bafa7178}{set\+Scene\+Blending}} (const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} source\+Factor, const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} dest\+Factor)
\begin{DoxyCompactList}\small\item\em Allows very fine control of blending this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} with the existing contents of the scene. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ae21d6f29c89eeff54ab6de5562818c02}{set\+Scene\+Blending}} (const \mbox{\hyperlink{group___materials_gac46c60cf6e5c199220e3b8f26570cb9a}{Scene\+Blend\+Type}} sbt)
\begin{DoxyCompactList}\small\item\em Sets the kind of blending this pass has with the existing contents of the scene. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a9ae2570082185c2b6e237a2d46f9bb60}{set\+Scene\+Blending\+Operation}} (\mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Scene\+Blend\+Operation}} op)
\begin{DoxyCompactList}\small\item\em Sets the specific operation used to blend source and destination pixels together. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a4ed49cbeb67725747cb25376ca67c2bb}{set\+Self\+Illumination}} (const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&self\+Illum)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a93c36ae948d9e0357c11adb0ce6d5859}{set\+Self\+Illumination}} (float red, float green, float blue)
\begin{DoxyCompactList}\small\item\em Sets the amount of self-\/illumination an object has. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_aa4bba51e9a0cba1b9708bab99496c1a8}{set\+Separate\+Scene\+Blending}} (const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} source\+Factor, const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} dest\+Factor, const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} source\+Factor\+Alpha, const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} dest\+Factor\+Alpha)
\begin{DoxyCompactList}\small\item\em Allows very fine control of blending this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} with the existing contents of the scene. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_aefbd80d762d78838df626482df1ac81b}{set\+Separate\+Scene\+Blending}} (const \mbox{\hyperlink{group___materials_gac46c60cf6e5c199220e3b8f26570cb9a}{Scene\+Blend\+Type}} sbt, const \mbox{\hyperlink{group___materials_gac46c60cf6e5c199220e3b8f26570cb9a}{Scene\+Blend\+Type}} sbta)
\begin{DoxyCompactList}\small\item\em Sets the kind of blending this pass has with the existing contents of the scene, separately for color and alpha channels. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ace4313056341502f87ada68638cae334}{set\+Separate\+Scene\+Blending\+Operation}} (\mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Scene\+Blend\+Operation}} op, \mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Scene\+Blend\+Operation}} alpha\+Op)
\begin{DoxyCompactList}\small\item\em Sets the specific operation used to blend source and destination pixels together. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ade6c00297cd5d46bb365d981cd1764a6}{set\+Shading\+Mode}} (\mbox{\hyperlink{group___general_ga7afd4c7d428baaee13f3a0dbcae5f560}{Shade\+Options}} mode)
\begin{DoxyCompactList}\small\item\em Sets the type of light shading required. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_aae19f94be0da24a4b813e5849ecc4fc2}{set\+Shadow\+Caster\+Fragment\+Program}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Sets the details of the fragment program to use when rendering as a shadow caster. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a4dfd71fa6c43cdf5c6f3613fdee1a17d}{set\+Shadow\+Caster\+Fragment\+Program\+Parameters}} (\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} params)
\begin{DoxyCompactList}\small\item\em Sets the fragment program parameters for rendering as a shadow caster. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a6d208f945dbfc60cac0cc4502a8eb3dc}{set\+Shadow\+Caster\+Vertex\+Program}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Sets the details of the vertex program to use when rendering as a shadow caster. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a585dc96fdf025aaef00dce27bbf1328b}{set\+Shadow\+Caster\+Vertex\+Program\+Parameters}} (\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} params)
\begin{DoxyCompactList}\small\item\em Sets the vertex program parameters for rendering as a shadow caster. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_af674d2851440589007add4a41d9e92f3}{set\+Shadow\+Receiver\+Fragment\+Program}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em This method allows you to specify a fragment program for use when rendering a texture shadow receiver. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a873f11315e573b7c069f59e822492874}{set\+Shadow\+Receiver\+Fragment\+Program\+Parameters}} (\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} params)
\begin{DoxyCompactList}\small\item\em Sets the fragment program parameters for rendering as a shadow receiver. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a8be472bada8c2fdaac24fd0349f11964}{set\+Shadow\+Receiver\+Vertex\+Program}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Sets the details of the vertex program to use when rendering as a shadow receiver. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_aae8406edd157f8b8b2b1236bbe816f4f}{set\+Shadow\+Receiver\+Vertex\+Program\+Parameters}} (\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} params)
\begin{DoxyCompactList}\small\item\em Sets the vertex program parameters for rendering as a shadow receiver. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a8202cf155d20602fd9c0ec53273a442f}{set\+Shininess}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} val)
\begin{DoxyCompactList}\small\item\em Sets the shininess of the pass, affecting the size of specular highlights. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a66770883c6420a761996a29b9d5f57bc}{set\+Specular}} (const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&specular)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a4e47ea4922d6da5b58eb9879f7e9da09}{set\+Specular}} (float red, float green, float blue, float alpha)
\begin{DoxyCompactList}\small\item\em Sets the specular colour reflectance properties of this pass. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a8b816cdd2b5b5fcc5cbe6744b6bb2dbd}{set\+Start\+Light}} (unsigned short start\+Light)
\begin{DoxyCompactList}\small\item\em Sets the light index that this pass will start at in the light list. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a5adb72e47427f59f672e43b709c68038}{set\+Tessellation\+Domain\+Program}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, bool reset\+Params=true)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_ae4f6e70258ca9a870e3b0867792000e6}{set\+Tessellation\+Domain\+Program\+Parameters}} (\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} params)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a6821e86c7c287fabcd28344117f772d0}{set\+Tessellation\+Hull\+Program}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, bool reset\+Params=true)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a11e6148122bd80d646f75364bbc3cbe0}{set\+Tessellation\+Hull\+Program\+Parameters}} (\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} params)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a388afa054c642dd6b0585fd168cd7b1a}{set\+Texture\+Anisotropy}} (unsigned int max\+Aniso)
\begin{DoxyCompactList}\small\item\em Sets the anisotropy level to be used for all textures. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a5abbb49b669a575991c17bb67bcae975}{set\+Texture\+Filtering}} (\mbox{\hyperlink{group___general_ga21a0186392e9c9ce16d29c5568a773c5}{Texture\+Filter\+Options}} filter\+Type)
\begin{DoxyCompactList}\small\item\em Set texture filtering for every texture unit. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a2b99af55835117cfd4c479ab6c3a2ae5}{set\+Transparent\+Sorting\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether or not transparent sorting is enabled. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_adc75fe5011be72c0597535cb37d75d57}{set\+Transparent\+Sorting\+Forced}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether or not transparent sorting is forced. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_a30b32d92dd9d316ff9650affd08d16a2}{set\+Vertex\+Colour\+Tracking}} (\mbox{\hyperlink{group___general_gaf3fdba7211d7078a43201a1721532f9e}{Track\+Vertex\+Colour\+Type}} tracking)
\begin{DoxyCompactList}\small\item\em Sets which material properties follow the vertex colour. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_aba0003996c1c200db9fb6466a2253a54}{set\+Vertex\+Program}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, bool reset\+Params=true)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_pass_afc41cb1fe9251448002a2405405b8bd9}{set\+Vertex\+Program\+Parameters}} (\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} params)
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \mbox{\hyperlink{class_ogre_1_1_pass_af1992ef39ef97e0b48e878c9aaa2badd}{clear\+Dirty\+Hash\+List}} (void)
\begin{DoxyCompactList}\small\item\em Static method to reset the list of passes which need their hash values recalculated. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{struct_ogre_1_1_pass_1_1_hash_func}{Hash\+Func}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_pass_ac2e11c662982c9ce7f2e08a71bc20167}{get\+Builtin\+Hash\+Function}} (\mbox{\hyperlink{class_ogre_1_1_pass_a1d30a3c04994e1bd0e1de8cb343341a4}{Builtin\+Hash\+Function}} builtin)
\begin{DoxyCompactList}\small\item\em Get the builtin hash function. \end{DoxyCompactList}\item 
static const \mbox{\hyperlink{class_ogre_1_1_pass_aaedba8526ffd478f5d731507c4779caf}{Pass\+Set}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a5e656ed906b7378c5c74d338575c3f58}{get\+Dirty\+Hash\+List}} (void)
\begin{DoxyCompactList}\small\item\em Static method to retrieve all the Passes which need their hash values recalculated. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{struct_ogre_1_1_pass_1_1_hash_func}{Hash\+Func}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_pass_aedf90d0436441d359280b3c939ee1e3c}{get\+Hash\+Function}} (void)
\begin{DoxyCompactList}\small\item\em Get the hash function used for all passes. \end{DoxyCompactList}\item 
static const \mbox{\hyperlink{class_ogre_1_1_pass_aaedba8526ffd478f5d731507c4779caf}{Pass\+Set}} \& \mbox{\hyperlink{class_ogre_1_1_pass_a8ae403e739ce7fe033bc88ae943135e4}{get\+Pass\+Graveyard}} (void)
\begin{DoxyCompactList}\small\item\em Static method to retrieve all the Passes which are pending deletion. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{class_ogre_1_1_pass_a989043a45609fd8f82235c3d1c402a23}{process\+Pending\+Pass\+Updates}} (void)
\begin{DoxyCompactList}\small\item\em Process all dirty and pending deletion passes. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{class_ogre_1_1_pass_a686d4ade1581fba7b32609bc535ad9fc}{set\+Hash\+Function}} (\mbox{\hyperlink{class_ogre_1_1_pass_a1d30a3c04994e1bd0e1de8cb343341a4}{Builtin\+Hash\+Function}} builtin)
\begin{DoxyCompactList}\small\item\em Sets one of the default hash functions to be used. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{class_ogre_1_1_pass_aff774d55b700af010f57e2330101a610}{set\+Hash\+Function}} (\mbox{\hyperlink{struct_ogre_1_1_pass_1_1_hash_func}{Hash\+Func}} $\ast$hash\+Func)
\begin{DoxyCompactList}\small\item\em Set the hash function used for all passes. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Class defining a single pass of a \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} (of a \mbox{\hyperlink{class_ogre_1_1_material}{Material}}), i.\+e. 

a single rendering call. \begin{DoxyRemark}{Remarks}
Rendering can be repeated with many passes for more complex effects. Each pass is either a fixed-\/function pass (meaning it does not use a vertex or fragment program) or a programmable pass (meaning it does use either a vertex and fragment program, or both). 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Programmable passes are complex to define, because they require custom programs and you have to set all constant inputs to the programs (like the position of lights, any base material colours you wish to use etc), but they do give you much total flexibility over the algorithms used to render your pass, and you can create some effects which are impossible with a fixed-\/function pass. On the other hand, you can define a fixed-\/function pass in very little time, and you can use a range of fixed-\/function effects like environment mapping very easily, plus your pass will be more likely to be compatible with older hardware. There are pros and cons to both, just remember that if you use a programmable pass to create some great effects, allow more time for definition and testing. 
\end{DoxyParagraph}


\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_pass_a1054ecda87f96dad530ec49099379755}\label{class_ogre_1_1_pass_a1054ecda87f96dad530ec49099379755}} 
\index{Ogre::Pass@{Ogre::Pass}!TextureUnitStates@{TextureUnitStates}}
\index{TextureUnitStates@{TextureUnitStates}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{TextureUnitStates}{TextureUnitStates}}
{\footnotesize\ttfamily typedef std\+::vector$<$\mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}}$\ast$$>$ \mbox{\hyperlink{class_ogre_1_1_pass_a1054ecda87f96dad530ec49099379755}{Ogre\+::\+Pass\+::\+Texture\+Unit\+States}}}

\mbox{\Hypertarget{class_ogre_1_1_pass_aaedba8526ffd478f5d731507c4779caf}\label{class_ogre_1_1_pass_aaedba8526ffd478f5d731507c4779caf}} 
\index{Ogre::Pass@{Ogre::Pass}!PassSet@{PassSet}}
\index{PassSet@{PassSet}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{PassSet}{PassSet}}
{\footnotesize\ttfamily typedef std\+::set$<$\mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}$\ast$$>$ \mbox{\hyperlink{class_ogre_1_1_pass_aaedba8526ffd478f5d731507c4779caf}{Ogre\+::\+Pass\+::\+Pass\+Set}}}

\mbox{\Hypertarget{class_ogre_1_1_pass_ac7bc2b00e42ad2699a1e2a1de340d3b4}\label{class_ogre_1_1_pass_ac7bc2b00e42ad2699a1e2a1de340d3b4}} 
\index{Ogre::Pass@{Ogre::Pass}!TextureUnitStateIterator@{TextureUnitStateIterator}}
\index{TextureUnitStateIterator@{TextureUnitStateIterator}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{TextureUnitStateIterator}{TextureUnitStateIterator}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}}$<$\mbox{\hyperlink{class_ogre_1_1_pass_a1054ecda87f96dad530ec49099379755}{Texture\+Unit\+States}}$>$ \mbox{\hyperlink{class_ogre_1_1_pass_ac7bc2b00e42ad2699a1e2a1de340d3b4}{Ogre\+::\+Pass\+::\+Texture\+Unit\+State\+Iterator}}}

\mbox{\Hypertarget{class_ogre_1_1_pass_a98b42a4f4304f3f2d08fb9394cbefe83}\label{class_ogre_1_1_pass_a98b42a4f4304f3f2d08fb9394cbefe83}} 
\index{Ogre::Pass@{Ogre::Pass}!ConstTextureUnitStateIterator@{ConstTextureUnitStateIterator}}
\index{ConstTextureUnitStateIterator@{ConstTextureUnitStateIterator}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{ConstTextureUnitStateIterator}{ConstTextureUnitStateIterator}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{class_ogre_1_1_const_vector_iterator}{Const\+Vector\+Iterator}}$<$\mbox{\hyperlink{class_ogre_1_1_pass_a1054ecda87f96dad530ec49099379755}{Texture\+Unit\+States}}$>$ \mbox{\hyperlink{class_ogre_1_1_pass_a98b42a4f4304f3f2d08fb9394cbefe83}{Ogre\+::\+Pass\+::\+Const\+Texture\+Unit\+State\+Iterator}}}



\doxysubsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_pass_a1d30a3c04994e1bd0e1de8cb343341a4}\label{class_ogre_1_1_pass_a1d30a3c04994e1bd0e1de8cb343341a4}} 
\index{Ogre::Pass@{Ogre::Pass}!BuiltinHashFunction@{BuiltinHashFunction}}
\index{BuiltinHashFunction@{BuiltinHashFunction}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{BuiltinHashFunction}{BuiltinHashFunction}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_ogre_1_1_pass_a1d30a3c04994e1bd0e1de8cb343341a4}{Ogre\+::\+Pass\+::\+Builtin\+Hash\+Function}}}



There are some default hash functions used to order passes so that render state changes are minimised, this enumerates them. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{MIN\_TEXTURE\_CHANGE@{MIN\_TEXTURE\_CHANGE}!Ogre::Pass@{Ogre::Pass}}\index{Ogre::Pass@{Ogre::Pass}!MIN\_TEXTURE\_CHANGE@{MIN\_TEXTURE\_CHANGE}}}\mbox{\Hypertarget{class_ogre_1_1_pass_a1d30a3c04994e1bd0e1de8cb343341a4aab72a14d25f118c99dd6e9d40953ca46}\label{class_ogre_1_1_pass_a1d30a3c04994e1bd0e1de8cb343341a4aab72a14d25f118c99dd6e9d40953ca46}} 
M\+I\+N\+\_\+\+T\+E\+X\+T\+U\+R\+E\+\_\+\+C\+H\+A\+N\+GE&Try to minimise the number of texture changes. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MIN\_GPU\_PROGRAM\_CHANGE@{MIN\_GPU\_PROGRAM\_CHANGE}!Ogre::Pass@{Ogre::Pass}}\index{Ogre::Pass@{Ogre::Pass}!MIN\_GPU\_PROGRAM\_CHANGE@{MIN\_GPU\_PROGRAM\_CHANGE}}}\mbox{\Hypertarget{class_ogre_1_1_pass_a1d30a3c04994e1bd0e1de8cb343341a4a281f843d23df9554e590a19d1a3987e3}\label{class_ogre_1_1_pass_a1d30a3c04994e1bd0e1de8cb343341a4a281f843d23df9554e590a19d1a3987e3}} 
M\+I\+N\+\_\+\+G\+P\+U\+\_\+\+P\+R\+O\+G\+R\+A\+M\+\_\+\+C\+H\+A\+N\+GE&Try to minimise the number of G\+PU program changes. \begin{DoxyNote}{Note}
Only really useful if you use G\+PU programs for all of your materials. 
\end{DoxyNote}
\\
\hline

\end{DoxyEnumFields}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_pass_a7f36f2c48b62fd29b2abdee4425d6a2c}\label{class_ogre_1_1_pass_a7f36f2c48b62fd29b2abdee4425d6a2c}} 
\index{Ogre::Pass@{Ogre::Pass}!Pass@{Pass}}
\index{Pass@{Pass}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{Pass()}{Pass()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Ogre\+::\+Pass\+::\+Pass (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$}]{parent,  }\item[{unsigned short}]{index }\end{DoxyParamCaption})}



Default constructor. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a2af67ca21bb1a91d6c228db8207384fc}\label{class_ogre_1_1_pass_a2af67ca21bb1a91d6c228db8207384fc}} 
\index{Ogre::Pass@{Ogre::Pass}!Pass@{Pass}}
\index{Pass@{Pass}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{Pass()}{Pass()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Ogre\+::\+Pass\+::\+Pass (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$}]{parent,  }\item[{unsigned short}]{index,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} \&}]{oth }\end{DoxyParamCaption})}



Copy constructor. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a939fc6e2a02a7d753c84ec11219e97da}\label{class_ogre_1_1_pass_a939fc6e2a02a7d753c84ec11219e97da}} 
\index{Ogre::Pass@{Ogre::Pass}!````~Pass@{$\sim$Pass}}
\index{````~Pass@{$\sim$Pass}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{$\sim$Pass()}{~Pass()}}
{\footnotesize\ttfamily Ogre\+::\+Pass\+::$\sim$\+Pass (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_pass_a10afa648bf34693a7b6c377e126da20f}\label{class_ogre_1_1_pass_a10afa648bf34693a7b6c377e126da20f}} 
\index{Ogre::Pass@{Ogre::Pass}!OGRE\_STATIC\_MUTEX@{OGRE\_STATIC\_MUTEX}}
\index{OGRE\_STATIC\_MUTEX@{OGRE\_STATIC\_MUTEX}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{OGRE\_STATIC\_MUTEX()}{OGRE\_STATIC\_MUTEX()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Ogre\+::\+Pass\+::\+O\+G\+R\+E\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+M\+U\+T\+EX (\begin{DoxyParamCaption}\item[{ms\+Dirty\+Hash\+List\+Mutex}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_pass_ab25733e77cd0b2f558d62e5a7ab7592e}\label{class_ogre_1_1_pass_ab25733e77cd0b2f558d62e5a7ab7592e}} 
\index{Ogre::Pass@{Ogre::Pass}!OGRE\_STATIC\_MUTEX@{OGRE\_STATIC\_MUTEX}}
\index{OGRE\_STATIC\_MUTEX@{OGRE\_STATIC\_MUTEX}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{OGRE\_STATIC\_MUTEX()}{OGRE\_STATIC\_MUTEX()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Ogre\+::\+Pass\+::\+O\+G\+R\+E\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+M\+U\+T\+EX (\begin{DoxyParamCaption}\item[{ms\+Pass\+Graveyard\+Mutex}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_pass_af23f6b1ae56f9acdcb05f8cbcf0e9153}\label{class_ogre_1_1_pass_af23f6b1ae56f9acdcb05f8cbcf0e9153}} 
\index{Ogre::Pass@{Ogre::Pass}!OGRE\_MUTEX@{OGRE\_MUTEX}}
\index{OGRE\_MUTEX@{OGRE\_MUTEX}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{OGRE\_MUTEX()}{OGRE\_MUTEX()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Ogre\+::\+Pass\+::\+O\+G\+R\+E\+\_\+\+M\+U\+T\+EX (\begin{DoxyParamCaption}\item[{m\+Tex\+Unit\+Change\+Mutex}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_pass_ab3af180b9759ea13e557003abc84e594}\label{class_ogre_1_1_pass_ab3af180b9759ea13e557003abc84e594}} 
\index{Ogre::Pass@{Ogre::Pass}!OGRE\_MUTEX@{OGRE\_MUTEX}}
\index{OGRE\_MUTEX@{OGRE\_MUTEX}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{OGRE\_MUTEX()}{OGRE\_MUTEX()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Ogre\+::\+Pass\+::\+O\+G\+R\+E\+\_\+\+M\+U\+T\+EX (\begin{DoxyParamCaption}\item[{m\+Gpu\+Program\+Change\+Mutex}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_pass_a15bb76abae180b60dfcf9a6e1fdcd8fe}\label{class_ogre_1_1_pass_a15bb76abae180b60dfcf9a6e1fdcd8fe}} 
\index{Ogre::Pass@{Ogre::Pass}!operator=@{operator=}}
\index{operator=@{operator=}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}\& Ogre\+::\+Pass\+::operator= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} \&}]{oth }\end{DoxyParamCaption})}



Operator = overload. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a4a247aa90883ca1435fb949d191d6110}\label{class_ogre_1_1_pass_a4a247aa90883ca1435fb949d191d6110}} 
\index{Ogre::Pass@{Ogre::Pass}!isProgrammable@{isProgrammable}}
\index{isProgrammable@{isProgrammable}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{isProgrammable()}{isProgrammable()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::is\+Programmable (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if this pass is programmable i.\+e. includes either a vertex or fragment program. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a61dd187f9201fcf102c26a02d8f85412}\label{class_ogre_1_1_pass_a61dd187f9201fcf102c26a02d8f85412}} 
\index{Ogre::Pass@{Ogre::Pass}!hasVertexProgram@{hasVertexProgram}}
\index{hasVertexProgram@{hasVertexProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{hasVertexProgram()}{hasVertexProgram()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::has\+Vertex\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if this pass uses a programmable vertex pipeline. 



References Ogre\+::\+G\+P\+T\+\_\+\+V\+E\+R\+T\+E\+X\+\_\+\+P\+R\+O\+G\+R\+AM.

\mbox{\Hypertarget{class_ogre_1_1_pass_a85bffe16db4ccd90a26a257ded6e57c4}\label{class_ogre_1_1_pass_a85bffe16db4ccd90a26a257ded6e57c4}} 
\index{Ogre::Pass@{Ogre::Pass}!hasFragmentProgram@{hasFragmentProgram}}
\index{hasFragmentProgram@{hasFragmentProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{hasFragmentProgram()}{hasFragmentProgram()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::has\+Fragment\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if this pass uses a programmable fragment pipeline. 



References Ogre\+::\+G\+P\+T\+\_\+\+F\+R\+A\+G\+M\+E\+N\+T\+\_\+\+P\+R\+O\+G\+R\+AM.

\mbox{\Hypertarget{class_ogre_1_1_pass_a763b8993d64d234349ffa11932b912e0}\label{class_ogre_1_1_pass_a763b8993d64d234349ffa11932b912e0}} 
\index{Ogre::Pass@{Ogre::Pass}!hasGeometryProgram@{hasGeometryProgram}}
\index{hasGeometryProgram@{hasGeometryProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{hasGeometryProgram()}{hasGeometryProgram()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::has\+Geometry\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if this pass uses a programmable geometry pipeline. 



References Ogre\+::\+G\+P\+T\+\_\+\+G\+E\+O\+M\+E\+T\+R\+Y\+\_\+\+P\+R\+O\+G\+R\+AM.

\mbox{\Hypertarget{class_ogre_1_1_pass_af2643f7594c827d2f1b8785029de280f}\label{class_ogre_1_1_pass_af2643f7594c827d2f1b8785029de280f}} 
\index{Ogre::Pass@{Ogre::Pass}!hasTessellationHullProgram@{hasTessellationHullProgram}}
\index{hasTessellationHullProgram@{hasTessellationHullProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{hasTessellationHullProgram()}{hasTessellationHullProgram()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::has\+Tessellation\+Hull\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if this pass uses a programmable tessellation control pipeline. 



References Ogre\+::\+G\+P\+T\+\_\+\+H\+U\+L\+L\+\_\+\+P\+R\+O\+G\+R\+AM.

\mbox{\Hypertarget{class_ogre_1_1_pass_a7a1d67d993a4b3fdd0eb3719704947bb}\label{class_ogre_1_1_pass_a7a1d67d993a4b3fdd0eb3719704947bb}} 
\index{Ogre::Pass@{Ogre::Pass}!hasTessellationDomainProgram@{hasTessellationDomainProgram}}
\index{hasTessellationDomainProgram@{hasTessellationDomainProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{hasTessellationDomainProgram()}{hasTessellationDomainProgram()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::has\+Tessellation\+Domain\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if this pass uses a programmable tessellation control pipeline. 



References Ogre\+::\+G\+P\+T\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+P\+R\+O\+G\+R\+AM.

\mbox{\Hypertarget{class_ogre_1_1_pass_ad1d50f9c7cd1b11646ec88f463f0a27f}\label{class_ogre_1_1_pass_ad1d50f9c7cd1b11646ec88f463f0a27f}} 
\index{Ogre::Pass@{Ogre::Pass}!hasComputeProgram@{hasComputeProgram}}
\index{hasComputeProgram@{hasComputeProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{hasComputeProgram()}{hasComputeProgram()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::has\+Compute\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if this pass uses a programmable compute pipeline. 



References Ogre\+::\+G\+P\+T\+\_\+\+C\+O\+M\+P\+U\+T\+E\+\_\+\+P\+R\+O\+G\+R\+AM.

\mbox{\Hypertarget{class_ogre_1_1_pass_a50c6d6fd2006b244a6f94b165d514311}\label{class_ogre_1_1_pass_a50c6d6fd2006b244a6f94b165d514311}} 
\index{Ogre::Pass@{Ogre::Pass}!hasShadowCasterVertexProgram@{hasShadowCasterVertexProgram}}
\index{hasShadowCasterVertexProgram@{hasShadowCasterVertexProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{hasShadowCasterVertexProgram()}{hasShadowCasterVertexProgram()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::has\+Shadow\+Caster\+Vertex\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if this pass uses a shadow caster vertex program. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ae256023496cab7813ac4f0e4105eeb74}\label{class_ogre_1_1_pass_ae256023496cab7813ac4f0e4105eeb74}} 
\index{Ogre::Pass@{Ogre::Pass}!hasShadowCasterFragmentProgram@{hasShadowCasterFragmentProgram}}
\index{hasShadowCasterFragmentProgram@{hasShadowCasterFragmentProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{hasShadowCasterFragmentProgram()}{hasShadowCasterFragmentProgram()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::has\+Shadow\+Caster\+Fragment\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if this pass uses a shadow caster fragment program. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a77250f25ba50f4352009b1805deb038d}\label{class_ogre_1_1_pass_a77250f25ba50f4352009b1805deb038d}} 
\index{Ogre::Pass@{Ogre::Pass}!hasShadowReceiverVertexProgram@{hasShadowReceiverVertexProgram}}
\index{hasShadowReceiverVertexProgram@{hasShadowReceiverVertexProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{hasShadowReceiverVertexProgram()}{hasShadowReceiverVertexProgram()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::has\+Shadow\+Receiver\+Vertex\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if this pass uses a shadow receiver vertex program. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ad8bc22ce3f99782a7bc7582d7a77dcb9}\label{class_ogre_1_1_pass_ad8bc22ce3f99782a7bc7582d7a77dcb9}} 
\index{Ogre::Pass@{Ogre::Pass}!hasShadowReceiverFragmentProgram@{hasShadowReceiverFragmentProgram}}
\index{hasShadowReceiverFragmentProgram@{hasShadowReceiverFragmentProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{hasShadowReceiverFragmentProgram()}{hasShadowReceiverFragmentProgram()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::has\+Shadow\+Receiver\+Fragment\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if this pass uses a shadow receiver fragment program. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a76e0c135dbcacf5d12cc78a15452c7dc}\label{class_ogre_1_1_pass_a76e0c135dbcacf5d12cc78a15452c7dc}} 
\index{Ogre::Pass@{Ogre::Pass}!calculateSize@{calculateSize}}
\index{calculateSize@{calculateSize}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{calculateSize()}{calculateSize()}}
{\footnotesize\ttfamily size\+\_\+t Ogre\+::\+Pass\+::calculate\+Size (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_ogre_1_1_pass_afb3b4e8c3d0058a43cd2b855fc22199c}\label{class_ogre_1_1_pass_afb3b4e8c3d0058a43cd2b855fc22199c}} 
\index{Ogre::Pass@{Ogre::Pass}!getIndex@{getIndex}}
\index{getIndex@{getIndex}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getIndex()}{getIndex()}}
{\footnotesize\ttfamily unsigned short Ogre\+::\+Pass\+::get\+Index (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the index of this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} in the parent \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a03306f735122ec4e7d4c391f1528cf50}\label{class_ogre_1_1_pass_a03306f735122ec4e7d4c391f1528cf50}} 
\index{Ogre::Pass@{Ogre::Pass}!setName@{setName}}
\index{setName@{setName}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setName()}{setName()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



Set the name of the pass. 

\begin{DoxyRemark}{Remarks}
The name of the pass is optional. Its useful in material scripts where a material could inherit from another material and only want to modify a particular pass. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_a242acbbf397d9db273dcb42d9e4a653c}\label{class_ogre_1_1_pass_a242acbbf397d9db273dcb42d9e4a653c}} 
\index{Ogre::Pass@{Ogre::Pass}!getName@{getName}}
\index{getName@{getName}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getName()}{getName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Pass\+::get\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the name of the pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_aba057d0d19159c21b9a79485512b6f9d}\label{class_ogre_1_1_pass_aba057d0d19159c21b9a79485512b6f9d}} 
\index{Ogre::Pass@{Ogre::Pass}!setAmbient@{setAmbient}}
\index{setAmbient@{setAmbient}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setAmbient()}{setAmbient()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Ambient (\begin{DoxyParamCaption}\item[{float}]{red,  }\item[{float}]{green,  }\item[{float}]{blue }\end{DoxyParamCaption})}



Sets the ambient colour reflectance properties of this pass. 

This property determines how much ambient light (directionless global light) is reflected. The default is full white, meaning objects are completely globally illuminated. Reduce this if you want to see diffuse or specular light effects, or change the blend of colours to make the object have a base colour other than white.

It is also possible to make the ambient reflectance track the vertex colour as defined in the mesh instead of the colour values. \begin{DoxyNote}{Note}
This setting has no effect if dynamic lighting is disabled (see \mbox{\hyperlink{class_ogre_1_1_pass_a6285f13a06eb7f00b83ea2754e434623}{Ogre\+::\+Pass\+::set\+Lighting\+Enabled}}), or, if any texture layer has a \mbox{\hyperlink{group___materials_ggabcbb38d1ac195e4be401f85b7ab0da8fa870cf51ff1ccd919cf710bcb3b4e6432}{Ogre\+::\+L\+B\+O\+\_\+\+R\+E\+P\+L\+A\+CE}} attribute. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_abdcffe5cb7cee6c8c5a5fd4c2f75164d}\label{class_ogre_1_1_pass_abdcffe5cb7cee6c8c5a5fd4c2f75164d}} 
\index{Ogre::Pass@{Ogre::Pass}!setAmbient@{setAmbient}}
\index{setAmbient@{setAmbient}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setAmbient()}{setAmbient()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Ambient (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{ambient }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a823dd0856cf4d8bfa08abc3591c47c02}\label{class_ogre_1_1_pass_a823dd0856cf4d8bfa08abc3591c47c02}} 
\index{Ogre::Pass@{Ogre::Pass}!setDiffuse@{setDiffuse}}
\index{setDiffuse@{setDiffuse}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setDiffuse()}{setDiffuse()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Diffuse (\begin{DoxyParamCaption}\item[{float}]{red,  }\item[{float}]{green,  }\item[{float}]{blue,  }\item[{float}]{alpha }\end{DoxyParamCaption})}



Sets the diffuse colour reflectance properties of this pass. 

This property determines how much diffuse light (light from instances of the \mbox{\hyperlink{class_ogre_1_1_light}{Light}} class in the scene) is reflected. The default is full white, meaning objects reflect the maximum white light they can from \mbox{\hyperlink{class_ogre_1_1_light}{Light}} objects.

It is also possible to make the diffuse reflectance track the vertex colour as defined in the mesh instead of the colour values. \begin{DoxyNote}{Note}
This setting has no effect if dynamic lighting is disabled (see \mbox{\hyperlink{class_ogre_1_1_pass_a6285f13a06eb7f00b83ea2754e434623}{Ogre\+::\+Pass\+::set\+Lighting\+Enabled}}), or, if any texture layer has a \mbox{\hyperlink{group___materials_ggabcbb38d1ac195e4be401f85b7ab0da8fa870cf51ff1ccd919cf710bcb3b4e6432}{Ogre\+::\+L\+B\+O\+\_\+\+R\+E\+P\+L\+A\+CE}} attribute. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_a67e3cb12113b4fc56b8d3d4cee03068a}\label{class_ogre_1_1_pass_a67e3cb12113b4fc56b8d3d4cee03068a}} 
\index{Ogre::Pass@{Ogre::Pass}!setDiffuse@{setDiffuse}}
\index{setDiffuse@{setDiffuse}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setDiffuse()}{setDiffuse()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Diffuse (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{diffuse }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a4e47ea4922d6da5b58eb9879f7e9da09}\label{class_ogre_1_1_pass_a4e47ea4922d6da5b58eb9879f7e9da09}} 
\index{Ogre::Pass@{Ogre::Pass}!setSpecular@{setSpecular}}
\index{setSpecular@{setSpecular}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setSpecular()}{setSpecular()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Specular (\begin{DoxyParamCaption}\item[{float}]{red,  }\item[{float}]{green,  }\item[{float}]{blue,  }\item[{float}]{alpha }\end{DoxyParamCaption})}



Sets the specular colour reflectance properties of this pass. 

This property determines how much specular light (highlights from instances of the \mbox{\hyperlink{class_ogre_1_1_light}{Light}} class in the scene) is reflected. The default is to reflect no specular light.

It is also possible to make the specular reflectance track the vertex colour as defined in the mesh instead of the colour values. \begin{DoxyNote}{Note}
The size of the specular highlights is determined by the separate \textquotesingle{}shininess\textquotesingle{} property. 

This setting has no effect if dynamic lighting is disabled (see \mbox{\hyperlink{class_ogre_1_1_pass_a6285f13a06eb7f00b83ea2754e434623}{Ogre\+::\+Pass\+::set\+Lighting\+Enabled}}), or, if any texture layer has a \mbox{\hyperlink{group___materials_ggabcbb38d1ac195e4be401f85b7ab0da8fa870cf51ff1ccd919cf710bcb3b4e6432}{Ogre\+::\+L\+B\+O\+\_\+\+R\+E\+P\+L\+A\+CE}} attribute. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_a66770883c6420a761996a29b9d5f57bc}\label{class_ogre_1_1_pass_a66770883c6420a761996a29b9d5f57bc}} 
\index{Ogre::Pass@{Ogre::Pass}!setSpecular@{setSpecular}}
\index{setSpecular@{setSpecular}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setSpecular()}{setSpecular()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Specular (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{specular }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a8202cf155d20602fd9c0ec53273a442f}\label{class_ogre_1_1_pass_a8202cf155d20602fd9c0ec53273a442f}} 
\index{Ogre::Pass@{Ogre::Pass}!setShininess@{setShininess}}
\index{setShininess@{setShininess}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setShininess()}{setShininess()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Shininess (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{val }\end{DoxyParamCaption})}



Sets the shininess of the pass, affecting the size of specular highlights. 

The higher the value of the shininess parameter, the sharper the highlight i.\+e. the radius is smaller. Beware of using shininess values in the range of 0 to 1 since this causes the the specular colour to be applied to the whole surface that has the material applied to it. When the viewing angle to the surface changes, ugly flickering will also occur when shininess is in the range of 0 to 1. Shininess values between 1 and 128 work best in both DirectX and Open\+GL renderers. \begin{DoxyNote}{Note}
This setting has no effect if dynamic lighting is disabled (see \mbox{\hyperlink{class_ogre_1_1_pass_a6285f13a06eb7f00b83ea2754e434623}{Ogre\+::\+Pass\+::set\+Lighting\+Enabled}}), or, if any texture layer has a \mbox{\hyperlink{group___materials_ggabcbb38d1ac195e4be401f85b7ab0da8fa870cf51ff1ccd919cf710bcb3b4e6432}{Ogre\+::\+L\+B\+O\+\_\+\+R\+E\+P\+L\+A\+CE}} attribute. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_a93c36ae948d9e0357c11adb0ce6d5859}\label{class_ogre_1_1_pass_a93c36ae948d9e0357c11adb0ce6d5859}} 
\index{Ogre::Pass@{Ogre::Pass}!setSelfIllumination@{setSelfIllumination}}
\index{setSelfIllumination@{setSelfIllumination}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setSelfIllumination()}{setSelfIllumination()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Self\+Illumination (\begin{DoxyParamCaption}\item[{float}]{red,  }\item[{float}]{green,  }\item[{float}]{blue }\end{DoxyParamCaption})}



Sets the amount of self-\/illumination an object has. 

If an object is self-\/illuminating, it does not need external sources to light it, ambient or otherwise. It\textquotesingle{}s like the object has it\textquotesingle{}s own personal ambient light. This property is rarely useful since you can already specify per-\/pass ambient light, but is here for completeness.

It is also possible to make the emissive reflectance track the vertex colour as defined in the mesh instead of the colour values. \begin{DoxyNote}{Note}
This setting has no effect if dynamic lighting is disabled (see \mbox{\hyperlink{class_ogre_1_1_pass_a6285f13a06eb7f00b83ea2754e434623}{Ogre\+::\+Pass\+::set\+Lighting\+Enabled}}), or, if any texture layer has a \mbox{\hyperlink{group___materials_ggabcbb38d1ac195e4be401f85b7ab0da8fa870cf51ff1ccd919cf710bcb3b4e6432}{Ogre\+::\+L\+B\+O\+\_\+\+R\+E\+P\+L\+A\+CE}} attribute. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_a4ed49cbeb67725747cb25376ca67c2bb}\label{class_ogre_1_1_pass_a4ed49cbeb67725747cb25376ca67c2bb}} 
\index{Ogre::Pass@{Ogre::Pass}!setSelfIllumination@{setSelfIllumination}}
\index{setSelfIllumination@{setSelfIllumination}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setSelfIllumination()}{setSelfIllumination()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Self\+Illumination (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{self\+Illum }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ae3ad6543e0c24eb7f12b00f46e7124d8}\label{class_ogre_1_1_pass_ae3ad6543e0c24eb7f12b00f46e7124d8}} 
\index{Ogre::Pass@{Ogre::Pass}!setEmissive@{setEmissive}}
\index{setEmissive@{setEmissive}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setEmissive()}{setEmissive()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Emissive (\begin{DoxyParamCaption}\item[{float}]{red,  }\item[{float}]{green,  }\item[{float}]{blue }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets the amount of self-\/illumination an object has. 

If an object is self-\/illuminating, it does not need external sources to light it, ambient or otherwise. It\textquotesingle{}s like the object has it\textquotesingle{}s own personal ambient light. This property is rarely useful since you can already specify per-\/pass ambient light, but is here for completeness.

It is also possible to make the emissive reflectance track the vertex colour as defined in the mesh instead of the colour values. \begin{DoxyNote}{Note}
This setting has no effect if dynamic lighting is disabled (see \mbox{\hyperlink{class_ogre_1_1_pass_a6285f13a06eb7f00b83ea2754e434623}{Ogre\+::\+Pass\+::set\+Lighting\+Enabled}}), or, if any texture layer has a \mbox{\hyperlink{group___materials_ggabcbb38d1ac195e4be401f85b7ab0da8fa870cf51ff1ccd919cf710bcb3b4e6432}{Ogre\+::\+L\+B\+O\+\_\+\+R\+E\+P\+L\+A\+CE}} attribute. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_ae5653eb7430051fc4a81aa577c031186}\label{class_ogre_1_1_pass_ae5653eb7430051fc4a81aa577c031186}} 
\index{Ogre::Pass@{Ogre::Pass}!setEmissive@{setEmissive}}
\index{setEmissive@{setEmissive}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setEmissive()}{setEmissive()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Emissive (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{emissive }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a30b32d92dd9d316ff9650affd08d16a2}\label{class_ogre_1_1_pass_a30b32d92dd9d316ff9650affd08d16a2}} 
\index{Ogre::Pass@{Ogre::Pass}!setVertexColourTracking@{setVertexColourTracking}}
\index{setVertexColourTracking@{setVertexColourTracking}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setVertexColourTracking()}{setVertexColourTracking()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Vertex\+Colour\+Tracking (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_gaf3fdba7211d7078a43201a1721532f9e}{Track\+Vertex\+Colour\+Type}}}]{tracking }\end{DoxyParamCaption})}



Sets which material properties follow the vertex colour. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ab63508d99fef116d0df14c080e0e1129}\label{class_ogre_1_1_pass_ab63508d99fef116d0df14c080e0e1129}} 
\index{Ogre::Pass@{Ogre::Pass}!setLineWidth@{setLineWidth}}
\index{setLineWidth@{setLineWidth}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setLineWidth()}{setLineWidth()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Line\+Width (\begin{DoxyParamCaption}\item[{float}]{width }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



set the line width for this pass 

This property determines what width is used to render lines. \begin{DoxyNote}{Note}
some drivers only support a value of 1.\+0 here 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_a788b633913442314683050c34b2c3c9b}\label{class_ogre_1_1_pass_a788b633913442314683050c34b2c3c9b}} 
\index{Ogre::Pass@{Ogre::Pass}!getLineWidth@{getLineWidth}}
\index{getLineWidth@{getLineWidth}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getLineWidth()}{getLineWidth()}}
{\footnotesize\ttfamily float Ogre\+::\+Pass\+::get\+Line\+Width (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_pass_a179a7abbb9ec8f4da2c8369691ad0032}\label{class_ogre_1_1_pass_a179a7abbb9ec8f4da2c8369691ad0032}} 
\index{Ogre::Pass@{Ogre::Pass}!getPointSize@{getPointSize}}
\index{getPointSize@{getPointSize}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getPointSize()}{getPointSize()}}
{\footnotesize\ttfamily float Ogre\+::\+Pass\+::get\+Point\+Size (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the point size of the pass. 

\begin{DoxyRemark}{Remarks}
This property determines what point size is used to render a point list. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_a490736f9eaeffd1c60611869d68931ee}\label{class_ogre_1_1_pass_a490736f9eaeffd1c60611869d68931ee}} 
\index{Ogre::Pass@{Ogre::Pass}!setPointSize@{setPointSize}}
\index{setPointSize@{setPointSize}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setPointSize()}{setPointSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Point\+Size (\begin{DoxyParamCaption}\item[{float}]{ps }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets the point size of this pass. 

This setting allows you to change the size of points when rendering a point list, or a list of point sprites. The interpretation of this command depends on the \mbox{\hyperlink{class_ogre_1_1_pass_a3540a0dab9519f146edad630f3c89c22}{Ogre\+::\+Pass\+::set\+Point\+Attenuation}} option -\/ if it is off (the default), the point size is in screen pixels, if it is on, it expressed as normalised screen coordinates (1.\+0 is the height of the screen) when the point is at the origin. \begin{DoxyNote}{Note}
Some drivers have an upper limit on the size of points they support -\/ this can even vary between A\+P\+Is on the same card! Don\textquotesingle{}t rely on point sizes that cause the point sprites to get very large on screen, since they may get clamped on some cards. Upper sizes can range from 64 to 256 pixels. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_a9683c2f40ed7c96b708eb2db5e02c842}\label{class_ogre_1_1_pass_a9683c2f40ed7c96b708eb2db5e02c842}} 
\index{Ogre::Pass@{Ogre::Pass}!setPointSpritesEnabled@{setPointSpritesEnabled}}
\index{setPointSpritesEnabled@{setPointSpritesEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setPointSpritesEnabled()}{setPointSpritesEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Point\+Sprites\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether points will be rendered as textured quads or plain dots. 

This setting specifies whether or not hardware point sprite rendering is enabled for this pass. Enabling it means that a point list is rendered as a list of quads rather than a list of dots. It is very useful to use this option if you are using a \mbox{\hyperlink{class_ogre_1_1_billboard_set}{Billboard\+Set}} and only need to use point oriented billboards which are all of the same size. You can also use it for any other point list render. \mbox{\Hypertarget{class_ogre_1_1_pass_af70ccd332a1df548058917c31021f7df}\label{class_ogre_1_1_pass_af70ccd332a1df548058917c31021f7df}} 
\index{Ogre::Pass@{Ogre::Pass}!getPointSpritesEnabled@{getPointSpritesEnabled}}
\index{getPointSpritesEnabled@{getPointSpritesEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getPointSpritesEnabled()}{getPointSpritesEnabled()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::get\+Point\+Sprites\+Enabled (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns whether point sprites are enabled when rendering a point list. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a3540a0dab9519f146edad630f3c89c22}\label{class_ogre_1_1_pass_a3540a0dab9519f146edad630f3c89c22}} 
\index{Ogre::Pass@{Ogre::Pass}!setPointAttenuation@{setPointAttenuation}}
\index{setPointAttenuation@{setPointAttenuation}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setPointAttenuation()}{setPointAttenuation()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Point\+Attenuation (\begin{DoxyParamCaption}\item[{bool}]{enabled,  }\item[{float}]{constant = {\ttfamily 0.0f},  }\item[{float}]{linear = {\ttfamily 1.0f},  }\item[{float}]{quadratic = {\ttfamily 0.0f} }\end{DoxyParamCaption})}



Sets how points are attenuated with distance. 

When performing point rendering or point sprite rendering, point size can be attenuated with distance. The equation for doing this is

\$\$attenuation = 1 / (constant + linear $\ast$ dist + quadratic $\ast$ d$^\wedge$2)\$\$

For example, to disable distance attenuation (constant screensize) you would set constant to 1, and linear and quadratic to 0. A standard perspective attenuation would be 0, 1, 0 respectively.

The resulting size is clamped to the minimum and maximum point size. 
\begin{DoxyParams}{Parameters}
{\em enabled} & Whether point attenuation is enabled \\
\hline
{\em constant,linear,quadratic} & Parameters to the attenuation function defined above \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_af5e358a5fd8a944c9845f8aee4ba54a6}\label{class_ogre_1_1_pass_af5e358a5fd8a944c9845f8aee4ba54a6}} 
\index{Ogre::Pass@{Ogre::Pass}!isPointAttenuationEnabled@{isPointAttenuationEnabled}}
\index{isPointAttenuationEnabled@{isPointAttenuationEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{isPointAttenuationEnabled()}{isPointAttenuationEnabled()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::is\+Point\+Attenuation\+Enabled (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns whether points are attenuated with distance. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a58d04fc4bd33d55bd6059c06db15f5f8}\label{class_ogre_1_1_pass_a58d04fc4bd33d55bd6059c06db15f5f8}} 
\index{Ogre::Pass@{Ogre::Pass}!getPointAttenuationConstant@{getPointAttenuationConstant}}
\index{getPointAttenuationConstant@{getPointAttenuationConstant}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getPointAttenuationConstant()}{getPointAttenuationConstant()}}
{\footnotesize\ttfamily float Ogre\+::\+Pass\+::get\+Point\+Attenuation\+Constant (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns the constant coefficient of point attenuation. 

\mbox{\Hypertarget{class_ogre_1_1_pass_af27332810328f3be996516ccfd105ac2}\label{class_ogre_1_1_pass_af27332810328f3be996516ccfd105ac2}} 
\index{Ogre::Pass@{Ogre::Pass}!getPointAttenuationLinear@{getPointAttenuationLinear}}
\index{getPointAttenuationLinear@{getPointAttenuationLinear}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getPointAttenuationLinear()}{getPointAttenuationLinear()}}
{\footnotesize\ttfamily float Ogre\+::\+Pass\+::get\+Point\+Attenuation\+Linear (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns the linear coefficient of point attenuation. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ad7d25e05b830745ecfc6cbd09624ee17}\label{class_ogre_1_1_pass_ad7d25e05b830745ecfc6cbd09624ee17}} 
\index{Ogre::Pass@{Ogre::Pass}!getPointAttenuationQuadratic@{getPointAttenuationQuadratic}}
\index{getPointAttenuationQuadratic@{getPointAttenuationQuadratic}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getPointAttenuationQuadratic()}{getPointAttenuationQuadratic()}}
{\footnotesize\ttfamily float Ogre\+::\+Pass\+::get\+Point\+Attenuation\+Quadratic (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns the quadratic coefficient of point attenuation. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a2eb0e0f957c2dd23fb068a160dd4f8f5}\label{class_ogre_1_1_pass_a2eb0e0f957c2dd23fb068a160dd4f8f5}} 
\index{Ogre::Pass@{Ogre::Pass}!getPointAttenuation@{getPointAttenuation}}
\index{getPointAttenuation@{getPointAttenuation}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getPointAttenuation()}{getPointAttenuation()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_a272ffe59e216908cce70c5fd11eaa7ff}{Vector4f}}\& Ogre\+::\+Pass\+::get\+Point\+Attenuation (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



get all point attenuation params as (size, constant, linear, quadratic) 

\mbox{\Hypertarget{class_ogre_1_1_pass_a75a3e18e0d2c3e7f51a47cedcec0246c}\label{class_ogre_1_1_pass_a75a3e18e0d2c3e7f51a47cedcec0246c}} 
\index{Ogre::Pass@{Ogre::Pass}!setPointMinSize@{setPointMinSize}}
\index{setPointMinSize@{setPointMinSize}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setPointMinSize()}{setPointMinSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Point\+Min\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{min }\end{DoxyParamCaption})}



Set the minimum point size, when point attenuation is in use. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a8d799c8e3324a37e70d50f8fd1e5daac}\label{class_ogre_1_1_pass_a8d799c8e3324a37e70d50f8fd1e5daac}} 
\index{Ogre::Pass@{Ogre::Pass}!getPointMinSize@{getPointMinSize}}
\index{getPointMinSize@{getPointMinSize}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getPointMinSize()}{getPointMinSize()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Pass\+::get\+Point\+Min\+Size (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get the minimum point size, when point attenuation is in use. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a463b59eaa324934370441a98b8b619b3}\label{class_ogre_1_1_pass_a463b59eaa324934370441a98b8b619b3}} 
\index{Ogre::Pass@{Ogre::Pass}!setPointMaxSize@{setPointMaxSize}}
\index{setPointMaxSize@{setPointMaxSize}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setPointMaxSize()}{setPointMaxSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Point\+Max\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{max }\end{DoxyParamCaption})}



Set the maximum point size, when point attenuation is in use. 

\begin{DoxyRemark}{Remarks}
Setting this to 0 indicates the max size supported by the card. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_aeaf906d8abba9a4b4dde83f87daa0f4e}\label{class_ogre_1_1_pass_aeaf906d8abba9a4b4dde83f87daa0f4e}} 
\index{Ogre::Pass@{Ogre::Pass}!getPointMaxSize@{getPointMaxSize}}
\index{getPointMaxSize@{getPointMaxSize}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getPointMaxSize()}{getPointMaxSize()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Pass\+::get\+Point\+Max\+Size (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get the maximum point size, when point attenuation is in use. 

\begin{DoxyRemark}{Remarks}
0 indicates the max size supported by the card. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_a025d29e0df7f5fa8209e37e3dbac057a}\label{class_ogre_1_1_pass_a025d29e0df7f5fa8209e37e3dbac057a}} 
\index{Ogre::Pass@{Ogre::Pass}!getAmbient@{getAmbient}}
\index{getAmbient@{getAmbient}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getAmbient()}{getAmbient()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}}\& Ogre\+::\+Pass\+::get\+Ambient (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the ambient colour reflectance of the pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ab41a5ed7aadfabec2111e3124f77cf71}\label{class_ogre_1_1_pass_ab41a5ed7aadfabec2111e3124f77cf71}} 
\index{Ogre::Pass@{Ogre::Pass}!getDiffuse@{getDiffuse}}
\index{getDiffuse@{getDiffuse}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getDiffuse()}{getDiffuse()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}}\& Ogre\+::\+Pass\+::get\+Diffuse (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the diffuse colour reflectance of the pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a9847a07e3a202069e91cd0cccc104de7}\label{class_ogre_1_1_pass_a9847a07e3a202069e91cd0cccc104de7}} 
\index{Ogre::Pass@{Ogre::Pass}!getSpecular@{getSpecular}}
\index{getSpecular@{getSpecular}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getSpecular()}{getSpecular()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}}\& Ogre\+::\+Pass\+::get\+Specular (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the specular colour reflectance of the pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a21cc793a33a80097900866835aea9abd}\label{class_ogre_1_1_pass_a21cc793a33a80097900866835aea9abd}} 
\index{Ogre::Pass@{Ogre::Pass}!getSelfIllumination@{getSelfIllumination}}
\index{getSelfIllumination@{getSelfIllumination}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getSelfIllumination()}{getSelfIllumination()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}}\& Ogre\+::\+Pass\+::get\+Self\+Illumination (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the self illumination colour of the pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a57c97de91cbc0c86e3ca06ccc22b9a12}\label{class_ogre_1_1_pass_a57c97de91cbc0c86e3ca06ccc22b9a12}} 
\index{Ogre::Pass@{Ogre::Pass}!getEmissive@{getEmissive}}
\index{getEmissive@{getEmissive}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getEmissive()}{getEmissive()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}}\& Ogre\+::\+Pass\+::get\+Emissive (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the self illumination colour of the pass. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a21cc793a33a80097900866835aea9abd}{get\+Self\+Illumination}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_pass_af18dc0bd11d49aacbd053c4772511650}\label{class_ogre_1_1_pass_af18dc0bd11d49aacbd053c4772511650}} 
\index{Ogre::Pass@{Ogre::Pass}!getShininess@{getShininess}}
\index{getShininess@{getShininess}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getShininess()}{getShininess()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Pass\+::get\+Shininess (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the \textquotesingle{}shininess\textquotesingle{} property of the pass (affects specular highlights). 

\mbox{\Hypertarget{class_ogre_1_1_pass_a36f48ebbf2890d0744443f7da45acab7}\label{class_ogre_1_1_pass_a36f48ebbf2890d0744443f7da45acab7}} 
\index{Ogre::Pass@{Ogre::Pass}!getVertexColourTracking@{getVertexColourTracking}}
\index{getVertexColourTracking@{getVertexColourTracking}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getVertexColourTracking()}{getVertexColourTracking()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___general_gaf3fdba7211d7078a43201a1721532f9e}{Track\+Vertex\+Colour\+Type}} Ogre\+::\+Pass\+::get\+Vertex\+Colour\+Tracking (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets which material properties follow the vertex colour. 

\mbox{\Hypertarget{class_ogre_1_1_pass_adfee1e1da3564408697f6b1227102c63}\label{class_ogre_1_1_pass_adfee1e1da3564408697f6b1227102c63}} 
\index{Ogre::Pass@{Ogre::Pass}!createTextureUnitState@{createTextureUnitState}}
\index{createTextureUnitState@{createTextureUnitState}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{createTextureUnitState()}{createTextureUnitState()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}}$\ast$ Ogre\+::\+Pass\+::create\+Texture\+Unit\+State (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{texture\+Name,  }\item[{unsigned short}]{tex\+Coord\+Set = {\ttfamily 0} }\end{DoxyParamCaption})}



Inserts a new \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} object into the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. 

\begin{DoxyRemark}{Remarks}
This unit is is added on top of all previous units. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em texture\+Name} & The basic name of the texture e.\+g. brickwall.\+jpg, stonefloor.\+png \\
\hline
{\em tex\+Coord\+Set} & The index of the texture coordinate set to use. \\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
Applies to both fixed-\/function and programmable passes. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_af8b37124088b574d2cbb2652c0ee4272}\label{class_ogre_1_1_pass_af8b37124088b574d2cbb2652c0ee4272}} 
\index{Ogre::Pass@{Ogre::Pass}!createTextureUnitState@{createTextureUnitState}}
\index{createTextureUnitState@{createTextureUnitState}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{createTextureUnitState()}{createTextureUnitState()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}}$\ast$ Ogre\+::\+Pass\+::create\+Texture\+Unit\+State (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a00a4036c87d4778c20d19412e9530ff2}\label{class_ogre_1_1_pass_a00a4036c87d4778c20d19412e9530ff2}} 
\index{Ogre::Pass@{Ogre::Pass}!addTextureUnitState@{addTextureUnitState}}
\index{addTextureUnitState@{addTextureUnitState}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{addTextureUnitState()}{addTextureUnitState()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::add\+Texture\+Unit\+State (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} $\ast$}]{state }\end{DoxyParamCaption})}



Adds the passed in \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}}, to the existing \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. 


\begin{DoxyParams}{Parameters}
{\em state} & The \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State to be attached to this pass. It must not be attached to another pass. \\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
Throws an exception if the \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} is attached to another \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_abc81491af9bf41501f3ec60f4f0bef76}\label{class_ogre_1_1_pass_abc81491af9bf41501f3ec60f4f0bef76}} 
\index{Ogre::Pass@{Ogre::Pass}!getTextureUnitState@{getTextureUnitState}}
\index{getTextureUnitState@{getTextureUnitState}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getTextureUnitState()}{getTextureUnitState()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}}$\ast$ Ogre\+::\+Pass\+::get\+Texture\+Unit\+State (\begin{DoxyParamCaption}\item[{unsigned short}]{index }\end{DoxyParamCaption}) const}



Retrieves a const pointer to a texture unit state. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000095}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_pass_a27a57322ba3813c39d62bbd7a3ba01fb}{get\+Texture\+Unit\+States()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_pass_afe30c603d0dab1f4194463699c0091ba}\label{class_ogre_1_1_pass_afe30c603d0dab1f4194463699c0091ba}} 
\index{Ogre::Pass@{Ogre::Pass}!getTextureUnitState@{getTextureUnitState}}
\index{getTextureUnitState@{getTextureUnitState}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getTextureUnitState()}{getTextureUnitState()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}}$\ast$ Ogre\+::\+Pass\+::get\+Texture\+Unit\+State (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption}) const}



Retrieves the \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State matching name. 

Returns 0 if name match is not found. \mbox{\Hypertarget{class_ogre_1_1_pass_a613a1145ae3ee981f223c00fc21b742e}\label{class_ogre_1_1_pass_a613a1145ae3ee981f223c00fc21b742e}} 
\index{Ogre::Pass@{Ogre::Pass}!getTextureUnitStateIndex@{getTextureUnitStateIndex}}
\index{getTextureUnitStateIndex@{getTextureUnitStateIndex}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getTextureUnitStateIndex()}{getTextureUnitStateIndex()}}
{\footnotesize\ttfamily unsigned short Ogre\+::\+Pass\+::get\+Texture\+Unit\+State\+Index (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} $\ast$}]{state }\end{DoxyParamCaption}) const}



Retrieve the index of the \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State in the pass. 


\begin{DoxyParams}{Parameters}
{\em state} & The \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State this is attached to this pass. \\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
Throws an exception if the state is not attached to the pass. 
\end{DoxyNote}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000096}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_pass_a27a57322ba3813c39d62bbd7a3ba01fb}{get\+Texture\+Unit\+States()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_pass_ac1513f6d3e1acb9037225d826ec99856}\label{class_ogre_1_1_pass_ac1513f6d3e1acb9037225d826ec99856}} 
\index{Ogre::Pass@{Ogre::Pass}!getTextureUnitStateIterator@{getTextureUnitStateIterator}}
\index{getTextureUnitStateIterator@{getTextureUnitStateIterator}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getTextureUnitStateIterator()}{getTextureUnitStateIterator()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_pass_ac7bc2b00e42ad2699a1e2a1de340d3b4}{Texture\+Unit\+State\+Iterator}} Ogre\+::\+Pass\+::get\+Texture\+Unit\+State\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get an iterator over the Texture\+Unit\+States contained in this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000097}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_pass_a27a57322ba3813c39d62bbd7a3ba01fb}{get\+Texture\+Unit\+States()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_pass_a185a8f17c108024b5b0683d895d5bcaf}\label{class_ogre_1_1_pass_a185a8f17c108024b5b0683d895d5bcaf}} 
\index{Ogre::Pass@{Ogre::Pass}!getTextureUnitStateIterator@{getTextureUnitStateIterator}}
\index{getTextureUnitStateIterator@{getTextureUnitStateIterator}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getTextureUnitStateIterator()}{getTextureUnitStateIterator()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_pass_a98b42a4f4304f3f2d08fb9394cbefe83}{Const\+Texture\+Unit\+State\+Iterator}} Ogre\+::\+Pass\+::get\+Texture\+Unit\+State\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get an iterator over the Texture\+Unit\+States contained in this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000098}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_pass_a27a57322ba3813c39d62bbd7a3ba01fb}{get\+Texture\+Unit\+States()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_pass_a27a57322ba3813c39d62bbd7a3ba01fb}\label{class_ogre_1_1_pass_a27a57322ba3813c39d62bbd7a3ba01fb}} 
\index{Ogre::Pass@{Ogre::Pass}!getTextureUnitStates@{getTextureUnitStates}}
\index{getTextureUnitStates@{getTextureUnitStates}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getTextureUnitStates()}{getTextureUnitStates()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_pass_a1054ecda87f96dad530ec49099379755}{Texture\+Unit\+States}}\& Ogre\+::\+Pass\+::get\+Texture\+Unit\+States (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the Texture\+Unit\+States contained in this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a66085d80b0caa39850216b603cec40b1}\label{class_ogre_1_1_pass_a66085d80b0caa39850216b603cec40b1}} 
\index{Ogre::Pass@{Ogre::Pass}!removeTextureUnitState@{removeTextureUnitState}}
\index{removeTextureUnitState@{removeTextureUnitState}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{removeTextureUnitState()}{removeTextureUnitState()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::remove\+Texture\+Unit\+State (\begin{DoxyParamCaption}\item[{unsigned short}]{index }\end{DoxyParamCaption})}



Removes the indexed texture unit state from this pass. 

\begin{DoxyRemark}{Remarks}
Note that removing a texture which is not the topmost will have a larger performance impact. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_a86de1842654eb89c6f48785d02f07688}\label{class_ogre_1_1_pass_a86de1842654eb89c6f48785d02f07688}} 
\index{Ogre::Pass@{Ogre::Pass}!removeAllTextureUnitStates@{removeAllTextureUnitStates}}
\index{removeAllTextureUnitStates@{removeAllTextureUnitStates}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{removeAllTextureUnitStates()}{removeAllTextureUnitStates()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::remove\+All\+Texture\+Unit\+States (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Removes all texture unit settings. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ae92e29ff81e188b72cadcbb64fd0be8d}\label{class_ogre_1_1_pass_ae92e29ff81e188b72cadcbb64fd0be8d}} 
\index{Ogre::Pass@{Ogre::Pass}!getNumTextureUnitStates@{getNumTextureUnitStates}}
\index{getNumTextureUnitStates@{getNumTextureUnitStates}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getNumTextureUnitStates()}{getNumTextureUnitStates()}}
{\footnotesize\ttfamily unsigned short Ogre\+::\+Pass\+::get\+Num\+Texture\+Unit\+States (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns the number of texture unit settings. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000099}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_pass_a27a57322ba3813c39d62bbd7a3ba01fb}{get\+Texture\+Unit\+States()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_pass_ae21d6f29c89eeff54ab6de5562818c02}\label{class_ogre_1_1_pass_ae21d6f29c89eeff54ab6de5562818c02}} 
\index{Ogre::Pass@{Ogre::Pass}!setSceneBlending@{setSceneBlending}}
\index{setSceneBlending@{setSceneBlending}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setSceneBlending()}{setSceneBlending()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Scene\+Blending (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group___materials_gac46c60cf6e5c199220e3b8f26570cb9a}{Scene\+Blend\+Type}}}]{sbt }\end{DoxyParamCaption})}



Sets the kind of blending this pass has with the existing contents of the scene. 

Whereas the texture blending operations seen in the \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} class are concerned with blending between texture layers, this blending is about combining the output of the \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} as a whole with the existing contents of the rendering target. This blending therefore allows object transparency and other special effects. If all passes in a technique have a scene blend, then the whole technique is considered to be transparent.

This method allows you to select one of a number of predefined blending types. If you require more control than this, use the alternative version of this method which allows you to specify source and destination blend factors. \begin{DoxyNote}{Note}
This method is applicable for both the fixed-\/function and programmable pipelines. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em sbt} & One of the predefined Scene\+Blend\+Type blending types \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_aefbd80d762d78838df626482df1ac81b}\label{class_ogre_1_1_pass_aefbd80d762d78838df626482df1ac81b}} 
\index{Ogre::Pass@{Ogre::Pass}!setSeparateSceneBlending@{setSeparateSceneBlending}}
\index{setSeparateSceneBlending@{setSeparateSceneBlending}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setSeparateSceneBlending()}{setSeparateSceneBlending()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Separate\+Scene\+Blending (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group___materials_gac46c60cf6e5c199220e3b8f26570cb9a}{Scene\+Blend\+Type}}}]{sbt,  }\item[{const \mbox{\hyperlink{group___materials_gac46c60cf6e5c199220e3b8f26570cb9a}{Scene\+Blend\+Type}}}]{sbta }\end{DoxyParamCaption})}



Sets the kind of blending this pass has with the existing contents of the scene, separately for color and alpha channels. 

This method allows you to select one of a number of predefined blending types. If you require more control than this, use the alternative version of this method which allows you to specify source and destination blend factors.


\begin{DoxyParams}{Parameters}
{\em sbt} & One of the predefined Scene\+Blend\+Type blending types for the color channel \\
\hline
{\em sbta} & One of the predefined Scene\+Blend\+Type blending types for the alpha channel \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_a6ae2b0725a20fe90f1554834bafa7178}\label{class_ogre_1_1_pass_a6ae2b0725a20fe90f1554834bafa7178}} 
\index{Ogre::Pass@{Ogre::Pass}!setSceneBlending@{setSceneBlending}}
\index{setSceneBlending@{setSceneBlending}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setSceneBlending()}{setSceneBlending()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Scene\+Blending (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{source\+Factor,  }\item[{const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{dest\+Factor }\end{DoxyParamCaption})}



Allows very fine control of blending this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} with the existing contents of the scene. 

This version of the method allows complete control over the blending operation, by specifying the source and destination blending factors.

By default the operation is \mbox{\hyperlink{group___materials_ggaa7a12a72231aedf6e33d58aafc11214aa188aee58620b3275f1a45c7c80df4bc7}{Ogre\+::\+S\+B\+O\+\_\+\+A\+DD}}, which creates this equation

\$\$final = (pass\+Output $\ast$ source\+Factor) + (frame\+Buffer $\ast$ dest\+Factor)\$\$

Each of the factors is specified as one of \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Ogre\+::\+Scene\+Blend\+Factor}}.

By setting a different \mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Ogre\+::\+Scene\+Blend\+Operation}} you can achieve a different effect.


\begin{DoxyParams}{Parameters}
{\em source\+Factor} & The source factor in the above calculation, i.\+e. multiplied by the output of the Pass. \\
\hline
{\em dest\+Factor} & The destination factor in the above calculation, i.\+e. multiplied by the Frame Buffer contents. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_aa4bba51e9a0cba1b9708bab99496c1a8}\label{class_ogre_1_1_pass_aa4bba51e9a0cba1b9708bab99496c1a8}} 
\index{Ogre::Pass@{Ogre::Pass}!setSeparateSceneBlending@{setSeparateSceneBlending}}
\index{setSeparateSceneBlending@{setSeparateSceneBlending}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setSeparateSceneBlending()}{setSeparateSceneBlending()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Separate\+Scene\+Blending (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{source\+Factor,  }\item[{const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{dest\+Factor,  }\item[{const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{source\+Factor\+Alpha,  }\item[{const \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{dest\+Factor\+Alpha }\end{DoxyParamCaption})}



Allows very fine control of blending this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} with the existing contents of the scene. 

This version of the method allows complete control over the blending operation, by specifying the source and destination blending factors.

By default the operation is \mbox{\hyperlink{group___materials_ggaa7a12a72231aedf6e33d58aafc11214aa188aee58620b3275f1a45c7c80df4bc7}{Ogre\+::\+S\+B\+O\+\_\+\+A\+DD}}, which creates this equation

\$\$final = (pass\+Output $\ast$ source\+Factor) + (frame\+Buffer $\ast$ dest\+Factor)\$\$

Each of the factors is specified as one of \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Ogre\+::\+Scene\+Blend\+Factor}}.

By setting a different \mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Ogre\+::\+Scene\+Blend\+Operation}} you can achieve a different effect.


\begin{DoxyParams}{Parameters}
{\em source\+Factor} & The source factor in the above calculation, i.\+e. multiplied by the output of the Pass. \\
\hline
{\em dest\+Factor} & The destination factor in the above calculation, i.\+e. multiplied by the Frame Buffer contents. \\
\hline
{\em source\+Factor\+Alpha} & The alpha source factor in the above calculation, i.\+e. multiplied by the output of the Pass. \\
\hline
{\em dest\+Factor\+Alpha} & The alpha destination factor in the above calculation, i.\+e. multiplied by the Frame Buffer alpha. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_ab0e7ceb87f4b3dee78fbaaf8ba9e1ade}\label{class_ogre_1_1_pass_ab0e7ceb87f4b3dee78fbaaf8ba9e1ade}} 
\index{Ogre::Pass@{Ogre::Pass}!hasSeparateSceneBlending@{hasSeparateSceneBlending}}
\index{hasSeparateSceneBlending@{hasSeparateSceneBlending}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{hasSeparateSceneBlending()}{hasSeparateSceneBlending()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::has\+Separate\+Scene\+Blending (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000100}{Deprecated}}]\end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_pass_ab9a501c0f7f8842493dd277814e38812}\label{class_ogre_1_1_pass_ab9a501c0f7f8842493dd277814e38812}} 
\index{Ogre::Pass@{Ogre::Pass}!getBlendState@{getBlendState}}
\index{getBlendState@{getBlendState}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getBlendState()}{getBlendState()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{struct_ogre_1_1_colour_blend_state}{Colour\+Blend\+State}}\& Ogre\+::\+Pass\+::get\+Blend\+State (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Retrieves the complete blend state of this pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_aec14031d3e7e69c7ec4f734dc40f612d}\label{class_ogre_1_1_pass_aec14031d3e7e69c7ec4f734dc40f612d}} 
\index{Ogre::Pass@{Ogre::Pass}!getSourceBlendFactor@{getSourceBlendFactor}}
\index{getSourceBlendFactor@{getSourceBlendFactor}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getSourceBlendFactor()}{getSourceBlendFactor()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} Ogre\+::\+Pass\+::get\+Source\+Blend\+Factor (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Retrieves the source blending factor for the material. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a8e61c233c08848aa736bcfa7bdb58158}\label{class_ogre_1_1_pass_a8e61c233c08848aa736bcfa7bdb58158}} 
\index{Ogre::Pass@{Ogre::Pass}!getDestBlendFactor@{getDestBlendFactor}}
\index{getDestBlendFactor@{getDestBlendFactor}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getDestBlendFactor()}{getDestBlendFactor()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} Ogre\+::\+Pass\+::get\+Dest\+Blend\+Factor (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Retrieves the destination blending factor for the material. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a040397cbf641fcd16ad1cc1846ccb0a0}\label{class_ogre_1_1_pass_a040397cbf641fcd16ad1cc1846ccb0a0}} 
\index{Ogre::Pass@{Ogre::Pass}!getSourceBlendFactorAlpha@{getSourceBlendFactorAlpha}}
\index{getSourceBlendFactorAlpha@{getSourceBlendFactorAlpha}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getSourceBlendFactorAlpha()}{getSourceBlendFactorAlpha()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} Ogre\+::\+Pass\+::get\+Source\+Blend\+Factor\+Alpha (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Retrieves the alpha source blending factor for the material. 

\mbox{\Hypertarget{class_ogre_1_1_pass_aa89b9de8338da5bb1944b16145ee2f62}\label{class_ogre_1_1_pass_aa89b9de8338da5bb1944b16145ee2f62}} 
\index{Ogre::Pass@{Ogre::Pass}!getDestBlendFactorAlpha@{getDestBlendFactorAlpha}}
\index{getDestBlendFactorAlpha@{getDestBlendFactorAlpha}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getDestBlendFactorAlpha()}{getDestBlendFactorAlpha()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} Ogre\+::\+Pass\+::get\+Dest\+Blend\+Factor\+Alpha (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Retrieves the alpha destination blending factor for the material. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a9ae2570082185c2b6e237a2d46f9bb60}\label{class_ogre_1_1_pass_a9ae2570082185c2b6e237a2d46f9bb60}} 
\index{Ogre::Pass@{Ogre::Pass}!setSceneBlendingOperation@{setSceneBlendingOperation}}
\index{setSceneBlendingOperation@{setSceneBlendingOperation}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setSceneBlendingOperation()}{setSceneBlendingOperation()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Scene\+Blending\+Operation (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Scene\+Blend\+Operation}}}]{op }\end{DoxyParamCaption})}



Sets the specific operation used to blend source and destination pixels together. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{struct_ogre_1_1_colour_blend_state}{Ogre\+::\+Colour\+Blend\+State}} 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em op} & The blending operation mode to use for this pass \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_ace4313056341502f87ada68638cae334}\label{class_ogre_1_1_pass_ace4313056341502f87ada68638cae334}} 
\index{Ogre::Pass@{Ogre::Pass}!setSeparateSceneBlendingOperation@{setSeparateSceneBlendingOperation}}
\index{setSeparateSceneBlendingOperation@{setSeparateSceneBlendingOperation}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setSeparateSceneBlendingOperation()}{setSeparateSceneBlendingOperation()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Separate\+Scene\+Blending\+Operation (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Scene\+Blend\+Operation}}}]{op,  }\item[{\mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Scene\+Blend\+Operation}}}]{alpha\+Op }\end{DoxyParamCaption})}



Sets the specific operation used to blend source and destination pixels together. 

This function allows more control over blending since it allows you to select different blending modes for the color and alpha channels

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{struct_ogre_1_1_colour_blend_state}{Ogre\+::\+Colour\+Blend\+State}} 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em op} & The blending operation mode to use for this pass \\
\hline
{\em alpha\+Op} & The blending operation mode to use for alpha channels in this pass \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_a8d60b51feac29fa374465b4aa9ad9d8f}\label{class_ogre_1_1_pass_a8d60b51feac29fa374465b4aa9ad9d8f}} 
\index{Ogre::Pass@{Ogre::Pass}!hasSeparateSceneBlendingOperations@{hasSeparateSceneBlendingOperations}}
\index{hasSeparateSceneBlendingOperations@{hasSeparateSceneBlendingOperations}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{hasSeparateSceneBlendingOperations()}{hasSeparateSceneBlendingOperations()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::has\+Separate\+Scene\+Blending\+Operations (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000101}{Deprecated}}]\end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_pass_a0e4598b48a3cc36a3a9ac5c7f190440c}\label{class_ogre_1_1_pass_a0e4598b48a3cc36a3a9ac5c7f190440c}} 
\index{Ogre::Pass@{Ogre::Pass}!getSceneBlendingOperation@{getSceneBlendingOperation}}
\index{getSceneBlendingOperation@{getSceneBlendingOperation}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getSceneBlendingOperation()}{getSceneBlendingOperation()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Scene\+Blend\+Operation}} Ogre\+::\+Pass\+::get\+Scene\+Blending\+Operation (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Returns the current blending operation. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a1c36e64352bf3b1d0d87a220d05f6dbf}\label{class_ogre_1_1_pass_a1c36e64352bf3b1d0d87a220d05f6dbf}} 
\index{Ogre::Pass@{Ogre::Pass}!getSceneBlendingOperationAlpha@{getSceneBlendingOperationAlpha}}
\index{getSceneBlendingOperationAlpha@{getSceneBlendingOperationAlpha}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getSceneBlendingOperationAlpha()}{getSceneBlendingOperationAlpha()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Scene\+Blend\+Operation}} Ogre\+::\+Pass\+::get\+Scene\+Blending\+Operation\+Alpha (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Returns the current alpha blending operation. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a85a67b777d757d158c6cbc2b4f7ec76e}\label{class_ogre_1_1_pass_a85a67b777d757d158c6cbc2b4f7ec76e}} 
\index{Ogre::Pass@{Ogre::Pass}!isTransparent@{isTransparent}}
\index{isTransparent@{isTransparent}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{isTransparent()}{isTransparent()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::is\+Transparent (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns true if this pass has some element of transparency. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ae454faee87f8cb0b8540810e48118788}\label{class_ogre_1_1_pass_ae454faee87f8cb0b8540810e48118788}} 
\index{Ogre::Pass@{Ogre::Pass}!setDepthCheckEnabled@{setDepthCheckEnabled}}
\index{setDepthCheckEnabled@{setDepthCheckEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setDepthCheckEnabled()}{setDepthCheckEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Depth\+Check\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether or not this pass renders with depth-\/buffer checking on or not. 

If depth-\/buffer checking is on, whenever a pixel is about to be written to the frame buffer the depth buffer is checked to see if the pixel is in front of all other pixels written at that point. If not, the pixel is not written.

If depth checking is off, pixels are written no matter what has been rendered before. Also see set\+Depth\+Function for more advanced depth check configuration. \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Ogre\+::\+Compare\+Function}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_pass_a648b0f3f74464f4b0e4472e64219f1a1}\label{class_ogre_1_1_pass_a648b0f3f74464f4b0e4472e64219f1a1}} 
\index{Ogre::Pass@{Ogre::Pass}!getDepthCheckEnabled@{getDepthCheckEnabled}}
\index{getDepthCheckEnabled@{getDepthCheckEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getDepthCheckEnabled()}{getDepthCheckEnabled()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::get\+Depth\+Check\+Enabled (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns whether or not this pass renders with depth-\/buffer checking on or not. 

\mbox{\Hypertarget{class_ogre_1_1_pass_aad3e6c7c7b59e2c303c348b4850b1a3a}\label{class_ogre_1_1_pass_aad3e6c7c7b59e2c303c348b4850b1a3a}} 
\index{Ogre::Pass@{Ogre::Pass}!setDepthWriteEnabled@{setDepthWriteEnabled}}
\index{setDepthWriteEnabled@{setDepthWriteEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setDepthWriteEnabled()}{setDepthWriteEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Depth\+Write\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether or not this pass renders with depth-\/buffer writing on or not. 

If depth-\/buffer writing is on, whenever a pixel is written to the frame buffer the depth buffer is updated with the depth value of that new pixel, thus affecting future rendering operations if future pixels are behind this one.

If depth writing is off, pixels are written without updating the depth buffer Depth writing should normally be on but can be turned off when rendering static backgrounds or when rendering a collection of transparent objects at the end of a scene so that they overlap each other correctly. \mbox{\Hypertarget{class_ogre_1_1_pass_ab2d6e2e30826d01e5ec19bef7446f447}\label{class_ogre_1_1_pass_ab2d6e2e30826d01e5ec19bef7446f447}} 
\index{Ogre::Pass@{Ogre::Pass}!getDepthWriteEnabled@{getDepthWriteEnabled}}
\index{getDepthWriteEnabled@{getDepthWriteEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getDepthWriteEnabled()}{getDepthWriteEnabled()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::get\+Depth\+Write\+Enabled (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns whether or not this pass renders with depth-\/buffer writing on or not. 

\mbox{\Hypertarget{class_ogre_1_1_pass_aef6c591b069aa6f7c65afc1419d47de6}\label{class_ogre_1_1_pass_aef6c591b069aa6f7c65afc1419d47de6}} 
\index{Ogre::Pass@{Ogre::Pass}!setDepthFunction@{setDepthFunction}}
\index{setDepthFunction@{setDepthFunction}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setDepthFunction()}{setDepthFunction()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Depth\+Function (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}}}]{func }\end{DoxyParamCaption})}



Sets the function used to compare depth values when depth checking is on. 

If depth checking is enabled (see set\+Depth\+Check\+Enabled) a comparison occurs between the depth value of the pixel to be written and the current contents of the buffer. This comparison is normally \mbox{\hyperlink{group___general_gga0212b4eb264f207d84c1df9425208c7aa2272d0faefcf5a2e08bbf7d232d7520b}{Ogre\+::\+C\+M\+P\+F\+\_\+\+L\+E\+S\+S\+\_\+\+E\+Q\+U\+AL}}. \mbox{\Hypertarget{class_ogre_1_1_pass_aed6912e985c09f72d8f8012494f1068a}\label{class_ogre_1_1_pass_aed6912e985c09f72d8f8012494f1068a}} 
\index{Ogre::Pass@{Ogre::Pass}!getDepthFunction@{getDepthFunction}}
\index{getDepthFunction@{getDepthFunction}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getDepthFunction()}{getDepthFunction()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} Ogre\+::\+Pass\+::get\+Depth\+Function (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns the function used to compare depth values when depth checking is on. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_aef6c591b069aa6f7c65afc1419d47de6}{set\+Depth\+Function}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_pass_a3bbe37daba7e3be4349177374d4e40ee}\label{class_ogre_1_1_pass_a3bbe37daba7e3be4349177374d4e40ee}} 
\index{Ogre::Pass@{Ogre::Pass}!setColourWriteEnabled@{setColourWriteEnabled}}
\index{setColourWriteEnabled@{setColourWriteEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setColourWriteEnabled()}{setColourWriteEnabled()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Colour\+Write\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether or not colour buffer writing is enabled for this Pass. 

If colour writing is off no visible pixels are written to the screen during this pass. You might think this is useless, but if you render with colour writing off, and with very minimal other settings, you can use this pass to initialise the depth buffer before subsequently rendering other passes which fill in the colour data. This can give you significant performance boosts on some newer cards, especially when using complex fragment programs, because if the depth check fails then the fragment program is never run. \mbox{\Hypertarget{class_ogre_1_1_pass_a51d61feca0e3c7cae4c3e1c2988540b0}\label{class_ogre_1_1_pass_a51d61feca0e3c7cae4c3e1c2988540b0}} 
\index{Ogre::Pass@{Ogre::Pass}!getColourWriteEnabled@{getColourWriteEnabled}}
\index{getColourWriteEnabled@{getColourWriteEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getColourWriteEnabled()}{getColourWriteEnabled()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::get\+Colour\+Write\+Enabled (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Determines if colour buffer writing is enabled for this pass i.\+e. 

when at least one colour channel is enabled for writing. \mbox{\Hypertarget{class_ogre_1_1_pass_ae8c85bd4eff471ca7b3c710d20dbf274}\label{class_ogre_1_1_pass_ae8c85bd4eff471ca7b3c710d20dbf274}} 
\index{Ogre::Pass@{Ogre::Pass}!setColourWriteEnabled@{setColourWriteEnabled}}
\index{setColourWriteEnabled@{setColourWriteEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setColourWriteEnabled()}{setColourWriteEnabled()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Colour\+Write\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{red,  }\item[{bool}]{green,  }\item[{bool}]{blue,  }\item[{bool}]{alpha }\end{DoxyParamCaption})}



Sets which colour buffer channels are enabled for writing for this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a40b25c9a64b05c3463a2da9e174be901}\label{class_ogre_1_1_pass_a40b25c9a64b05c3463a2da9e174be901}} 
\index{Ogre::Pass@{Ogre::Pass}!getColourWriteEnabled@{getColourWriteEnabled}}
\index{getColourWriteEnabled@{getColourWriteEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getColourWriteEnabled()}{getColourWriteEnabled()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::get\+Colour\+Write\+Enabled (\begin{DoxyParamCaption}\item[{bool \&}]{red,  }\item[{bool \&}]{green,  }\item[{bool \&}]{blue,  }\item[{bool \&}]{alpha }\end{DoxyParamCaption}) const}



Determines which colour buffer channels are enabled for writing for this pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a8942abf3ede0f3cb43584c85c4071734}\label{class_ogre_1_1_pass_a8942abf3ede0f3cb43584c85c4071734}} 
\index{Ogre::Pass@{Ogre::Pass}!setCullingMode@{setCullingMode}}
\index{setCullingMode@{setCullingMode}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setCullingMode()}{setCullingMode()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Culling\+Mode (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_gac173244ed7d950d0acd726e4f323ecdb}{Culling\+Mode}}}]{mode }\end{DoxyParamCaption})}



Sets the culling mode for this pass based on the \textquotesingle{}vertex winding\textquotesingle{}. 

A typical way for the rendering engine to cull triangles is based on the \textquotesingle{}vertex winding\textquotesingle{} of triangles. Vertex winding refers to the direction in which the vertices are passed or indexed to in the rendering operation as viewed from the camera, and will wither be clockwise or anticlockwise (that\textquotesingle{}s \textquotesingle{}counterclockwise\textquotesingle{} for you Americans out there ;) The default is \mbox{\hyperlink{group___general_ggac173244ed7d950d0acd726e4f323ecdba50170ef4a0a12b9fc6bf0c53e582bdf0}{Ogre\+::\+C\+U\+L\+L\+\_\+\+C\+L\+O\+C\+K\+W\+I\+SE}} i.\+e. that only triangles whose vertices are passed/indexed in anticlockwise order are rendered -\/ this is a common approach and is used in 3D studio models for example. You can alter this culling mode if you wish but it is not advised unless you know what you are doing.

You may wish to use the \mbox{\hyperlink{group___general_ggac173244ed7d950d0acd726e4f323ecdba7868e61bf90df40d5e04e3a951729248}{Ogre\+::\+C\+U\+L\+L\+\_\+\+N\+O\+NE}} option for mesh data that you cull yourself where the vertex winding is uncertain or for creating 2-\/sided passes. \mbox{\Hypertarget{class_ogre_1_1_pass_aedb647950fbc40f52ae139eb166d602d}\label{class_ogre_1_1_pass_aedb647950fbc40f52ae139eb166d602d}} 
\index{Ogre::Pass@{Ogre::Pass}!getCullingMode@{getCullingMode}}
\index{getCullingMode@{getCullingMode}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getCullingMode()}{getCullingMode()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___general_gac173244ed7d950d0acd726e4f323ecdb}{Culling\+Mode}} Ogre\+::\+Pass\+::get\+Culling\+Mode (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns the culling mode for geometry rendered with this pass. 

See set\+Culling\+Mode for more information. \mbox{\Hypertarget{class_ogre_1_1_pass_a3b528827b54f17b72bb204321640a6f7}\label{class_ogre_1_1_pass_a3b528827b54f17b72bb204321640a6f7}} 
\index{Ogre::Pass@{Ogre::Pass}!setManualCullingMode@{setManualCullingMode}}
\index{setManualCullingMode@{setManualCullingMode}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setManualCullingMode()}{setManualCullingMode()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Manual\+Culling\+Mode (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga07ec94cf178172a6778223e6f70f23fc}{Manual\+Culling\+Mode}}}]{mode }\end{DoxyParamCaption})}



Sets the manual culling mode, performed by C\+PU rather than hardware. 

In some situations you want to use manual culling of triangles rather than sending the triangles to the hardware and letting it cull them. This setting only takes effect on \mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}}\textquotesingle{}s that use it (since it is best used on large groups of planar world geometry rather than on movable geometry since this would be expensive), but if used can cull geometry before it is sent to the hardware.

In this case the culling is based on whether the ’back’ or ’front’ of the triangle is facing the camera -\/ this definition is based on the face normal (a vector which sticks out of the front side of the polygon perpendicular to the face). Since Ogre expects face normals to be on anticlockwise side of the face, \mbox{\hyperlink{group___general_gga07ec94cf178172a6778223e6f70f23fcadbebf0c209be54ddb19d6097d4f7042f}{Ogre\+::\+M\+A\+N\+U\+A\+L\+\_\+\+C\+U\+L\+L\+\_\+\+B\+A\+CK}} is the software equivalent of \mbox{\hyperlink{group___general_ggac173244ed7d950d0acd726e4f323ecdba50170ef4a0a12b9fc6bf0c53e582bdf0}{Ogre\+::\+C\+U\+L\+L\+\_\+\+C\+L\+O\+C\+K\+W\+I\+SE}} setting, which is why they are both the default. The naming is different to reflect the way the culling is done though, since most of the time face normals are pre-\/calculated and they don’t have to be the way Ogre expects -\/ you could set \mbox{\hyperlink{group___general_ggac173244ed7d950d0acd726e4f323ecdba7868e61bf90df40d5e04e3a951729248}{Ogre\+::\+C\+U\+L\+L\+\_\+\+N\+O\+NE}} and completely cull in software based on your own face normals, if you have the right \mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}} which uses them. \mbox{\Hypertarget{class_ogre_1_1_pass_acd99aaea7eec3026699bfccdd09310b0}\label{class_ogre_1_1_pass_acd99aaea7eec3026699bfccdd09310b0}} 
\index{Ogre::Pass@{Ogre::Pass}!getManualCullingMode@{getManualCullingMode}}
\index{getManualCullingMode@{getManualCullingMode}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getManualCullingMode()}{getManualCullingMode()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___general_ga07ec94cf178172a6778223e6f70f23fc}{Manual\+Culling\+Mode}} Ogre\+::\+Pass\+::get\+Manual\+Culling\+Mode (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Retrieves the manual culling mode for this pass. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a3b528827b54f17b72bb204321640a6f7}{set\+Manual\+Culling\+Mode}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_pass_a6285f13a06eb7f00b83ea2754e434623}\label{class_ogre_1_1_pass_a6285f13a06eb7f00b83ea2754e434623}} 
\index{Ogre::Pass@{Ogre::Pass}!setLightingEnabled@{setLightingEnabled}}
\index{setLightingEnabled@{setLightingEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setLightingEnabled()}{setLightingEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Lighting\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether or not dynamic lighting is enabled. 

Turning dynamic lighting off makes any ambient, diffuse, specular, emissive and shading properties for this pass redundant. If lighting is turned off, all objects rendered using the pass will be fully lit. When lighting is turned on, objects are lit according to their vertex normals for diffuse and specular light, and globally for ambient and emissive. \mbox{\Hypertarget{class_ogre_1_1_pass_abce35807758f26b84d29313cf70593cd}\label{class_ogre_1_1_pass_abce35807758f26b84d29313cf70593cd}} 
\index{Ogre::Pass@{Ogre::Pass}!getLightingEnabled@{getLightingEnabled}}
\index{getLightingEnabled@{getLightingEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getLightingEnabled()}{getLightingEnabled()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::get\+Lighting\+Enabled (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns whether or not dynamic lighting is enabled. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a95a7a4006f26528ef4f6ce42ae56b09b}\label{class_ogre_1_1_pass_a95a7a4006f26528ef4f6ce42ae56b09b}} 
\index{Ogre::Pass@{Ogre::Pass}!setMaxSimultaneousLights@{setMaxSimultaneousLights}}
\index{setMaxSimultaneousLights@{setMaxSimultaneousLights}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setMaxSimultaneousLights()}{setMaxSimultaneousLights()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Max\+Simultaneous\+Lights (\begin{DoxyParamCaption}\item[{unsigned short}]{max\+Lights }\end{DoxyParamCaption})}



Sets the maximum number of lights to be used by this pass. 

\begin{DoxyRemark}{Remarks}
During rendering, if lighting is enabled (or if the pass uses an automatic program parameter based on a light) the engine will request the nearest lights to the object being rendered in order to work out which ones to use. This parameter sets the limit on the number of lights which should apply to objects rendered with this pass. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_abd67db27426bb99e6e58e7299424c4bc}\label{class_ogre_1_1_pass_abd67db27426bb99e6e58e7299424c4bc}} 
\index{Ogre::Pass@{Ogre::Pass}!getMaxSimultaneousLights@{getMaxSimultaneousLights}}
\index{getMaxSimultaneousLights@{getMaxSimultaneousLights}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getMaxSimultaneousLights()}{getMaxSimultaneousLights()}}
{\footnotesize\ttfamily unsigned short Ogre\+::\+Pass\+::get\+Max\+Simultaneous\+Lights (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the maximum number of lights to be used by this pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a8b816cdd2b5b5fcc5cbe6744b6bb2dbd}\label{class_ogre_1_1_pass_a8b816cdd2b5b5fcc5cbe6744b6bb2dbd}} 
\index{Ogre::Pass@{Ogre::Pass}!setStartLight@{setStartLight}}
\index{setStartLight@{setStartLight}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setStartLight()}{setStartLight()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Start\+Light (\begin{DoxyParamCaption}\item[{unsigned short}]{start\+Light }\end{DoxyParamCaption})}



Sets the light index that this pass will start at in the light list. 

Normally the lights passed to a pass will start from the beginning of the light list for this object. This option allows you to make this pass start from a higher light index, for example if one of your earlier passes could deal with lights 0-\/3, and this pass dealt with lights 4+. This option also has an interaction with pass iteration, in that if you choose to iterate this pass per light too, the iteration will only begin from light 4. \mbox{\Hypertarget{class_ogre_1_1_pass_a53fec71cb3076c1387cc6133f2996c78}\label{class_ogre_1_1_pass_a53fec71cb3076c1387cc6133f2996c78}} 
\index{Ogre::Pass@{Ogre::Pass}!getStartLight@{getStartLight}}
\index{getStartLight@{getStartLight}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getStartLight()}{getStartLight()}}
{\footnotesize\ttfamily unsigned short Ogre\+::\+Pass\+::get\+Start\+Light (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the light index that this pass will start at in the light list. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a9f14ed26740158970994057e48e562e9}\label{class_ogre_1_1_pass_a9f14ed26740158970994057e48e562e9}} 
\index{Ogre::Pass@{Ogre::Pass}!setLightMask@{setLightMask}}
\index{setLightMask@{setLightMask}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setLightMask()}{setLightMask()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Light\+Mask (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{mask }\end{DoxyParamCaption})}



Sets the light mask which can be matched to specific light flags to be handled by this pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a8f7068c8fb5556c150126866373343ac}\label{class_ogre_1_1_pass_a8f7068c8fb5556c150126866373343ac}} 
\index{Ogre::Pass@{Ogre::Pass}!getLightMask@{getLightMask}}
\index{getLightMask@{getLightMask}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getLightMask()}{getLightMask()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} Ogre\+::\+Pass\+::get\+Light\+Mask (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Gets the light mask controlling which lights are used for this pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ade6c00297cd5d46bb365d981cd1764a6}\label{class_ogre_1_1_pass_ade6c00297cd5d46bb365d981cd1764a6}} 
\index{Ogre::Pass@{Ogre::Pass}!setShadingMode@{setShadingMode}}
\index{setShadingMode@{setShadingMode}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setShadingMode()}{setShadingMode()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Shading\+Mode (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga7afd4c7d428baaee13f3a0dbcae5f560}{Shade\+Options}}}]{mode }\end{DoxyParamCaption})}



Sets the type of light shading required. 

When dynamic lighting is turned on, the effect is to generate colour values at each vertex. Whether these values are interpolated across the face (and how) depends on this setting. The default shading method is \mbox{\hyperlink{group___general_gga7afd4c7d428baaee13f3a0dbcae5f560a2973848ded9ca7c0f93a329e12181feb}{Ogre\+::\+S\+O\+\_\+\+G\+O\+U\+R\+A\+UD}}. \mbox{\Hypertarget{class_ogre_1_1_pass_a5485f8b014bfa01d765a442999ad9ed3}\label{class_ogre_1_1_pass_a5485f8b014bfa01d765a442999ad9ed3}} 
\index{Ogre::Pass@{Ogre::Pass}!getShadingMode@{getShadingMode}}
\index{getShadingMode@{getShadingMode}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getShadingMode()}{getShadingMode()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___general_ga7afd4c7d428baaee13f3a0dbcae5f560}{Shade\+Options}} Ogre\+::\+Pass\+::get\+Shading\+Mode (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns the type of light shading to be used. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a61d996b43e57fa45e660b23013855fe2}\label{class_ogre_1_1_pass_a61d996b43e57fa45e660b23013855fe2}} 
\index{Ogre::Pass@{Ogre::Pass}!setPolygonMode@{setPolygonMode}}
\index{setPolygonMode@{setPolygonMode}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setPolygonMode()}{setPolygonMode()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Polygon\+Mode (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga68866b02aa7f99e3431337511fbb3345}{Polygon\+Mode}}}]{mode }\end{DoxyParamCaption})}



Sets the type of polygon rendering required. 

Sets how polygons should be rasterised, i.\+e. whether they should be filled in, or just drawn as lines or points. The default shading method is \mbox{\hyperlink{group___general_gga68866b02aa7f99e3431337511fbb3345a7e87bf8ec063f4e7bf022a7396346211}{Ogre\+::\+P\+M\+\_\+\+S\+O\+L\+ID}}. \mbox{\Hypertarget{class_ogre_1_1_pass_a4791eea37712b82994052b3e4a360fa0}\label{class_ogre_1_1_pass_a4791eea37712b82994052b3e4a360fa0}} 
\index{Ogre::Pass@{Ogre::Pass}!getPolygonMode@{getPolygonMode}}
\index{getPolygonMode@{getPolygonMode}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getPolygonMode()}{getPolygonMode()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___general_ga68866b02aa7f99e3431337511fbb3345}{Polygon\+Mode}} Ogre\+::\+Pass\+::get\+Polygon\+Mode (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns the type of light shading to be used. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ad681df78f0e0c61e1bc166e3ec85170f}\label{class_ogre_1_1_pass_ad681df78f0e0c61e1bc166e3ec85170f}} 
\index{Ogre::Pass@{Ogre::Pass}!setPolygonModeOverrideable@{setPolygonModeOverrideable}}
\index{setPolygonModeOverrideable@{setPolygonModeOverrideable}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setPolygonModeOverrideable()}{setPolygonModeOverrideable()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Polygon\+Mode\+Overrideable (\begin{DoxyParamCaption}\item[{bool}]{override }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets whether the Polygon\+Mode set on this pass can be downgraded by the camera. 


\begin{DoxyParams}{Parameters}
{\em override} & If set to false, this pass will always be rendered at its own chosen polygon mode no matter what the camera says. The default is true. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_acb5a5d646e84a1d6c0be32f1132419f8}\label{class_ogre_1_1_pass_acb5a5d646e84a1d6c0be32f1132419f8}} 
\index{Ogre::Pass@{Ogre::Pass}!getPolygonModeOverrideable@{getPolygonModeOverrideable}}
\index{getPolygonModeOverrideable@{getPolygonModeOverrideable}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getPolygonModeOverrideable()}{getPolygonModeOverrideable()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::get\+Polygon\+Mode\+Overrideable (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets whether this renderable\textquotesingle{}s chosen detail level can be overridden (downgraded) by the camera setting. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a23f2824f0dfd41ec09cbdbd0b3a98e1c}\label{class_ogre_1_1_pass_a23f2824f0dfd41ec09cbdbd0b3a98e1c}} 
\index{Ogre::Pass@{Ogre::Pass}!setFog@{setFog}}
\index{setFog@{setFog}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setFog()}{setFog()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Fog (\begin{DoxyParamCaption}\item[{bool}]{override\+Scene,  }\item[{\mbox{\hyperlink{group___general_ga83edeb2e5d33a3ca8f15834ba40020ba}{Fog\+Mode}}}]{mode = {\ttfamily \mbox{\hyperlink{group___general_gga83edeb2e5d33a3ca8f15834ba40020baab7793a21880052c0214d4cc040992310}{F\+O\+G\+\_\+\+N\+O\+NE}}},  }\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{colour = {\ttfamily \mbox{\hyperlink{class_ogre_1_1_colour_value_a8eba66b2908f44f00f8d9c9ec25877de}{Colour\+Value\+::\+White}}},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{exp\+Density = {\ttfamily 0.001f},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{linear\+Start = {\ttfamily 0.0f},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{linear\+End = {\ttfamily 1.0f} }\end{DoxyParamCaption})}



Sets the fogging mode applied to this pass. 

\begin{DoxyRemark}{Remarks}
Fogging is an effect that is applied as polys are rendered. Sometimes, you want fog to be applied to an entire scene. Other times, you want it to be applied to a few polygons only. This pass-\/level specification of fog parameters lets you easily manage both. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
The \mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}} class also has a set\+Fog method which applies scene-\/level fog. This method lets you change the fog behaviour for this pass compared to the standard scene-\/level fog. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em override\+Scene} & If true, you authorise this pass to override the scene\textquotesingle{}s fog params with it\textquotesingle{}s own settings. If you specify false, so other parameters are necessary, and this is the default behaviour for passes. \\
\hline
{\em mode} & Only applicable if override\+Scene is true. You can disable fog which is turned on for the rest of the scene by specifying F\+O\+G\+\_\+\+N\+O\+NE. Otherwise, set a pass-\/specific fog mode as defined in the enum Fog\+Mode. \\
\hline
{\em colour} & The colour of the fog. Either set this to the same as your viewport background colour, or to blend in with a skydome or skybox. \\
\hline
{\em exp\+Density} & The density of the fog in F\+O\+G\+\_\+\+E\+XP or F\+O\+G\+\_\+\+E\+X\+P2 mode, as a value between 0 and 1. The default is 0.\+001. \\
\hline
{\em linear\+Start} & Distance in world units at which linear fog starts to encroach. Only applicable if mode is F\+O\+G\+\_\+\+L\+I\+N\+E\+AR. \\
\hline
{\em linear\+End} & Distance in world units at which linear fog becomes completely opaque. Only applicable if mode is F\+O\+G\+\_\+\+L\+I\+N\+E\+AR. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_a3a8e2ca7f03f60cf41377da7d79c5d19}\label{class_ogre_1_1_pass_a3a8e2ca7f03f60cf41377da7d79c5d19}} 
\index{Ogre::Pass@{Ogre::Pass}!getFogOverride@{getFogOverride}}
\index{getFogOverride@{getFogOverride}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getFogOverride()}{getFogOverride()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::get\+Fog\+Override (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns true if this pass is to override the scene fog settings. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a1713843694cb5213646bfa517875515c}\label{class_ogre_1_1_pass_a1713843694cb5213646bfa517875515c}} 
\index{Ogre::Pass@{Ogre::Pass}!getFogMode@{getFogMode}}
\index{getFogMode@{getFogMode}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getFogMode()}{getFogMode()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___general_ga83edeb2e5d33a3ca8f15834ba40020ba}{Fog\+Mode}} Ogre\+::\+Pass\+::get\+Fog\+Mode (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns the fog mode for this pass. 

\begin{DoxyNote}{Note}
Only valid if get\+Fog\+Override is true. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_acc2a614a0b99daa23be0f73d88c1336f}\label{class_ogre_1_1_pass_acc2a614a0b99daa23be0f73d88c1336f}} 
\index{Ogre::Pass@{Ogre::Pass}!getFogColour@{getFogColour}}
\index{getFogColour@{getFogColour}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getFogColour()}{getFogColour()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}}\& Ogre\+::\+Pass\+::get\+Fog\+Colour (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns the fog colour for the scene. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a7780316594e2859363329abeec2baf18}\label{class_ogre_1_1_pass_a7780316594e2859363329abeec2baf18}} 
\index{Ogre::Pass@{Ogre::Pass}!getFogStart@{getFogStart}}
\index{getFogStart@{getFogStart}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getFogStart()}{getFogStart()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Pass\+::get\+Fog\+Start (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns the fog start distance for this pass. 

\begin{DoxyNote}{Note}
Only valid if get\+Fog\+Override is true. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_a1e0d1749e26e30e482eb1c9a4d08c6fc}\label{class_ogre_1_1_pass_a1e0d1749e26e30e482eb1c9a4d08c6fc}} 
\index{Ogre::Pass@{Ogre::Pass}!getFogEnd@{getFogEnd}}
\index{getFogEnd@{getFogEnd}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getFogEnd()}{getFogEnd()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Pass\+::get\+Fog\+End (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns the fog end distance for this pass. 

\begin{DoxyNote}{Note}
Only valid if get\+Fog\+Override is true. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_adefc2b311bd7eda26d6e0d1d514624ac}\label{class_ogre_1_1_pass_adefc2b311bd7eda26d6e0d1d514624ac}} 
\index{Ogre::Pass@{Ogre::Pass}!getFogDensity@{getFogDensity}}
\index{getFogDensity@{getFogDensity}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getFogDensity()}{getFogDensity()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Pass\+::get\+Fog\+Density (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns the fog density for this pass. 

\begin{DoxyNote}{Note}
Only valid if get\+Fog\+Override is true. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_aa35a3242a45176f8605bd8c866198b67}\label{class_ogre_1_1_pass_aa35a3242a45176f8605bd8c866198b67}} 
\index{Ogre::Pass@{Ogre::Pass}!setDepthBias@{setDepthBias}}
\index{setDepthBias@{setDepthBias}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setDepthBias()}{setDepthBias()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Depth\+Bias (\begin{DoxyParamCaption}\item[{float}]{constant\+Bias,  }\item[{float}]{slope\+Scale\+Bias = {\ttfamily 0.0f} }\end{DoxyParamCaption})}



Sets the depth bias to be used for this material. 

When polygons are coplanar, you can get problems with \textquotesingle{}depth fighting\textquotesingle{} where the pixels from the two polys compete for the same screen pixel. This is particularly a problem for decals (polys attached to another surface to represent details such as bulletholes etc.).

A way to combat this problem is to use a depth bias to adjust the depth buffer value used for the decal such that it is slightly higher than the true value, ensuring that the decal appears on top. There are two aspects to the biasing, a constant bias value and a slope-\/relative biasing value, which varies according to the maximum depth slope relative to the camera, ie\+:

\$\$final\+Bias = max\+Slope $\ast$ slope\+Scale\+Bias + constant\+Bias\$\$

Slope scale biasing is relative to the angle of the polygon to the camera, which makes for a more appropriate bias value, but this is ignored on some older hardware. Constant biasing is expressed as a factor of the minimum depth value, so a value of 1 will nudge the depth by one ’notch’ if you will. 
\begin{DoxyParams}{Parameters}
{\em constant\+Bias} & The constant bias value \\
\hline
{\em slope\+Scale\+Bias} & The slope-\/relative bias value \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_a0327eac96a7858951a92d64dbdef8b31}\label{class_ogre_1_1_pass_a0327eac96a7858951a92d64dbdef8b31}} 
\index{Ogre::Pass@{Ogre::Pass}!getDepthBiasConstant@{getDepthBiasConstant}}
\index{getDepthBiasConstant@{getDepthBiasConstant}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getDepthBiasConstant()}{getDepthBiasConstant()}}
{\footnotesize\ttfamily float Ogre\+::\+Pass\+::get\+Depth\+Bias\+Constant (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Retrieves the const depth bias value as set by set\+Depth\+Bias. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a2639336933c81b101f7b38b02c590518}\label{class_ogre_1_1_pass_a2639336933c81b101f7b38b02c590518}} 
\index{Ogre::Pass@{Ogre::Pass}!getDepthBiasSlopeScale@{getDepthBiasSlopeScale}}
\index{getDepthBiasSlopeScale@{getDepthBiasSlopeScale}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getDepthBiasSlopeScale()}{getDepthBiasSlopeScale()}}
{\footnotesize\ttfamily float Ogre\+::\+Pass\+::get\+Depth\+Bias\+Slope\+Scale (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Retrieves the slope-\/scale depth bias value as set by set\+Depth\+Bias. 

\mbox{\Hypertarget{class_ogre_1_1_pass_aca462cd8e0708d90c3131ddd39e95674}\label{class_ogre_1_1_pass_aca462cd8e0708d90c3131ddd39e95674}} 
\index{Ogre::Pass@{Ogre::Pass}!setIterationDepthBias@{setIterationDepthBias}}
\index{setIterationDepthBias@{setIterationDepthBias}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setIterationDepthBias()}{setIterationDepthBias()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Iteration\+Depth\+Bias (\begin{DoxyParamCaption}\item[{float}]{bias\+Per\+Iteration }\end{DoxyParamCaption})}



Sets a factor which derives an additional depth bias from the number of times a pass is iterated. 

\begin{DoxyRemark}{Remarks}
The Final depth bias will be the constant depth bias as set through set\+Depth\+Bias, plus this value times the iteration number. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_adcb78aa549dc85cb36bd3dbc8abeee24}\label{class_ogre_1_1_pass_adcb78aa549dc85cb36bd3dbc8abeee24}} 
\index{Ogre::Pass@{Ogre::Pass}!getIterationDepthBias@{getIterationDepthBias}}
\index{getIterationDepthBias@{getIterationDepthBias}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getIterationDepthBias()}{getIterationDepthBias()}}
{\footnotesize\ttfamily float Ogre\+::\+Pass\+::get\+Iteration\+Depth\+Bias (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Gets a factor which derives an additional depth bias from the number of times a pass is iterated. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a9fe6fc3f542eade6b37d49cd0eadddde}\label{class_ogre_1_1_pass_a9fe6fc3f542eade6b37d49cd0eadddde}} 
\index{Ogre::Pass@{Ogre::Pass}!setAlphaRejectSettings@{setAlphaRejectSettings}}
\index{setAlphaRejectSettings@{setAlphaRejectSettings}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setAlphaRejectSettings()}{setAlphaRejectSettings()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Alpha\+Reject\+Settings (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}}}]{func,  }\item[{unsigned char}]{value,  }\item[{bool}]{alpha\+To\+Coverage\+Enabled = {\ttfamily false} }\end{DoxyParamCaption})}



Sets the way the pass will have use alpha to totally reject pixels from the pipeline. 

\begin{DoxyRemark}{Remarks}
The default is C\+M\+P\+F\+\_\+\+A\+L\+W\+A\+Y\+S\+\_\+\+P\+A\+SS i.\+e. alpha is not used to reject pixels. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em func} & The comparison which must pass for the pixel to be written. \\
\hline
{\em value} & 1 byte value against which alpha values will be tested(0-\/255) \\
\hline
{\em alpha\+To\+Coverage\+Enabled} & Whether to enable alpha to coverage support \\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
This option applies in both the fixed function and the programmable pipeline. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_a4f23af59e5f991f22a224f8e6b336af3}\label{class_ogre_1_1_pass_a4f23af59e5f991f22a224f8e6b336af3}} 
\index{Ogre::Pass@{Ogre::Pass}!setAlphaRejectFunction@{setAlphaRejectFunction}}
\index{setAlphaRejectFunction@{setAlphaRejectFunction}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setAlphaRejectFunction()}{setAlphaRejectFunction()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Alpha\+Reject\+Function (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}}}]{func }\end{DoxyParamCaption})}



Sets the alpha reject function. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a9fe6fc3f542eade6b37d49cd0eadddde}{set\+Alpha\+Reject\+Settings}} for more information. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_pass_a6e5c5f69be78ddd80cbb202f66649fef}\label{class_ogre_1_1_pass_a6e5c5f69be78ddd80cbb202f66649fef}} 
\index{Ogre::Pass@{Ogre::Pass}!setAlphaRejectValue@{setAlphaRejectValue}}
\index{setAlphaRejectValue@{setAlphaRejectValue}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setAlphaRejectValue()}{setAlphaRejectValue()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Alpha\+Reject\+Value (\begin{DoxyParamCaption}\item[{unsigned char}]{val }\end{DoxyParamCaption})}



Gets the alpha reject value. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a9fe6fc3f542eade6b37d49cd0eadddde}{set\+Alpha\+Reject\+Settings}} for more information. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_pass_ae1b0920d6ba670d5e2e85bf2282bd2ef}\label{class_ogre_1_1_pass_ae1b0920d6ba670d5e2e85bf2282bd2ef}} 
\index{Ogre::Pass@{Ogre::Pass}!getAlphaRejectFunction@{getAlphaRejectFunction}}
\index{getAlphaRejectFunction@{getAlphaRejectFunction}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getAlphaRejectFunction()}{getAlphaRejectFunction()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} Ogre\+::\+Pass\+::get\+Alpha\+Reject\+Function (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the alpha reject function. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a9fe6fc3f542eade6b37d49cd0eadddde}{set\+Alpha\+Reject\+Settings}} for more information. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_pass_a8336a42895b9429c0bbae528fcaa5a43}\label{class_ogre_1_1_pass_a8336a42895b9429c0bbae528fcaa5a43}} 
\index{Ogre::Pass@{Ogre::Pass}!getAlphaRejectValue@{getAlphaRejectValue}}
\index{getAlphaRejectValue@{getAlphaRejectValue}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getAlphaRejectValue()}{getAlphaRejectValue()}}
{\footnotesize\ttfamily unsigned char Ogre\+::\+Pass\+::get\+Alpha\+Reject\+Value (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the alpha reject value. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_pass_a9fe6fc3f542eade6b37d49cd0eadddde}{set\+Alpha\+Reject\+Settings}} for more information. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_pass_ae0a98973675e2cf71b286ceb9e73ecd3}\label{class_ogre_1_1_pass_ae0a98973675e2cf71b286ceb9e73ecd3}} 
\index{Ogre::Pass@{Ogre::Pass}!setAlphaToCoverageEnabled@{setAlphaToCoverageEnabled}}
\index{setAlphaToCoverageEnabled@{setAlphaToCoverageEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setAlphaToCoverageEnabled()}{setAlphaToCoverageEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Alpha\+To\+Coverage\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether to use alpha to coverage (A2C) when blending alpha rejected values. 

Alpha to coverage performs multisampling on the edges of alpha-\/rejected textures to produce a smoother result. It is only supported when multisampling is already enabled on the render target, and when the hardware supports alpha to coverage (see \mbox{\hyperlink{class_ogre_1_1_render_system_capabilities}{Render\+System\+Capabilities}}). The common use for alpha to coverage is foliage rendering and chain-\/link fence style textures. \mbox{\Hypertarget{class_ogre_1_1_pass_ad7582011f85937446047a843896c8382}\label{class_ogre_1_1_pass_ad7582011f85937446047a843896c8382}} 
\index{Ogre::Pass@{Ogre::Pass}!isAlphaToCoverageEnabled@{isAlphaToCoverageEnabled}}
\index{isAlphaToCoverageEnabled@{isAlphaToCoverageEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{isAlphaToCoverageEnabled()}{isAlphaToCoverageEnabled()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::is\+Alpha\+To\+Coverage\+Enabled (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets whether to use alpha to coverage (A2C) when blending alpha rejected values. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a2b99af55835117cfd4c479ab6c3a2ae5}\label{class_ogre_1_1_pass_a2b99af55835117cfd4c479ab6c3a2ae5}} 
\index{Ogre::Pass@{Ogre::Pass}!setTransparentSortingEnabled@{setTransparentSortingEnabled}}
\index{setTransparentSortingEnabled@{setTransparentSortingEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setTransparentSortingEnabled()}{setTransparentSortingEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Transparent\+Sorting\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether or not transparent sorting is enabled. 


\begin{DoxyParams}{Parameters}
{\em enabled} & If false depth sorting of this material will be disabled. \\
\hline
\end{DoxyParams}
\begin{DoxyRemark}{Remarks}
By default all transparent materials are sorted such that renderables furthest away from the camera are rendered first. This is usually the desired behaviour but in certain cases this depth sorting may be unnecessary and undesirable. If for example it is necessary to ensure the rendering order does not change from one frame to the next. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
This will have no effect on non-\/transparent materials. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_a4a6ab6d3bce34b620675e9ccd2dfb89f}\label{class_ogre_1_1_pass_a4a6ab6d3bce34b620675e9ccd2dfb89f}} 
\index{Ogre::Pass@{Ogre::Pass}!getTransparentSortingEnabled@{getTransparentSortingEnabled}}
\index{getTransparentSortingEnabled@{getTransparentSortingEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getTransparentSortingEnabled()}{getTransparentSortingEnabled()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::get\+Transparent\+Sorting\+Enabled (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns whether or not transparent sorting is enabled. 

\mbox{\Hypertarget{class_ogre_1_1_pass_adc75fe5011be72c0597535cb37d75d57}\label{class_ogre_1_1_pass_adc75fe5011be72c0597535cb37d75d57}} 
\index{Ogre::Pass@{Ogre::Pass}!setTransparentSortingForced@{setTransparentSortingForced}}
\index{setTransparentSortingForced@{setTransparentSortingForced}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setTransparentSortingForced()}{setTransparentSortingForced()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Transparent\+Sorting\+Forced (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether or not transparent sorting is forced. 


\begin{DoxyParams}{Parameters}
{\em enabled} & If true depth sorting of this material will be depend only on the value of \mbox{\hyperlink{class_ogre_1_1_pass_a4a6ab6d3bce34b620675e9ccd2dfb89f}{get\+Transparent\+Sorting\+Enabled()}}. \\
\hline
\end{DoxyParams}
\begin{DoxyRemark}{Remarks}
By default even if transparent sorting is enabled, depth sorting will only be performed when the material is transparent and depth write/check are disabled. This function disables these extra conditions. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_a9729c4faa36b1a38ce0a8c14a3627dbe}\label{class_ogre_1_1_pass_a9729c4faa36b1a38ce0a8c14a3627dbe}} 
\index{Ogre::Pass@{Ogre::Pass}!getTransparentSortingForced@{getTransparentSortingForced}}
\index{getTransparentSortingForced@{getTransparentSortingForced}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getTransparentSortingForced()}{getTransparentSortingForced()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::get\+Transparent\+Sorting\+Forced (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns whether or not transparent sorting is forced. 

\mbox{\Hypertarget{class_ogre_1_1_pass_aec98c9346a22a4a98acdaf5b8849a5c1}\label{class_ogre_1_1_pass_aec98c9346a22a4a98acdaf5b8849a5c1}} 
\index{Ogre::Pass@{Ogre::Pass}!setIteratePerLight@{setIteratePerLight}}
\index{setIteratePerLight@{setIteratePerLight}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setIteratePerLight()}{setIteratePerLight()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Iterate\+Per\+Light (\begin{DoxyParamCaption}\item[{bool}]{enabled,  }\item[{bool}]{only\+For\+One\+Light\+Type = {\ttfamily true},  }\item[{\mbox{\hyperlink{class_ogre_1_1_light_a4f1dea084d1497c6f49e802ade940dbc}{Light\+::\+Light\+Types}}}]{light\+Type = {\ttfamily \mbox{\hyperlink{class_ogre_1_1_light_a4f1dea084d1497c6f49e802ade940dbca0d59bfdcfeb338dbfe06e2e2999e752f}{Light\+::\+L\+T\+\_\+\+P\+O\+I\+NT}}} }\end{DoxyParamCaption})}



Sets whether or not this pass should iterate per light or number of lights which can affect the object being rendered. 

\begin{DoxyRemark}{Remarks}
The default behaviour for a pass (when this option is \textquotesingle{}false\textquotesingle{}), is for a pass to be rendered only once (or the number of times set in set\+Pass\+Iteration\+Count), with all the lights which could affect this object set at the same time (up to the maximum lights allowed in the render system, which is typically 8). 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Setting this option to \textquotesingle{}true\textquotesingle{} changes this behaviour, such that instead of trying to issue render this pass once per object, it is run {\bfseries{per light}}, or for a group of \textquotesingle{}n\textquotesingle{} lights each time which can affect this object, the number of times set in set\+Pass\+Iteration\+Count (default is once). In this case, only light index 0 is ever used, and is a different light every time the pass is issued, up to the total number of lights which is affecting this object. This has 2 advantages\+: 
\begin{DoxyItemize}
\item There is no limit on the number of lights which can be supported 
\item It\textquotesingle{}s easier to write vertex / fragment programs for this because a single program can be used for any number of lights 
\end{DoxyItemize}However, this technique is more expensive, and typically you will want an additional ambient pass, because if no lights are affecting the object it will not be rendered at all, which will look odd even if ambient light is zero (imagine if there are lit objects behind it -\/ the objects silhouette would not show up). Therefore, use this option with care, and you would be well advised to provide a less expensive fallback technique for use in the distance. 
\end{DoxyParagraph}
\begin{DoxyNote}{Note}
The number of times this pass runs is still limited by the maximum number of lights allowed as set in set\+Max\+Simultaneous\+Lights, so you will never get more passes than this. Also, the iteration is started from the \textquotesingle{}start light\textquotesingle{} as set in \mbox{\hyperlink{class_ogre_1_1_pass_a8b816cdd2b5b5fcc5cbe6744b6bb2dbd}{Pass\+::set\+Start\+Light}}, and the number of passes is the number of lights to iterate over divided by the number of lights per iteration (default 1, set by set\+Light\+Count\+Per\+Iteration). 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em enabled} & Whether this feature is enabled \\
\hline
{\em only\+For\+One\+Light\+Type} & If true, the pass will only be run for a single type of light, other light types will be ignored. \\
\hline
{\em light\+Type} & The single light type which will be considered for this pass \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_a606718035e449c4fdf91ae843adc4894}\label{class_ogre_1_1_pass_a606718035e449c4fdf91ae843adc4894}} 
\index{Ogre::Pass@{Ogre::Pass}!getIteratePerLight@{getIteratePerLight}}
\index{getIteratePerLight@{getIteratePerLight}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getIteratePerLight()}{getIteratePerLight()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::get\+Iterate\+Per\+Light (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Does this pass run once for every light in range? 

\mbox{\Hypertarget{class_ogre_1_1_pass_a0adea673c6a85f5fbc1c7403457c284f}\label{class_ogre_1_1_pass_a0adea673c6a85f5fbc1c7403457c284f}} 
\index{Ogre::Pass@{Ogre::Pass}!getRunOnlyForOneLightType@{getRunOnlyForOneLightType}}
\index{getRunOnlyForOneLightType@{getRunOnlyForOneLightType}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getRunOnlyForOneLightType()}{getRunOnlyForOneLightType()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::get\+Run\+Only\+For\+One\+Light\+Type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Does this pass run only for a single light type (if get\+Iterate\+Per\+Light is true). 

\mbox{\Hypertarget{class_ogre_1_1_pass_a371e62569a03de84662a286c875e45cb}\label{class_ogre_1_1_pass_a371e62569a03de84662a286c875e45cb}} 
\index{Ogre::Pass@{Ogre::Pass}!getOnlyLightType@{getOnlyLightType}}
\index{getOnlyLightType@{getOnlyLightType}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getOnlyLightType()}{getOnlyLightType()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_light_a4f1dea084d1497c6f49e802ade940dbc}{Light\+::\+Light\+Types}} Ogre\+::\+Pass\+::get\+Only\+Light\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the single light type this pass runs for if get\+Iterate\+Per\+Light and get\+Run\+Only\+For\+One\+Light\+Type are both true. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a0e40ca39a238f0afe5e2d3a0db0661ce}\label{class_ogre_1_1_pass_a0e40ca39a238f0afe5e2d3a0db0661ce}} 
\index{Ogre::Pass@{Ogre::Pass}!setLightCountPerIteration@{setLightCountPerIteration}}
\index{setLightCountPerIteration@{setLightCountPerIteration}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setLightCountPerIteration()}{setLightCountPerIteration()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Light\+Count\+Per\+Iteration (\begin{DoxyParamCaption}\item[{unsigned short}]{c }\end{DoxyParamCaption})}



If light iteration is enabled, determine the number of lights per iteration. 

\begin{DoxyRemark}{Remarks}
The default for this setting is 1, so if you enable light iteration (\mbox{\hyperlink{class_ogre_1_1_pass_aec98c9346a22a4a98acdaf5b8849a5c1}{Pass\+::set\+Iterate\+Per\+Light}}), the pass is rendered once per light. If you set this value higher, the passes will occur once per \textquotesingle{}n\textquotesingle{} lights. The start of the iteration is set by \mbox{\hyperlink{class_ogre_1_1_pass_a8b816cdd2b5b5fcc5cbe6744b6bb2dbd}{Pass\+::set\+Start\+Light}} and the end by \mbox{\hyperlink{class_ogre_1_1_pass_a95a7a4006f26528ef4f6ce42ae56b09b}{Pass\+::set\+Max\+Simultaneous\+Lights}}. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_a44cbf809b449b317d01500220b25d82f}\label{class_ogre_1_1_pass_a44cbf809b449b317d01500220b25d82f}} 
\index{Ogre::Pass@{Ogre::Pass}!getLightCountPerIteration@{getLightCountPerIteration}}
\index{getLightCountPerIteration@{getLightCountPerIteration}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getLightCountPerIteration()}{getLightCountPerIteration()}}
{\footnotesize\ttfamily unsigned short Ogre\+::\+Pass\+::get\+Light\+Count\+Per\+Iteration (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



If light iteration is enabled, determine the number of lights per iteration. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a224fe87a1d87d16212184331ef8a4906}\label{class_ogre_1_1_pass_a224fe87a1d87d16212184331ef8a4906}} 
\index{Ogre::Pass@{Ogre::Pass}!getParent@{getParent}}
\index{getParent@{getParent}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getParent()}{getParent()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}$\ast$ Ogre\+::\+Pass\+::get\+Parent (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the parent \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a0bd99345b312bfb24c297b147b7665c5}\label{class_ogre_1_1_pass_a0bd99345b312bfb24c297b147b7665c5}} 
\index{Ogre::Pass@{Ogre::Pass}!getResourceGroup@{getResourceGroup}}
\index{getResourceGroup@{getResourceGroup}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getResourceGroup()}{getResourceGroup()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Pass\+::get\+Resource\+Group (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the resource group of the ultimate parent \mbox{\hyperlink{class_ogre_1_1_material}{Material}}. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ac4d96a83679d194ce380ad55b014f69b}\label{class_ogre_1_1_pass_ac4d96a83679d194ce380ad55b014f69b}} 
\index{Ogre::Pass@{Ogre::Pass}!getGpuProgram@{getGpuProgram}}
\index{getGpuProgram@{getGpuProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getGpuProgram()}{getGpuProgram()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}}\& Ogre\+::\+Pass\+::get\+Gpu\+Program (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}}}]{program\+Type }\end{DoxyParamCaption}) const}



Gets the Gpu program used by this pass, only available after \mbox{\hyperlink{class_ogre_1_1_pass_ac1e07d3bccdb7f6c437c107c92e4ae46}{\+\_\+load()}} 

\mbox{\Hypertarget{class_ogre_1_1_pass_a9d00b9b7adf3c5b5f78aed3b100cc2ee}\label{class_ogre_1_1_pass_a9d00b9b7adf3c5b5f78aed3b100cc2ee}} 
\index{Ogre::Pass@{Ogre::Pass}!getVertexProgram@{getVertexProgram}}
\index{getVertexProgram@{getVertexProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getVertexProgram()}{getVertexProgram()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}}\& Ogre\+::\+Pass\+::get\+Vertex\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a49886b41c8e96ddfaea1d6b1c5264885}\label{class_ogre_1_1_pass_a49886b41c8e96ddfaea1d6b1c5264885}} 
\index{Ogre::Pass@{Ogre::Pass}!getFragmentProgram@{getFragmentProgram}}
\index{getFragmentProgram@{getFragmentProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getFragmentProgram()}{getFragmentProgram()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}}\& Ogre\+::\+Pass\+::get\+Fragment\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a72637ef35c39efd6ac000ada7e96bb13}\label{class_ogre_1_1_pass_a72637ef35c39efd6ac000ada7e96bb13}} 
\index{Ogre::Pass@{Ogre::Pass}!getGeometryProgram@{getGeometryProgram}}
\index{getGeometryProgram@{getGeometryProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getGeometryProgram()}{getGeometryProgram()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}}\& Ogre\+::\+Pass\+::get\+Geometry\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ad218fad32224eca7ed978b92e8b81895}\label{class_ogre_1_1_pass_ad218fad32224eca7ed978b92e8b81895}} 
\index{Ogre::Pass@{Ogre::Pass}!getTessellationHullProgram@{getTessellationHullProgram}}
\index{getTessellationHullProgram@{getTessellationHullProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getTessellationHullProgram()}{getTessellationHullProgram()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}}\& Ogre\+::\+Pass\+::get\+Tessellation\+Hull\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ad5d4c302e116ef27dea2b0a56705ccc4}\label{class_ogre_1_1_pass_ad5d4c302e116ef27dea2b0a56705ccc4}} 
\index{Ogre::Pass@{Ogre::Pass}!getTessellationDomainProgram@{getTessellationDomainProgram}}
\index{getTessellationDomainProgram@{getTessellationDomainProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getTessellationDomainProgram()}{getTessellationDomainProgram()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}}\& Ogre\+::\+Pass\+::get\+Tessellation\+Domain\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a97e4cdfc70411ee066cf68e1c7a817e4}\label{class_ogre_1_1_pass_a97e4cdfc70411ee066cf68e1c7a817e4}} 
\index{Ogre::Pass@{Ogre::Pass}!getComputeProgram@{getComputeProgram}}
\index{getComputeProgram@{getComputeProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getComputeProgram()}{getComputeProgram()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}}\& Ogre\+::\+Pass\+::get\+Compute\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a50c2b23280ac2eca62b767ecebfa5888}\label{class_ogre_1_1_pass_a50c2b23280ac2eca62b767ecebfa5888}} 
\index{Ogre::Pass@{Ogre::Pass}!hasGpuProgram@{hasGpuProgram}}
\index{hasGpuProgram@{hasGpuProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{hasGpuProgram()}{hasGpuProgram()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::has\+Gpu\+Program (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}}}]{program\+Type }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_ogre_1_1_pass_a6d208f945dbfc60cac0cc4502a8eb3dc}\label{class_ogre_1_1_pass_a6d208f945dbfc60cac0cc4502a8eb3dc}} 
\index{Ogre::Pass@{Ogre::Pass}!setShadowCasterVertexProgram@{setShadowCasterVertexProgram}}
\index{setShadowCasterVertexProgram@{setShadowCasterVertexProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setShadowCasterVertexProgram()}{setShadowCasterVertexProgram()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Shadow\+Caster\+Vertex\+Program (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



Sets the details of the vertex program to use when rendering as a shadow caster. 

\begin{DoxyRemark}{Remarks}
Texture-\/based shadows require that the caster is rendered to a texture in a solid colour (the shadow colour in the case of modulative texture shadows). Whilst \mbox{\hyperlink{namespace_ogre}{Ogre}} can arrange this for the fixed function pipeline, passes which use vertex programs might need the vertex programs still to run in order to preserve any deformation etc that it does. However, lighting calculations must be a lot simpler, with only the ambient colour being used (which the engine will ensure is bound to the shadow colour). 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Therefore, it is up to implementors of vertex programs to provide an alternative vertex program which can be used to render the object to a shadow texture. Do all the same vertex transforms, but set the colour of the vertex to the ambient colour, as bound using the standard auto parameter binding mechanism. 
\end{DoxyParagraph}
\begin{DoxyNote}{Note}
Some vertex programs will work without doing this, because \mbox{\hyperlink{namespace_ogre}{Ogre}} ensures that all lights except for ambient are set black. However, the chances are that your vertex program is doing a lot of unnecessary work in this case, since the other lights are having no effect, and it is good practice to supply an alternative. 

This is only applicable to programmable passes. 
\end{DoxyNote}
\begin{DoxyParagraph}{}
The default behaviour is for \mbox{\hyperlink{namespace_ogre}{Ogre}} to switch to fixed-\/function rendering if an explicit vertex program alternative is not set. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_pass_a585dc96fdf025aaef00dce27bbf1328b}\label{class_ogre_1_1_pass_a585dc96fdf025aaef00dce27bbf1328b}} 
\index{Ogre::Pass@{Ogre::Pass}!setShadowCasterVertexProgramParameters@{setShadowCasterVertexProgramParameters}}
\index{setShadowCasterVertexProgramParameters@{setShadowCasterVertexProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setShadowCasterVertexProgramParameters()}{setShadowCasterVertexProgramParameters()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Shadow\+Caster\+Vertex\+Program\+Parameters (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}}}]{params }\end{DoxyParamCaption})}



Sets the vertex program parameters for rendering as a shadow caster. 

\begin{DoxyRemark}{Remarks}
Only applicable to programmable passes, and this particular call is designed for low-\/level programs; use the named parameter methods for setting high-\/level program parameters. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_a7fe8a6e86af9147b83fc7f80698d5096}\label{class_ogre_1_1_pass_a7fe8a6e86af9147b83fc7f80698d5096}} 
\index{Ogre::Pass@{Ogre::Pass}!getShadowCasterVertexProgramName@{getShadowCasterVertexProgramName}}
\index{getShadowCasterVertexProgramName@{getShadowCasterVertexProgramName}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getShadowCasterVertexProgramName()}{getShadowCasterVertexProgramName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Pass\+::get\+Shadow\+Caster\+Vertex\+Program\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the name of the vertex program used by this pass when rendering shadow casters. 

\mbox{\Hypertarget{class_ogre_1_1_pass_aad15fe5527342cbcd93aab469024af00}\label{class_ogre_1_1_pass_aad15fe5527342cbcd93aab469024af00}} 
\index{Ogre::Pass@{Ogre::Pass}!getShadowCasterVertexProgramParameters@{getShadowCasterVertexProgramParameters}}
\index{getShadowCasterVertexProgramParameters@{getShadowCasterVertexProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getShadowCasterVertexProgramParameters()}{getShadowCasterVertexProgramParameters()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} Ogre\+::\+Pass\+::get\+Shadow\+Caster\+Vertex\+Program\+Parameters (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the vertex program parameters used by this pass when rendering shadow casters. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a1b77400f0729267d6403afc312738788}\label{class_ogre_1_1_pass_a1b77400f0729267d6403afc312738788}} 
\index{Ogre::Pass@{Ogre::Pass}!getShadowCasterVertexProgram@{getShadowCasterVertexProgram}}
\index{getShadowCasterVertexProgram@{getShadowCasterVertexProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getShadowCasterVertexProgram()}{getShadowCasterVertexProgram()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}}\& Ogre\+::\+Pass\+::get\+Shadow\+Caster\+Vertex\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the vertex program used by this pass when rendering shadow casters, only available after \mbox{\hyperlink{class_ogre_1_1_pass_ac1e07d3bccdb7f6c437c107c92e4ae46}{\+\_\+load()}}. 

\mbox{\Hypertarget{class_ogre_1_1_pass_aae19f94be0da24a4b813e5849ecc4fc2}\label{class_ogre_1_1_pass_aae19f94be0da24a4b813e5849ecc4fc2}} 
\index{Ogre::Pass@{Ogre::Pass}!setShadowCasterFragmentProgram@{setShadowCasterFragmentProgram}}
\index{setShadowCasterFragmentProgram@{setShadowCasterFragmentProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setShadowCasterFragmentProgram()}{setShadowCasterFragmentProgram()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Shadow\+Caster\+Fragment\+Program (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



Sets the details of the fragment program to use when rendering as a shadow caster. 

\begin{DoxyRemark}{Remarks}
Texture-\/based shadows require that the caster is rendered to a texture in a solid colour (the shadow colour in the case of modulative texture shadows). Whilst \mbox{\hyperlink{namespace_ogre}{Ogre}} can arrange this for the fixed function pipeline, passes which use vertex programs might need the vertex programs still to run in order to preserve any deformation etc that it does. However, lighting calculations must be a lot simpler, with only the ambient colour being used (which the engine will ensure is bound to the shadow colour). 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Therefore, it is up to implementors of vertex programs to provide an alternative vertex program which can be used to render the object to a shadow texture. Do all the same vertex transforms, but set the colour of the vertex to the ambient colour, as bound using the standard auto parameter binding mechanism. 
\end{DoxyParagraph}
\begin{DoxyNote}{Note}
Some vertex programs will work without doing this, because \mbox{\hyperlink{namespace_ogre}{Ogre}} ensures that all lights except for ambient are set black. However, the chances are that your vertex program is doing a lot of unnecessary work in this case, since the other lights are having no effect, and it is good practice to supply an alternative. 

This is only applicable to programmable passes. 
\end{DoxyNote}
\begin{DoxyParagraph}{}
The default behaviour is for \mbox{\hyperlink{namespace_ogre}{Ogre}} to switch to fixed-\/function rendering if an explicit fragment program alternative is not set. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_pass_a4dfd71fa6c43cdf5c6f3613fdee1a17d}\label{class_ogre_1_1_pass_a4dfd71fa6c43cdf5c6f3613fdee1a17d}} 
\index{Ogre::Pass@{Ogre::Pass}!setShadowCasterFragmentProgramParameters@{setShadowCasterFragmentProgramParameters}}
\index{setShadowCasterFragmentProgramParameters@{setShadowCasterFragmentProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setShadowCasterFragmentProgramParameters()}{setShadowCasterFragmentProgramParameters()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Shadow\+Caster\+Fragment\+Program\+Parameters (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}}}]{params }\end{DoxyParamCaption})}



Sets the fragment program parameters for rendering as a shadow caster. 

\begin{DoxyRemark}{Remarks}
Only applicable to programmable passes, and this particular call is designed for low-\/level programs; use the named parameter methods for setting high-\/level program parameters. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_a8d626f46f910ebd72c1dc0fc6ef46bd5}\label{class_ogre_1_1_pass_a8d626f46f910ebd72c1dc0fc6ef46bd5}} 
\index{Ogre::Pass@{Ogre::Pass}!getShadowCasterFragmentProgramName@{getShadowCasterFragmentProgramName}}
\index{getShadowCasterFragmentProgramName@{getShadowCasterFragmentProgramName}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getShadowCasterFragmentProgramName()}{getShadowCasterFragmentProgramName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Pass\+::get\+Shadow\+Caster\+Fragment\+Program\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the name of the fragment program used by this pass when rendering shadow casters. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ac50fb7f2a742128dd915ec6c94493249}\label{class_ogre_1_1_pass_ac50fb7f2a742128dd915ec6c94493249}} 
\index{Ogre::Pass@{Ogre::Pass}!getShadowCasterFragmentProgramParameters@{getShadowCasterFragmentProgramParameters}}
\index{getShadowCasterFragmentProgramParameters@{getShadowCasterFragmentProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getShadowCasterFragmentProgramParameters()}{getShadowCasterFragmentProgramParameters()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} Ogre\+::\+Pass\+::get\+Shadow\+Caster\+Fragment\+Program\+Parameters (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the fragment program parameters used by this pass when rendering shadow casters. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a5a43888d52a70572e771c69aceaf2fc3}\label{class_ogre_1_1_pass_a5a43888d52a70572e771c69aceaf2fc3}} 
\index{Ogre::Pass@{Ogre::Pass}!getShadowCasterFragmentProgram@{getShadowCasterFragmentProgram}}
\index{getShadowCasterFragmentProgram@{getShadowCasterFragmentProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getShadowCasterFragmentProgram()}{getShadowCasterFragmentProgram()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}}\& Ogre\+::\+Pass\+::get\+Shadow\+Caster\+Fragment\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the fragment program used by this pass when rendering shadow casters, only available after \mbox{\hyperlink{class_ogre_1_1_pass_ac1e07d3bccdb7f6c437c107c92e4ae46}{\+\_\+load()}}. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a8be472bada8c2fdaac24fd0349f11964}\label{class_ogre_1_1_pass_a8be472bada8c2fdaac24fd0349f11964}} 
\index{Ogre::Pass@{Ogre::Pass}!setShadowReceiverVertexProgram@{setShadowReceiverVertexProgram}}
\index{setShadowReceiverVertexProgram@{setShadowReceiverVertexProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setShadowReceiverVertexProgram()}{setShadowReceiverVertexProgram()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Shadow\+Receiver\+Vertex\+Program (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



Sets the details of the vertex program to use when rendering as a shadow receiver. 

\begin{DoxyRemark}{Remarks}
Texture-\/based shadows require that the shadow receiver is rendered using a projective texture. Whilst \mbox{\hyperlink{namespace_ogre}{Ogre}} can arrange this for the fixed function pipeline, passes which use vertex programs might need the vertex programs still to run in order to preserve any deformation etc that it does. So in this case, we need a vertex program which does the appropriate vertex transformation, but generates projective texture coordinates. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Therefore, it is up to implementors of vertex programs to provide an alternative vertex program which can be used to render the object as a shadow receiver. Do all the same vertex transforms, but generate {\bfseries{2 sets}} of texture coordinates using the auto parameter A\+C\+T\+\_\+\+T\+E\+X\+T\+U\+R\+E\+\_\+\+V\+I\+E\+W\+P\+R\+O\+J\+\_\+\+M\+A\+T\+R\+IX, which \mbox{\hyperlink{namespace_ogre}{Ogre}} will bind to the parameter name / index you supply as the second parameter to this method. 2 texture sets are needed because \mbox{\hyperlink{namespace_ogre}{Ogre}} needs to use 2 texture units for some shadow effects. 
\end{DoxyParagraph}
\begin{DoxyNote}{Note}
This is only applicable to programmable passes. 
\end{DoxyNote}
\begin{DoxyParagraph}{}
The default behaviour is for \mbox{\hyperlink{namespace_ogre}{Ogre}} to switch to fixed-\/function rendering if an explict vertex program alternative is not set. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_pass_aae8406edd157f8b8b2b1236bbe816f4f}\label{class_ogre_1_1_pass_aae8406edd157f8b8b2b1236bbe816f4f}} 
\index{Ogre::Pass@{Ogre::Pass}!setShadowReceiverVertexProgramParameters@{setShadowReceiverVertexProgramParameters}}
\index{setShadowReceiverVertexProgramParameters@{setShadowReceiverVertexProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setShadowReceiverVertexProgramParameters()}{setShadowReceiverVertexProgramParameters()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Shadow\+Receiver\+Vertex\+Program\+Parameters (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}}}]{params }\end{DoxyParamCaption})}



Sets the vertex program parameters for rendering as a shadow receiver. 

\begin{DoxyRemark}{Remarks}
Only applicable to programmable passes, and this particular call is designed for low-\/level programs; use the named parameter methods for setting high-\/level program parameters. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_af674d2851440589007add4a41d9e92f3}\label{class_ogre_1_1_pass_af674d2851440589007add4a41d9e92f3}} 
\index{Ogre::Pass@{Ogre::Pass}!setShadowReceiverFragmentProgram@{setShadowReceiverFragmentProgram}}
\index{setShadowReceiverFragmentProgram@{setShadowReceiverFragmentProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setShadowReceiverFragmentProgram()}{setShadowReceiverFragmentProgram()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Shadow\+Receiver\+Fragment\+Program (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



This method allows you to specify a fragment program for use when rendering a texture shadow receiver. 

\begin{DoxyRemark}{Remarks}
\mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} shadows are applied by rendering the receiver. Modulative texture shadows are performed as a post-\/render darkening pass, and as such fragment programs are generally not required per-\/object. Additive texture shadows, however, are applied by accumulating light masked out using a texture shadow (black \& white by default, unless you customise this using Scene\+Manager\+::set\+Custom\+Shadow\+Caster\+Material). O\+G\+RE can do this for you for most materials, but if you use a custom lighting program (e.\+g. per pixel lighting) then you\textquotesingle{}ll need to provide a custom version for receiving shadows. You don\textquotesingle{}t need to provide this for shadow casters if you don\textquotesingle{}t use self-\/shadowing since they will never be shadow receivers too. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
The shadow texture is always bound to texture unit 0 when rendering texture shadow passes. Therefore your custom shadow receiver program may well just need to shift it\textquotesingle{}s texture unit usage up by one unit, and take the shadow texture into account in its calculations. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_pass_a873f11315e573b7c069f59e822492874}\label{class_ogre_1_1_pass_a873f11315e573b7c069f59e822492874}} 
\index{Ogre::Pass@{Ogre::Pass}!setShadowReceiverFragmentProgramParameters@{setShadowReceiverFragmentProgramParameters}}
\index{setShadowReceiverFragmentProgramParameters@{setShadowReceiverFragmentProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setShadowReceiverFragmentProgramParameters()}{setShadowReceiverFragmentProgramParameters()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Shadow\+Receiver\+Fragment\+Program\+Parameters (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}}}]{params }\end{DoxyParamCaption})}



Sets the fragment program parameters for rendering as a shadow receiver. 

\begin{DoxyRemark}{Remarks}
Only applicable to programmable passes, and this particular call is designed for low-\/level programs; use the named parameter methods for setting high-\/level program parameters. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_a4af5577bec4cfc86ca60f3e04d25fef0}\label{class_ogre_1_1_pass_a4af5577bec4cfc86ca60f3e04d25fef0}} 
\index{Ogre::Pass@{Ogre::Pass}!getShadowReceiverVertexProgramName@{getShadowReceiverVertexProgramName}}
\index{getShadowReceiverVertexProgramName@{getShadowReceiverVertexProgramName}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getShadowReceiverVertexProgramName()}{getShadowReceiverVertexProgramName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Pass\+::get\+Shadow\+Receiver\+Vertex\+Program\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the name of the vertex program used by this pass when rendering shadow receivers. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a830fa419b857cf256059cb3662064484}\label{class_ogre_1_1_pass_a830fa419b857cf256059cb3662064484}} 
\index{Ogre::Pass@{Ogre::Pass}!getShadowReceiverVertexProgramParameters@{getShadowReceiverVertexProgramParameters}}
\index{getShadowReceiverVertexProgramParameters@{getShadowReceiverVertexProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getShadowReceiverVertexProgramParameters()}{getShadowReceiverVertexProgramParameters()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} Ogre\+::\+Pass\+::get\+Shadow\+Receiver\+Vertex\+Program\+Parameters (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the vertex program parameters used by this pass when rendering shadow receivers. 

\mbox{\Hypertarget{class_ogre_1_1_pass_aef06bc668729148b9faa79309611cf36}\label{class_ogre_1_1_pass_aef06bc668729148b9faa79309611cf36}} 
\index{Ogre::Pass@{Ogre::Pass}!getShadowReceiverVertexProgram@{getShadowReceiverVertexProgram}}
\index{getShadowReceiverVertexProgram@{getShadowReceiverVertexProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getShadowReceiverVertexProgram()}{getShadowReceiverVertexProgram()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}}\& Ogre\+::\+Pass\+::get\+Shadow\+Receiver\+Vertex\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the vertex program used by this pass when rendering shadow receivers, only available after \mbox{\hyperlink{class_ogre_1_1_pass_ac1e07d3bccdb7f6c437c107c92e4ae46}{\+\_\+load()}}. 

\mbox{\Hypertarget{class_ogre_1_1_pass_acb379c72f33bd89e771516a4ebc25e08}\label{class_ogre_1_1_pass_acb379c72f33bd89e771516a4ebc25e08}} 
\index{Ogre::Pass@{Ogre::Pass}!getShadowReceiverFragmentProgramName@{getShadowReceiverFragmentProgramName}}
\index{getShadowReceiverFragmentProgramName@{getShadowReceiverFragmentProgramName}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getShadowReceiverFragmentProgramName()}{getShadowReceiverFragmentProgramName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Pass\+::get\+Shadow\+Receiver\+Fragment\+Program\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the name of the fragment program used by this pass when rendering shadow receivers. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a145368fb69cd0b1daa8ef4738d70fc24}\label{class_ogre_1_1_pass_a145368fb69cd0b1daa8ef4738d70fc24}} 
\index{Ogre::Pass@{Ogre::Pass}!getShadowReceiverFragmentProgramParameters@{getShadowReceiverFragmentProgramParameters}}
\index{getShadowReceiverFragmentProgramParameters@{getShadowReceiverFragmentProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getShadowReceiverFragmentProgramParameters()}{getShadowReceiverFragmentProgramParameters()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} Ogre\+::\+Pass\+::get\+Shadow\+Receiver\+Fragment\+Program\+Parameters (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the fragment program parameters used by this pass when rendering shadow receivers. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a7093553beb0811c323ac54d45730a9d8}\label{class_ogre_1_1_pass_a7093553beb0811c323ac54d45730a9d8}} 
\index{Ogre::Pass@{Ogre::Pass}!getShadowReceiverFragmentProgram@{getShadowReceiverFragmentProgram}}
\index{getShadowReceiverFragmentProgram@{getShadowReceiverFragmentProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getShadowReceiverFragmentProgram()}{getShadowReceiverFragmentProgram()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}}\& Ogre\+::\+Pass\+::get\+Shadow\+Receiver\+Fragment\+Program (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the fragment program used by this pass when rendering shadow receivers, only available after \mbox{\hyperlink{class_ogre_1_1_pass_ac1e07d3bccdb7f6c437c107c92e4ae46}{\+\_\+load()}}. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a3d4978eca2f3387a7abec740ec760ad7}\label{class_ogre_1_1_pass_a3d4978eca2f3387a7abec740ec760ad7}} 
\index{Ogre::Pass@{Ogre::Pass}!setGpuProgram@{setGpuProgram}}
\index{setGpuProgram@{setGpuProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setGpuProgram()}{setGpuProgram()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Gpu\+Program (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}}}]{type,  }\item[{const \mbox{\hyperlink{namespace_ogre_a2c452533979dfdf73a296288e94d920b}{Gpu\+Program\+Ptr}} \&}]{prog,  }\item[{bool}]{reset\+Params = {\ttfamily true} }\end{DoxyParamCaption})}



Sets the details of the program to use. 

\begin{DoxyRemark}{Remarks}
Only applicable to programmable passes, this sets the details of the program to use in this pass. The program will not be loaded until the parent \mbox{\hyperlink{class_ogre_1_1_material}{Material}} is loaded. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em reset\+Params} & If true, this will create a fresh set of parameters from the new program being linked, so if you had previously set parameters you will have to set them again. If you set this to false, you must be absolutely sure that the parameters match perfectly, and in the case of named parameters refers to the indexes underlying them, not just the names. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_abee48df0d246eb685780d16b32b7f8f4}\label{class_ogre_1_1_pass_abee48df0d246eb685780d16b32b7f8f4}} 
\index{Ogre::Pass@{Ogre::Pass}!setGpuProgram@{setGpuProgram}}
\index{setGpuProgram@{setGpuProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setGpuProgram()}{setGpuProgram()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Gpu\+Program (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}}}]{type,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{bool}]{reset\+Params = {\ttfamily true} }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 


\begin{DoxyParams}{Parameters}
{\em name} & The name of the program -\/ this must have been created using \mbox{\hyperlink{class_ogre_1_1_gpu_program_manager}{Gpu\+Program\+Manager}} by the time that this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} is loaded. If this parameter is blank, any program of the type in this pass is disabled. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_a3019e308b0759cc150ac0f45308d69b3}\label{class_ogre_1_1_pass_a3019e308b0759cc150ac0f45308d69b3}} 
\index{Ogre::Pass@{Ogre::Pass}!setFragmentProgram@{setFragmentProgram}}
\index{setFragmentProgram@{setFragmentProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setFragmentProgram()}{setFragmentProgram()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Fragment\+Program (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{bool}]{reset\+Params = {\ttfamily true} }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_af6b2aab96fb146a8e92043c7dc771de4}\label{class_ogre_1_1_pass_af6b2aab96fb146a8e92043c7dc771de4}} 
\index{Ogre::Pass@{Ogre::Pass}!setGeometryProgram@{setGeometryProgram}}
\index{setGeometryProgram@{setGeometryProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setGeometryProgram()}{setGeometryProgram()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Geometry\+Program (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{bool}]{reset\+Params = {\ttfamily true} }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a5adb72e47427f59f672e43b709c68038}\label{class_ogre_1_1_pass_a5adb72e47427f59f672e43b709c68038}} 
\index{Ogre::Pass@{Ogre::Pass}!setTessellationDomainProgram@{setTessellationDomainProgram}}
\index{setTessellationDomainProgram@{setTessellationDomainProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setTessellationDomainProgram()}{setTessellationDomainProgram()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Tessellation\+Domain\+Program (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{bool}]{reset\+Params = {\ttfamily true} }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a6821e86c7c287fabcd28344117f772d0}\label{class_ogre_1_1_pass_a6821e86c7c287fabcd28344117f772d0}} 
\index{Ogre::Pass@{Ogre::Pass}!setTessellationHullProgram@{setTessellationHullProgram}}
\index{setTessellationHullProgram@{setTessellationHullProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setTessellationHullProgram()}{setTessellationHullProgram()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Tessellation\+Hull\+Program (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{bool}]{reset\+Params = {\ttfamily true} }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_aba0003996c1c200db9fb6466a2253a54}\label{class_ogre_1_1_pass_aba0003996c1c200db9fb6466a2253a54}} 
\index{Ogre::Pass@{Ogre::Pass}!setVertexProgram@{setVertexProgram}}
\index{setVertexProgram@{setVertexProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setVertexProgram()}{setVertexProgram()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Vertex\+Program (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{bool}]{reset\+Params = {\ttfamily true} }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a97deab966da4653d248875782b45a3f1}\label{class_ogre_1_1_pass_a97deab966da4653d248875782b45a3f1}} 
\index{Ogre::Pass@{Ogre::Pass}!setComputeProgram@{setComputeProgram}}
\index{setComputeProgram@{setComputeProgram}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setComputeProgram()}{setComputeProgram()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Compute\+Program (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{bool}]{reset\+Params = {\ttfamily true} }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a91bdef99c065c528a54572c99628841e}\label{class_ogre_1_1_pass_a91bdef99c065c528a54572c99628841e}} 
\index{Ogre::Pass@{Ogre::Pass}!getGpuProgramName@{getGpuProgramName}}
\index{getGpuProgramName@{getGpuProgramName}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getGpuProgramName()}{getGpuProgramName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Pass\+::get\+Gpu\+Program\+Name (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}}}]{type }\end{DoxyParamCaption}) const}



Gets the name of the program used by this pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a289c78896d2777260cf5722b4cb8fd2d}\label{class_ogre_1_1_pass_a289c78896d2777260cf5722b4cb8fd2d}} 
\index{Ogre::Pass@{Ogre::Pass}!getFragmentProgramName@{getFragmentProgramName}}
\index{getFragmentProgramName@{getFragmentProgramName}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getFragmentProgramName()}{getFragmentProgramName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Pass\+::get\+Fragment\+Program\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 



References Ogre\+::\+G\+P\+T\+\_\+\+F\+R\+A\+G\+M\+E\+N\+T\+\_\+\+P\+R\+O\+G\+R\+AM.

\mbox{\Hypertarget{class_ogre_1_1_pass_ac3fdaa6b028d32a0302746ceeb79a6d3}\label{class_ogre_1_1_pass_ac3fdaa6b028d32a0302746ceeb79a6d3}} 
\index{Ogre::Pass@{Ogre::Pass}!getGeometryProgramName@{getGeometryProgramName}}
\index{getGeometryProgramName@{getGeometryProgramName}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getGeometryProgramName()}{getGeometryProgramName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Pass\+::get\+Geometry\+Program\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 



References Ogre\+::\+G\+P\+T\+\_\+\+G\+E\+O\+M\+E\+T\+R\+Y\+\_\+\+P\+R\+O\+G\+R\+AM.

\mbox{\Hypertarget{class_ogre_1_1_pass_a0da495acb6aaea4832685156dfbf8975}\label{class_ogre_1_1_pass_a0da495acb6aaea4832685156dfbf8975}} 
\index{Ogre::Pass@{Ogre::Pass}!getTessellationDomainProgramName@{getTessellationDomainProgramName}}
\index{getTessellationDomainProgramName@{getTessellationDomainProgramName}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getTessellationDomainProgramName()}{getTessellationDomainProgramName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Pass\+::get\+Tessellation\+Domain\+Program\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 



References Ogre\+::\+G\+P\+T\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+P\+R\+O\+G\+R\+AM.

\mbox{\Hypertarget{class_ogre_1_1_pass_afb0c89ec1367230c6e74eac585efd993}\label{class_ogre_1_1_pass_afb0c89ec1367230c6e74eac585efd993}} 
\index{Ogre::Pass@{Ogre::Pass}!getTessellationHullProgramName@{getTessellationHullProgramName}}
\index{getTessellationHullProgramName@{getTessellationHullProgramName}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getTessellationHullProgramName()}{getTessellationHullProgramName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Pass\+::get\+Tessellation\+Hull\+Program\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 



References Ogre\+::\+G\+P\+T\+\_\+\+H\+U\+L\+L\+\_\+\+P\+R\+O\+G\+R\+AM.

\mbox{\Hypertarget{class_ogre_1_1_pass_a1789ae3425e0bc04aeb7a1e14583abf9}\label{class_ogre_1_1_pass_a1789ae3425e0bc04aeb7a1e14583abf9}} 
\index{Ogre::Pass@{Ogre::Pass}!getVertexProgramName@{getVertexProgramName}}
\index{getVertexProgramName@{getVertexProgramName}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getVertexProgramName()}{getVertexProgramName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Pass\+::get\+Vertex\+Program\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 



References Ogre\+::\+G\+P\+T\+\_\+\+V\+E\+R\+T\+E\+X\+\_\+\+P\+R\+O\+G\+R\+AM.

\mbox{\Hypertarget{class_ogre_1_1_pass_ab06bed97a00cdda2522fff1faadcae27}\label{class_ogre_1_1_pass_ab06bed97a00cdda2522fff1faadcae27}} 
\index{Ogre::Pass@{Ogre::Pass}!getComputeProgramName@{getComputeProgramName}}
\index{getComputeProgramName@{getComputeProgramName}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getComputeProgramName()}{getComputeProgramName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Pass\+::get\+Compute\+Program\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 



References Ogre\+::\+G\+P\+T\+\_\+\+C\+O\+M\+P\+U\+T\+E\+\_\+\+P\+R\+O\+G\+R\+AM.

\mbox{\Hypertarget{class_ogre_1_1_pass_a5e78606a7cd3ea84536ab9f3198fa79f}\label{class_ogre_1_1_pass_a5e78606a7cd3ea84536ab9f3198fa79f}} 
\index{Ogre::Pass@{Ogre::Pass}!setGpuProgramParameters@{setGpuProgramParameters}}
\index{setGpuProgramParameters@{setGpuProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setGpuProgramParameters()}{setGpuProgramParameters()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Gpu\+Program\+Parameters (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}}}]{type,  }\item[{const \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} \&}]{params }\end{DoxyParamCaption})}



Sets the Gpu program parameters. 

\begin{DoxyRemark}{Remarks}
Only applicable to programmable passes, and this particular call is designed for low-\/level programs; use the named parameter methods for setting high-\/level program parameters. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_afc41cb1fe9251448002a2405405b8bd9}\label{class_ogre_1_1_pass_afc41cb1fe9251448002a2405405b8bd9}} 
\index{Ogre::Pass@{Ogre::Pass}!setVertexProgramParameters@{setVertexProgramParameters}}
\index{setVertexProgramParameters@{setVertexProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setVertexProgramParameters()}{setVertexProgramParameters()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Vertex\+Program\+Parameters (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}}}]{params }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ae8c6cd9d16220e8ef358f8b3e072d261}\label{class_ogre_1_1_pass_ae8c6cd9d16220e8ef358f8b3e072d261}} 
\index{Ogre::Pass@{Ogre::Pass}!setFragmentProgramParameters@{setFragmentProgramParameters}}
\index{setFragmentProgramParameters@{setFragmentProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setFragmentProgramParameters()}{setFragmentProgramParameters()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Fragment\+Program\+Parameters (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}}}]{params }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_afd45b897ebc29d3ee40a2ee307682f35}\label{class_ogre_1_1_pass_afd45b897ebc29d3ee40a2ee307682f35}} 
\index{Ogre::Pass@{Ogre::Pass}!setGeometryProgramParameters@{setGeometryProgramParameters}}
\index{setGeometryProgramParameters@{setGeometryProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setGeometryProgramParameters()}{setGeometryProgramParameters()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Geometry\+Program\+Parameters (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}}}]{params }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a11e6148122bd80d646f75364bbc3cbe0}\label{class_ogre_1_1_pass_a11e6148122bd80d646f75364bbc3cbe0}} 
\index{Ogre::Pass@{Ogre::Pass}!setTessellationHullProgramParameters@{setTessellationHullProgramParameters}}
\index{setTessellationHullProgramParameters@{setTessellationHullProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setTessellationHullProgramParameters()}{setTessellationHullProgramParameters()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Tessellation\+Hull\+Program\+Parameters (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}}}]{params }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ae4f6e70258ca9a870e3b0867792000e6}\label{class_ogre_1_1_pass_ae4f6e70258ca9a870e3b0867792000e6}} 
\index{Ogre::Pass@{Ogre::Pass}!setTessellationDomainProgramParameters@{setTessellationDomainProgramParameters}}
\index{setTessellationDomainProgramParameters@{setTessellationDomainProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setTessellationDomainProgramParameters()}{setTessellationDomainProgramParameters()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Tessellation\+Domain\+Program\+Parameters (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}}}]{params }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ad58bed2ac47d40e65750c61c0ca36af3}\label{class_ogre_1_1_pass_ad58bed2ac47d40e65750c61c0ca36af3}} 
\index{Ogre::Pass@{Ogre::Pass}!setComputeProgramParameters@{setComputeProgramParameters}}
\index{setComputeProgramParameters@{setComputeProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setComputeProgramParameters()}{setComputeProgramParameters()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Compute\+Program\+Parameters (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}}}]{params }\end{DoxyParamCaption})}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a2efc56272065eb16dc629380772d7d7f}\label{class_ogre_1_1_pass_a2efc56272065eb16dc629380772d7d7f}} 
\index{Ogre::Pass@{Ogre::Pass}!getGpuProgramParameters@{getGpuProgramParameters}}
\index{getGpuProgramParameters@{getGpuProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getGpuProgramParameters()}{getGpuProgramParameters()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}}\& Ogre\+::\+Pass\+::get\+Gpu\+Program\+Parameters (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}}}]{type }\end{DoxyParamCaption}) const}



Gets the Gpu program parameters used by this pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ac0d16617c07bcfdc4f17e9ffed2f8591}\label{class_ogre_1_1_pass_ac0d16617c07bcfdc4f17e9ffed2f8591}} 
\index{Ogre::Pass@{Ogre::Pass}!getVertexProgramParameters@{getVertexProgramParameters}}
\index{getVertexProgramParameters@{getVertexProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getVertexProgramParameters()}{getVertexProgramParameters()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} Ogre\+::\+Pass\+::get\+Vertex\+Program\+Parameters (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a889ed9697e2a990143cb41f953878dd3}\label{class_ogre_1_1_pass_a889ed9697e2a990143cb41f953878dd3}} 
\index{Ogre::Pass@{Ogre::Pass}!getFragmentProgramParameters@{getFragmentProgramParameters}}
\index{getFragmentProgramParameters@{getFragmentProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getFragmentProgramParameters()}{getFragmentProgramParameters()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} Ogre\+::\+Pass\+::get\+Fragment\+Program\+Parameters (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a48643d1a8dc67e86a712ff32f8371c5e}\label{class_ogre_1_1_pass_a48643d1a8dc67e86a712ff32f8371c5e}} 
\index{Ogre::Pass@{Ogre::Pass}!getGeometryProgramParameters@{getGeometryProgramParameters}}
\index{getGeometryProgramParameters@{getGeometryProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getGeometryProgramParameters()}{getGeometryProgramParameters()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} Ogre\+::\+Pass\+::get\+Geometry\+Program\+Parameters (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_abe6e32bc6812ed954daaa2c5518a2ac3}\label{class_ogre_1_1_pass_abe6e32bc6812ed954daaa2c5518a2ac3}} 
\index{Ogre::Pass@{Ogre::Pass}!getTessellationHullProgramParameters@{getTessellationHullProgramParameters}}
\index{getTessellationHullProgramParameters@{getTessellationHullProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getTessellationHullProgramParameters()}{getTessellationHullProgramParameters()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} Ogre\+::\+Pass\+::get\+Tessellation\+Hull\+Program\+Parameters (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a22415cb613dea6b39a7940ceebaca32f}\label{class_ogre_1_1_pass_a22415cb613dea6b39a7940ceebaca32f}} 
\index{Ogre::Pass@{Ogre::Pass}!getTessellationDomainProgramParameters@{getTessellationDomainProgramParameters}}
\index{getTessellationDomainProgramParameters@{getTessellationDomainProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getTessellationDomainProgramParameters()}{getTessellationDomainProgramParameters()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} Ogre\+::\+Pass\+::get\+Tessellation\+Domain\+Program\+Parameters (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a879780ade78dc1dce173c51ed5c6b3f2}\label{class_ogre_1_1_pass_a879780ade78dc1dce173c51ed5c6b3f2}} 
\index{Ogre::Pass@{Ogre::Pass}!getComputeProgramParameters@{getComputeProgramParameters}}
\index{getComputeProgramParameters@{getComputeProgramParameters}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getComputeProgramParameters()}{getComputeProgramParameters()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} Ogre\+::\+Pass\+::get\+Compute\+Program\+Parameters (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a4934405e476e98dd05912a1ff42b7b2c}\label{class_ogre_1_1_pass_a4934405e476e98dd05912a1ff42b7b2c}} 
\index{Ogre::Pass@{Ogre::Pass}!\_split@{\_split}}
\index{\_split@{\_split}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{\_split()}{\_split()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}$\ast$ Ogre\+::\+Pass\+::\+\_\+split (\begin{DoxyParamCaption}\item[{unsigned short}]{num\+Units }\end{DoxyParamCaption})}



Splits this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} to one which can be handled in the number of texture units specified. 

\begin{DoxyRemark}{Remarks}
Only works on non-\/programmable passes, programmable passes cannot be split, it\textquotesingle{}s up to the author to ensure that there is a fallback \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} for less capable cards. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em num\+Units} & The target number of texture units \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} which contains the remaining units, and a scene\+\_\+blend setting appropriate to approximate the multitexture. This \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} will be attached to the parent \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} of this \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_pass_afaa52a3826a08569b8263834f043a83f}\label{class_ogre_1_1_pass_afaa52a3826a08569b8263834f043a83f}} 
\index{Ogre::Pass@{Ogre::Pass}!\_notifyIndex@{\_notifyIndex}}
\index{\_notifyIndex@{\_notifyIndex}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{\_notifyIndex()}{\_notifyIndex()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::\+\_\+notify\+Index (\begin{DoxyParamCaption}\item[{unsigned short}]{index }\end{DoxyParamCaption})}



Internal method to adjust pass index. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ab85cf60f49c52c53671d5bb5105231e8}\label{class_ogre_1_1_pass_ab85cf60f49c52c53671d5bb5105231e8}} 
\index{Ogre::Pass@{Ogre::Pass}!\_prepare@{\_prepare}}
\index{\_prepare@{\_prepare}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{\_prepare()}{\_prepare()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::\+\_\+prepare (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Internal method for preparing to load this pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a928061c8f56d923808add7e8ba9cdee8}\label{class_ogre_1_1_pass_a928061c8f56d923808add7e8ba9cdee8}} 
\index{Ogre::Pass@{Ogre::Pass}!\_unprepare@{\_unprepare}}
\index{\_unprepare@{\_unprepare}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{\_unprepare()}{\_unprepare()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::\+\_\+unprepare (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Internal method for undoing the load preparartion for this pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ac1e07d3bccdb7f6c437c107c92e4ae46}\label{class_ogre_1_1_pass_ac1e07d3bccdb7f6c437c107c92e4ae46}} 
\index{Ogre::Pass@{Ogre::Pass}!\_load@{\_load}}
\index{\_load@{\_load}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{\_load()}{\_load()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::\+\_\+load (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Internal method for loading this pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a5766787845b1be6dfbf45cac068fc825}\label{class_ogre_1_1_pass_a5766787845b1be6dfbf45cac068fc825}} 
\index{Ogre::Pass@{Ogre::Pass}!\_unload@{\_unload}}
\index{\_unload@{\_unload}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{\_unload()}{\_unload()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::\+\_\+unload (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Internal method for unloading this pass. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a36390b119257048ddb35ab0439eed63d}\label{class_ogre_1_1_pass_a36390b119257048ddb35ab0439eed63d}} 
\index{Ogre::Pass@{Ogre::Pass}!isLoaded@{isLoaded}}
\index{isLoaded@{isLoaded}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{isLoaded()}{isLoaded()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::is\+Loaded (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Is this loaded? 

\mbox{\Hypertarget{class_ogre_1_1_pass_a6096fdb876d7929f8d78d4fabae44a25}\label{class_ogre_1_1_pass_a6096fdb876d7929f8d78d4fabae44a25}} 
\index{Ogre::Pass@{Ogre::Pass}!getHash@{getHash}}
\index{getHash@{getHash}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getHash()}{getHash()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} Ogre\+::\+Pass\+::get\+Hash (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the \textquotesingle{}hash\textquotesingle{} of this pass, ie a precomputed number to use for sorting. 

\begin{DoxyRemark}{Remarks}
This hash is used to sort passes, and for this reason the pass is hashed using firstly its index (so that all passes are rendered in order), then by the textures which it\textquotesingle{}s \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} instances are using. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_a44c84896039e6a9f3a44da8468591fb3}\label{class_ogre_1_1_pass_a44c84896039e6a9f3a44da8468591fb3}} 
\index{Ogre::Pass@{Ogre::Pass}!\_dirtyHash@{\_dirtyHash}}
\index{\_dirtyHash@{\_dirtyHash}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{\_dirtyHash()}{\_dirtyHash()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::\+\_\+dirty\+Hash (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Mark the hash as dirty. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a367a1affcb2e26d61a5b5e3594b0ce6a}\label{class_ogre_1_1_pass_a367a1affcb2e26d61a5b5e3594b0ce6a}} 
\index{Ogre::Pass@{Ogre::Pass}!\_recalculateHash@{\_recalculateHash}}
\index{\_recalculateHash@{\_recalculateHash}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{\_recalculateHash()}{\_recalculateHash()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::\+\_\+recalculate\+Hash (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Internal method for recalculating the hash. 

\begin{DoxyRemark}{Remarks}
Do not call this unless you are sure the old hash is not still being used by anything. If in doubt, call \+\_\+dirty\+Hash if you want to force recalculation of the has next time. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_a6d9af04b4a643df1d81cc0443ca34ab2}\label{class_ogre_1_1_pass_a6d9af04b4a643df1d81cc0443ca34ab2}} 
\index{Ogre::Pass@{Ogre::Pass}!\_notifyNeedsRecompile@{\_notifyNeedsRecompile}}
\index{\_notifyNeedsRecompile@{\_notifyNeedsRecompile}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{\_notifyNeedsRecompile()}{\_notifyNeedsRecompile()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::\+\_\+notify\+Needs\+Recompile (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Tells the pass that it needs recompilation. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ad17196c5383815e1af157fc9617c474b}\label{class_ogre_1_1_pass_ad17196c5383815e1af157fc9617c474b}} 
\index{Ogre::Pass@{Ogre::Pass}!\_updateAutoParams@{\_updateAutoParams}}
\index{\_updateAutoParams@{\_updateAutoParams}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{\_updateAutoParams()}{\_updateAutoParams()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::\+\_\+update\+Auto\+Params (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_auto_param_data_source}{Auto\+Param\+Data\+Source}} $\ast$}]{source,  }\item[{\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}}}]{variability\+Mask }\end{DoxyParamCaption}) const}



Update automatic parameters. 


\begin{DoxyParams}{Parameters}
{\em source} & The source of the parameters \\
\hline
{\em variability\+Mask} & A mask of Gpu\+Param\+Variability which identifies which autos will need updating \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_a8f69f7e13e3665ba295ce9b4671fdc4c}\label{class_ogre_1_1_pass_a8f69f7e13e3665ba295ce9b4671fdc4c}} 
\index{Ogre::Pass@{Ogre::Pass}!\_getTextureUnitWithContentTypeIndex@{\_getTextureUnitWithContentTypeIndex}}
\index{\_getTextureUnitWithContentTypeIndex@{\_getTextureUnitWithContentTypeIndex}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{\_getTextureUnitWithContentTypeIndex()}{\_getTextureUnitWithContentTypeIndex()}}
{\footnotesize\ttfamily unsigned short Ogre\+::\+Pass\+::\+\_\+get\+Texture\+Unit\+With\+Content\+Type\+Index (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}{Texture\+Unit\+State\+::\+Content\+Type}}}]{content\+Type,  }\item[{unsigned short}]{index }\end{DoxyParamCaption}) const}



Gets the \textquotesingle{}nth\textquotesingle{} texture which references the given content type. 

\begin{DoxyRemark}{Remarks}
If the \textquotesingle{}nth\textquotesingle{} texture unit which references the content type doesn\textquotesingle{}t exist, then this method returns an arbitrary high-\/value outside the valid range to index texture units. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_a5abbb49b669a575991c17bb67bcae975}\label{class_ogre_1_1_pass_a5abbb49b669a575991c17bb67bcae975}} 
\index{Ogre::Pass@{Ogre::Pass}!setTextureFiltering@{setTextureFiltering}}
\index{setTextureFiltering@{setTextureFiltering}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setTextureFiltering()}{setTextureFiltering()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Texture\+Filtering (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga21a0186392e9c9ce16d29c5568a773c5}{Texture\+Filter\+Options}}}]{filter\+Type }\end{DoxyParamCaption})}



Set texture filtering for every texture unit. 

\begin{DoxyNote}{Note}
This property actually exists on the \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} class For simplicity, this method allows you to set these properties for every current Teexture\+Unit\+State, If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} instance and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a30757c168b734902d03720e3f36c27d4}{Texture\+Unit\+State\+::set\+Texture\+Filtering}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_pass_a388afa054c642dd6b0585fd168cd7b1a}\label{class_ogre_1_1_pass_a388afa054c642dd6b0585fd168cd7b1a}} 
\index{Ogre::Pass@{Ogre::Pass}!setTextureAnisotropy@{setTextureAnisotropy}}
\index{setTextureAnisotropy@{setTextureAnisotropy}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setTextureAnisotropy()}{setTextureAnisotropy()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Texture\+Anisotropy (\begin{DoxyParamCaption}\item[{unsigned int}]{max\+Aniso }\end{DoxyParamCaption})}



Sets the anisotropy level to be used for all textures. 

\begin{DoxyNote}{Note}
This property has been moved to the \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} class, which is accessible via the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} and \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}}. For simplicity, this method allows you to set these properties for every current Teexture\+Unit\+State, If you need more precision, retrieve the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} and \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} instances and set the property there. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_abb2bc03bc72f2098e37c4240f637c5e5}{Texture\+Unit\+State\+::set\+Texture\+Anisotropy}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_pass_ad00b9d37cf0d5d7af26d23a2a48f5541}\label{class_ogre_1_1_pass_ad00b9d37cf0d5d7af26d23a2a48f5541}} 
\index{Ogre::Pass@{Ogre::Pass}!setNormaliseNormals@{setNormaliseNormals}}
\index{setNormaliseNormals@{setNormaliseNormals}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setNormaliseNormals()}{setNormaliseNormals()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Normalise\+Normals (\begin{DoxyParamCaption}\item[{bool}]{normalise }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



If set to true, this forces normals to be normalised dynamically by the hardware for this pass. 

This option can be used to prevent lighting variations when scaling an object -\/ normally because this scaling is hardware based, the normals get scaled too which causes lighting to become inconsistent. By default the \mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}} detects scaled objects and does this for you, but this has an overhead so you might want to turn that off through Ogre\+::\+Scene\+Manager\+::set\+Normalise\+Normals\+On\+Scale(false) and only do it per-\/\+Pass when you need to. \mbox{\Hypertarget{class_ogre_1_1_pass_a858b9c564570fd84e19c77a9b84da557}\label{class_ogre_1_1_pass_a858b9c564570fd84e19c77a9b84da557}} 
\index{Ogre::Pass@{Ogre::Pass}!getNormaliseNormals@{getNormaliseNormals}}
\index{getNormaliseNormals@{getNormaliseNormals}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getNormaliseNormals()}{getNormaliseNormals()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::get\+Normalise\+Normals (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if this pass has auto-\/normalisation of normals set. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a5e656ed906b7378c5c74d338575c3f58}\label{class_ogre_1_1_pass_a5e656ed906b7378c5c74d338575c3f58}} 
\index{Ogre::Pass@{Ogre::Pass}!getDirtyHashList@{getDirtyHashList}}
\index{getDirtyHashList@{getDirtyHashList}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getDirtyHashList()}{getDirtyHashList()}}
{\footnotesize\ttfamily static const \mbox{\hyperlink{class_ogre_1_1_pass_aaedba8526ffd478f5d731507c4779caf}{Pass\+Set}}\& Ogre\+::\+Pass\+::get\+Dirty\+Hash\+List (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Static method to retrieve all the Passes which need their hash values recalculated. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a8ae403e739ce7fe033bc88ae943135e4}\label{class_ogre_1_1_pass_a8ae403e739ce7fe033bc88ae943135e4}} 
\index{Ogre::Pass@{Ogre::Pass}!getPassGraveyard@{getPassGraveyard}}
\index{getPassGraveyard@{getPassGraveyard}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getPassGraveyard()}{getPassGraveyard()}}
{\footnotesize\ttfamily static const \mbox{\hyperlink{class_ogre_1_1_pass_aaedba8526ffd478f5d731507c4779caf}{Pass\+Set}}\& Ogre\+::\+Pass\+::get\+Pass\+Graveyard (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Static method to retrieve all the Passes which are pending deletion. 

\mbox{\Hypertarget{class_ogre_1_1_pass_af1992ef39ef97e0b48e878c9aaa2badd}\label{class_ogre_1_1_pass_af1992ef39ef97e0b48e878c9aaa2badd}} 
\index{Ogre::Pass@{Ogre::Pass}!clearDirtyHashList@{clearDirtyHashList}}
\index{clearDirtyHashList@{clearDirtyHashList}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{clearDirtyHashList()}{clearDirtyHashList()}}
{\footnotesize\ttfamily static void Ogre\+::\+Pass\+::clear\+Dirty\+Hash\+List (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Static method to reset the list of passes which need their hash values recalculated. 

\begin{DoxyRemark}{Remarks}
For performance, the dirty list is not updated progressively as the hashes are recalculated, instead we expect the processor of the dirty hash list to clear the list when they are done. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_pass_a989043a45609fd8f82235c3d1c402a23}\label{class_ogre_1_1_pass_a989043a45609fd8f82235c3d1c402a23}} 
\index{Ogre::Pass@{Ogre::Pass}!processPendingPassUpdates@{processPendingPassUpdates}}
\index{processPendingPassUpdates@{processPendingPassUpdates}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{processPendingPassUpdates()}{processPendingPassUpdates()}}
{\footnotesize\ttfamily static void Ogre\+::\+Pass\+::process\+Pending\+Pass\+Updates (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Process all dirty and pending deletion passes. 

\mbox{\Hypertarget{class_ogre_1_1_pass_aeb16b94de537bda3140df7095090cc10}\label{class_ogre_1_1_pass_aeb16b94de537bda3140df7095090cc10}} 
\index{Ogre::Pass@{Ogre::Pass}!queueForDeletion@{queueForDeletion}}
\index{queueForDeletion@{queueForDeletion}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{queueForDeletion()}{queueForDeletion()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::queue\+For\+Deletion (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Queue this pass for deletion when appropriate. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a8ff736f5d1d0eb3e3caa23b1d7c79997}\label{class_ogre_1_1_pass_a8ff736f5d1d0eb3e3caa23b1d7c79997}} 
\index{Ogre::Pass@{Ogre::Pass}!isAmbientOnly@{isAmbientOnly}}
\index{isAmbientOnly@{isAmbientOnly}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{isAmbientOnly()}{isAmbientOnly()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::is\+Ambient\+Only (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns whether this pass is ambient only. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a28ff8c16ee57201651da61e649ea216b}\label{class_ogre_1_1_pass_a28ff8c16ee57201651da61e649ea216b}} 
\index{Ogre::Pass@{Ogre::Pass}!setPassIterationCount@{setPassIterationCount}}
\index{setPassIterationCount@{setPassIterationCount}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setPassIterationCount()}{setPassIterationCount()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Pass\+Iteration\+Count (\begin{DoxyParamCaption}\item[{const size\+\_\+t}]{count }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



set the number of iterations that this pass should perform when doing fast multi pass operation. 

\begin{DoxyRemark}{Remarks}
Only applicable for programmable passes. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em count} & number of iterations to perform fast multi pass operations. A value greater than 1 will cause the pass to be executed count number of times without changing the render state. This is very useful for passes that use programmable shaders that have to iterate more than once but don\textquotesingle{}t need a render state change. Using multi pass can dramatically speed up rendering for materials that do things like fur, blur. A value of 1 turns off multi pass operation and the pass does the normal pass operation. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_pass_ad51f3602ae69b8d0f219582aa6b16d48}\label{class_ogre_1_1_pass_ad51f3602ae69b8d0f219582aa6b16d48}} 
\index{Ogre::Pass@{Ogre::Pass}!getPassIterationCount@{getPassIterationCount}}
\index{getPassIterationCount@{getPassIterationCount}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getPassIterationCount()}{getPassIterationCount()}}
{\footnotesize\ttfamily size\+\_\+t Ogre\+::\+Pass\+::get\+Pass\+Iteration\+Count (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the pass iteration count value. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a264240f8ac08cef3f6cb6e374a03e059}\label{class_ogre_1_1_pass_a264240f8ac08cef3f6cb6e374a03e059}} 
\index{Ogre::Pass@{Ogre::Pass}!applyTextureAliases@{applyTextureAliases}}
\index{applyTextureAliases@{applyTextureAliases}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{applyTextureAliases()}{applyTextureAliases()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::apply\+Texture\+Aliases (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group___general_ga5dafc9e68bde8099ec5ad6c94e4cf19b}{Alias\+Texture\+Name\+Pair\+List}} \&}]{alias\+List,  }\item[{const bool}]{apply = {\ttfamily true} }\end{DoxyParamCaption}) const}



Applies texture names to \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State with matching texture name aliases. 

All \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit States within the pass are checked. If matching texture aliases are found then true is returned.


\begin{DoxyParams}{Parameters}
{\em alias\+List} & is a map container of texture alias, texture name pairs \\
\hline
{\em apply} & set true to apply the texture aliases else just test to see if texture alias matches are found. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
True if matching texture aliases were found in the pass. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_pass_a26fe99447102afb8e2002f7f1339dd8c}\label{class_ogre_1_1_pass_a26fe99447102afb8e2002f7f1339dd8c}} 
\index{Ogre::Pass@{Ogre::Pass}!setLightScissoringEnabled@{setLightScissoringEnabled}}
\index{setLightScissoringEnabled@{setLightScissoringEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setLightScissoringEnabled()}{setLightScissoringEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Light\+Scissoring\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets whether or not this pass will be clipped by a scissor rectangle encompassing the lights that are being used in it. 

In order to cut down on fillrate when you have a number of fixed-\/range lights in the scene, you can enable this option to request that during rendering, only the region of the screen which is covered by the lights is rendered. This region is the screen-\/space rectangle covering the union of the spheres making up the light ranges. Directional lights are ignored for this.

This is only likely to be useful for multipass additive lighting algorithms, where the scene has already been \textquotesingle{}seeded\textquotesingle{} with an ambient pass and this pass is just adding light in affected areas.

When using \mbox{\hyperlink{group___general_gga79dcd426d291c31072c1ad6f183715d6af6e22c7a699e9d05015cecff7b68c52a}{Ogre\+::\+S\+H\+A\+D\+O\+W\+T\+Y\+P\+E\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+\+A\+D\+D\+I\+T\+I\+VE}} or \mbox{\hyperlink{group___general_gga79dcd426d291c31072c1ad6f183715d6a8a2b43e30e6d8d590e6853e4f46b8103}{Ogre\+::\+S\+H\+A\+D\+O\+W\+T\+Y\+P\+E\+\_\+\+T\+E\+X\+T\+U\+R\+E\+\_\+\+A\+D\+D\+I\+T\+I\+VE}}, this option is implicitly used for all per-\/light passes and does not need to be specified. If you are not using shadows or are using a modulative or \mbox{\hyperlink{_shadows_Integrated-Texture-Shadows}{Integrated Texture Shadows}} then this could be useful. \mbox{\Hypertarget{class_ogre_1_1_pass_a27766dcc987d75b836519d8be88fc6f6}\label{class_ogre_1_1_pass_a27766dcc987d75b836519d8be88fc6f6}} 
\index{Ogre::Pass@{Ogre::Pass}!getLightScissoringEnabled@{getLightScissoringEnabled}}
\index{getLightScissoringEnabled@{getLightScissoringEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getLightScissoringEnabled()}{getLightScissoringEnabled()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::get\+Light\+Scissoring\+Enabled (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets whether or not this pass will be clipped by a scissor rectangle encompassing the lights that are being used in it. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a20d94474787abfd9eb9b07d5185ded0c}\label{class_ogre_1_1_pass_a20d94474787abfd9eb9b07d5185ded0c}} 
\index{Ogre::Pass@{Ogre::Pass}!setLightClipPlanesEnabled@{setLightClipPlanesEnabled}}
\index{setLightClipPlanesEnabled@{setLightClipPlanesEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setLightClipPlanesEnabled()}{setLightClipPlanesEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Light\+Clip\+Planes\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets whether or not this pass will be clipped by user clips planes bounding the area covered by the light. 

This option will only function if there is a single non-\/directional light being used in this pass. If there is more than one light, or only directional lights, then no clipping will occur. If there are no lights at all then the objects won’t be rendered at all.

In order to cut down on the geometry set up to render this pass when you have a single fixed-\/range light being rendered through it, you can enable this option to request that during triangle setup, clip planes are defined to bound the range of the light. In the case of a point light these planes form a cube, and in the case of a spotlight they form a pyramid. Directional lights are never clipped.

This option is only likely to be useful for multipass additive lighting algorithms, where the scene has already been \textquotesingle{}seeded\textquotesingle{} with an ambient pass and this pass is just adding light in affected areas. In addition, it will only be honoured if there is exactly one non-\/directional light being used in this pass. Also, these clip planes override any user clip planes set on \mbox{\hyperlink{class_ogre_1_1_camera}{Camera}}.

When using \mbox{\hyperlink{group___general_gga79dcd426d291c31072c1ad6f183715d6af6e22c7a699e9d05015cecff7b68c52a}{Ogre\+::\+S\+H\+A\+D\+O\+W\+T\+Y\+P\+E\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+\+A\+D\+D\+I\+T\+I\+VE}} or \mbox{\hyperlink{group___general_gga79dcd426d291c31072c1ad6f183715d6a8a2b43e30e6d8d590e6853e4f46b8103}{Ogre\+::\+S\+H\+A\+D\+O\+W\+T\+Y\+P\+E\+\_\+\+T\+E\+X\+T\+U\+R\+E\+\_\+\+A\+D\+D\+I\+T\+I\+VE}}, this option is automatically used for all per-\/light passes if you enable \mbox{\hyperlink{class_ogre_1_1_scene_manager_a40f296de8599657b70b7072921cbaa16}{Ogre\+::\+Scene\+Manager\+::set\+Shadow\+Use\+Light\+Clip\+Planes}} and does not need to be specified. It is disabled by default since clip planes have a cost of their own which may not always exceed the benefits they give you. Generally the smaller your lights are the more chance you’ll see a benefit rather than a penalty from clipping.

\begin{DoxyNote}{Note}
A specific note about Open\+GL\+: user clip planes are completely ignored when you use an A\+RB vertex program. This means light clip planes won’t help much if you use A\+RB vertex programs on GL, although O\+G\+RE will perform some optimisation of its own, in that if it sees that the clip volume is completely off-\/screen, it won’t perform a render at all. When using \mbox{\hyperlink{namespace_ogre_1_1_g_l_s_l}{G\+L\+SL}}, user clipping can be used but you have to use gl\+\_\+\+Clip\+Vertex in your shader, see the \mbox{\hyperlink{namespace_ogre_1_1_g_l_s_l}{G\+L\+SL}} documentation for more information. In Direct3D user clip planes are always respected. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_pass_a0c32f4167d3ac2bfedb5ff536ab87594}\label{class_ogre_1_1_pass_a0c32f4167d3ac2bfedb5ff536ab87594}} 
\index{Ogre::Pass@{Ogre::Pass}!getLightClipPlanesEnabled@{getLightClipPlanesEnabled}}
\index{getLightClipPlanesEnabled@{getLightClipPlanesEnabled}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getLightClipPlanesEnabled()}{getLightClipPlanesEnabled()}}
{\footnotesize\ttfamily bool Ogre\+::\+Pass\+::get\+Light\+Clip\+Planes\+Enabled (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets whether or not this pass will be clipped by user clips planes bounding the area covered by the light. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a30d680bb28cd69415883313d9f03dc6a}\label{class_ogre_1_1_pass_a30d680bb28cd69415883313d9f03dc6a}} 
\index{Ogre::Pass@{Ogre::Pass}!setIlluminationStage@{setIlluminationStage}}
\index{setIlluminationStage@{setIlluminationStage}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setIlluminationStage()}{setIlluminationStage()}}
{\footnotesize\ttfamily void Ogre\+::\+Pass\+::set\+Illumination\+Stage (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___materials_ga12a2bc4c75c439630241aa279089acb4}{Illumination\+Stage}}}]{is }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Manually set which illumination stage this pass is a member of. 

When using an additive lighting mode (\mbox{\hyperlink{group___general_gga79dcd426d291c31072c1ad6f183715d6af6e22c7a699e9d05015cecff7b68c52a}{Ogre\+::\+S\+H\+A\+D\+O\+W\+T\+Y\+P\+E\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+\+A\+D\+D\+I\+T\+I\+VE}} or \mbox{\hyperlink{group___general_gga79dcd426d291c31072c1ad6f183715d6a8a2b43e30e6d8d590e6853e4f46b8103}{Ogre\+::\+S\+H\+A\+D\+O\+W\+T\+Y\+P\+E\+\_\+\+T\+E\+X\+T\+U\+R\+E\+\_\+\+A\+D\+D\+I\+T\+I\+VE}}), the scene is rendered in 3 discrete stages, ambient (or pre-\/lighting), per-\/light (once per light, with shadowing) and decal (or post-\/lighting). Usually O\+G\+RE figures out how to categorise your passes automatically, but there are some effects you cannot achieve without manually controlling the illumination. For example specular effects are muted by the typical sequence because all textures are saved until the \mbox{\hyperlink{group___materials_gga12a2bc4c75c439630241aa279089acb4a55b9a19dea33fdf42c614c99c136a52e}{Ogre\+::\+I\+S\+\_\+\+D\+E\+C\+AL}} stage which mutes the specular effect. Instead, you could do texturing within the per-\/light stage if it\textquotesingle{}s possible for your material and thus add the specular on after the decal texturing, and have no post-\/light rendering.

If you assign an illumination stage to a pass you have to assign it to all passes in the technique otherwise it will be ignored. Also note that whilst you can have more than one pass in each group, they cannot alternate, ie all ambient passes will be before all per-\/light passes, which will also be before all decal passes. Within their categories the passes will retain their ordering though. \mbox{\Hypertarget{class_ogre_1_1_pass_a77551778f0d1989cdf7541cd0a71faf8}\label{class_ogre_1_1_pass_a77551778f0d1989cdf7541cd0a71faf8}} 
\index{Ogre::Pass@{Ogre::Pass}!getIlluminationStage@{getIlluminationStage}}
\index{getIlluminationStage@{getIlluminationStage}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getIlluminationStage()}{getIlluminationStage()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_ga12a2bc4c75c439630241aa279089acb4}{Illumination\+Stage}} Ogre\+::\+Pass\+::get\+Illumination\+Stage (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the manually assigned illumination stage, if any. 

\mbox{\Hypertarget{class_ogre_1_1_pass_a686d4ade1581fba7b32609bc535ad9fc}\label{class_ogre_1_1_pass_a686d4ade1581fba7b32609bc535ad9fc}} 
\index{Ogre::Pass@{Ogre::Pass}!setHashFunction@{setHashFunction}}
\index{setHashFunction@{setHashFunction}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setHashFunction()}{setHashFunction()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily static void Ogre\+::\+Pass\+::set\+Hash\+Function (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_pass_a1d30a3c04994e1bd0e1de8cb343341a4}{Builtin\+Hash\+Function}}}]{builtin }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Sets one of the default hash functions to be used. 

\begin{DoxyRemark}{Remarks}
You absolutely must not change the hash function whilst any \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances exist in the render queue. The only time you can do this is either before you render anything, or directly after you manuall call Render\+Queue\+::clear(true) to completely destroy the queue structures. The default is M\+I\+N\+\_\+\+G\+P\+U\+\_\+\+P\+R\+O\+G\+R\+A\+M\+\_\+\+C\+H\+A\+N\+GE. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
You can also implement your own hash function, see the alternate version of this method. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{struct_ogre_1_1_pass_1_1_hash_func}{Hash\+Func}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_pass_aff774d55b700af010f57e2330101a610}\label{class_ogre_1_1_pass_aff774d55b700af010f57e2330101a610}} 
\index{Ogre::Pass@{Ogre::Pass}!setHashFunction@{setHashFunction}}
\index{setHashFunction@{setHashFunction}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{setHashFunction()}{setHashFunction()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily static void Ogre\+::\+Pass\+::set\+Hash\+Function (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_ogre_1_1_pass_1_1_hash_func}{Hash\+Func}} $\ast$}]{hash\+Func }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Set the hash function used for all passes. 

\begin{DoxyRemark}{Remarks}
You absolutely must not change the hash function whilst any \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} instances exist in the render queue. The only time you can do this is either before you render anything, or directly after you manuall call Render\+Queue\+::clear(true) to completely destroy the queue structures. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
You can also use one of the built-\/in hash functions, see the alternate version of this method. The default is M\+I\+N\+\_\+\+G\+P\+U\+\_\+\+P\+R\+O\+G\+R\+A\+M\+\_\+\+C\+H\+A\+N\+GE. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{struct_ogre_1_1_pass_1_1_hash_func}{Hash\+Func}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_pass_aedf90d0436441d359280b3c939ee1e3c}\label{class_ogre_1_1_pass_aedf90d0436441d359280b3c939ee1e3c}} 
\index{Ogre::Pass@{Ogre::Pass}!getHashFunction@{getHashFunction}}
\index{getHashFunction@{getHashFunction}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getHashFunction()}{getHashFunction()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{struct_ogre_1_1_pass_1_1_hash_func}{Hash\+Func}}$\ast$ Ogre\+::\+Pass\+::get\+Hash\+Function (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Get the hash function used for all passes. 

\mbox{\Hypertarget{class_ogre_1_1_pass_ac2e11c662982c9ce7f2e08a71bc20167}\label{class_ogre_1_1_pass_ac2e11c662982c9ce7f2e08a71bc20167}} 
\index{Ogre::Pass@{Ogre::Pass}!getBuiltinHashFunction@{getBuiltinHashFunction}}
\index{getBuiltinHashFunction@{getBuiltinHashFunction}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getBuiltinHashFunction()}{getBuiltinHashFunction()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{struct_ogre_1_1_pass_1_1_hash_func}{Hash\+Func}}$\ast$ Ogre\+::\+Pass\+::get\+Builtin\+Hash\+Function (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_pass_a1d30a3c04994e1bd0e1de8cb343341a4}{Builtin\+Hash\+Function}}}]{builtin }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the builtin hash function. 

\mbox{\Hypertarget{class_ogre_1_1_pass_adc70de42e8b22b4d8ccedf6868bbbfc0}\label{class_ogre_1_1_pass_adc70de42e8b22b4d8ccedf6868bbbfc0}} 
\index{Ogre::Pass@{Ogre::Pass}!getUserObjectBindings@{getUserObjectBindings}}
\index{getUserObjectBindings@{getUserObjectBindings}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getUserObjectBindings()}{getUserObjectBindings()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_user_object_bindings}{User\+Object\+Bindings}}\& Ogre\+::\+Pass\+::get\+User\+Object\+Bindings (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Return an instance of user objects binding associated with this class. 

You can use it to associate one or more custom objects with this class instance. \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_user_object_bindings_ac6d05bbca44c5c3b44860c36205f9a68}{User\+Object\+Bindings\+::set\+User\+Any}}. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_pass_a1a272de4bac1f7ab74ad965217f163ec}\label{class_ogre_1_1_pass_a1a272de4bac1f7ab74ad965217f163ec}} 
\index{Ogre::Pass@{Ogre::Pass}!getUserObjectBindings@{getUserObjectBindings}}
\index{getUserObjectBindings@{getUserObjectBindings}!Ogre::Pass@{Ogre::Pass}}
\doxysubsubsection{\texorpdfstring{getUserObjectBindings()}{getUserObjectBindings()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_user_object_bindings}{User\+Object\+Bindings}}\& Ogre\+::\+Pass\+::get\+User\+Object\+Bindings (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Return an instance of user objects binding associated with this class. 

You can use it to associate one or more custom objects with this class instance. \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_user_object_bindings_ac6d05bbca44c5c3b44860c36205f9a68}{User\+Object\+Bindings\+::set\+User\+Any}}. 
\end{DoxySeeAlso}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_pass_8h}{Ogre\+Pass.\+h}}\end{DoxyCompactItemize}
