\hypertarget{class_ogre_1_1_layer_blend_mode_ex}{}\doxysection{Ogre\+::Layer\+Blend\+Mode\+Ex Class Reference}
\label{class_ogre_1_1_layer_blend_mode_ex}\index{Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}}


Class which manages blending of both colour and alpha components.  




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

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex_a92074f86847e7e5c065bd94498396ade}{operator!=}} (const \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex}{Layer\+Blend\+Mode\+Ex}} \&rhs) const
\item 
bool \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex_a1a5c33d25313f28b75fe67903766b5fe}{operator==}} (const \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex}{Layer\+Blend\+Mode\+Ex}} \&rhs) const
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex_a8af3aad5d2de939d0d9bff3049c82928}{alpha\+Arg1}}
\begin{DoxyCompactList}\small\item\em Manual alpha value for manual source1. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex_a9dde2b63904e61319b175094f8fc67f0}{alpha\+Arg2}}
\begin{DoxyCompactList}\small\item\em Manual alpha value for manual source2. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_ga1ae5925d36df27a6c3590536752264f8}{Layer\+Blend\+Type}} \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex_ac2cb8de7b805400726882f7003a4bcda}{blend\+Type}}
\begin{DoxyCompactList}\small\item\em The type of blending (colour or alpha) \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex_a99adb8004759bf3825d934684ab8f171}{colour\+Arg1}}
\begin{DoxyCompactList}\small\item\em Manual colour value for manual source1. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex_a6bd40927e40bcb2d6c4e077ebd56c24d}{colour\+Arg2}}
\begin{DoxyCompactList}\small\item\em Manual colour value for manual source2. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex_a71cee0ade264a82051913d5eb0fc4c40}{factor}}
\begin{DoxyCompactList}\small\item\em Manual blending factor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_ga264ecab38a04d01e2c3158fa05ec1ee2}{Layer\+Blend\+Operation\+Ex}} \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex_afc151f1c17683cd99df776459df2c778}{operation}}
\begin{DoxyCompactList}\small\item\em The operation to be applied. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}} \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex_a334818129ca44c1fbdba2b3b2813368a}{source1}}
\begin{DoxyCompactList}\small\item\em The first source of colour/alpha. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}} \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex_a94eeae80ba84e9aa5271d317d48f2688}{source2}}
\begin{DoxyCompactList}\small\item\em The second source of colour/alpha. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Class which manages blending of both colour and alpha components. 

\begin{DoxyRemark}{Remarks}
This class is a utility class used by both \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} and \mbox{\hyperlink{class_ogre_1_1_render_system}{Render\+System}} to wrap up the details of a blending operation. This blending operation could be used for blending colour or alpha in a texture layer. This class is really only for use by O\+G\+RE, since apps can deal with blending modes through the \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} class methods set\+Colour\+Operation and set\+Alpha\+Operation. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
It\textquotesingle{}s worth noting that these operations are for blending {\itshape between texture layers} and not between rendered objects and the existing scene. If you wish to make an object blend with others in the scene, e.\+g. to make transparent objects etc, use the \mbox{\hyperlink{class_ogre_1_1_material_a8c9ccac6e60241a1865ac211e3b203c8}{Material\+::set\+Scene\+Blending}} method. 
\end{DoxyParagraph}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_layer_blend_mode_ex_a1a5c33d25313f28b75fe67903766b5fe}\label{class_ogre_1_1_layer_blend_mode_ex_a1a5c33d25313f28b75fe67903766b5fe}} 
\index{Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}!operator==@{operator==}}
\index{operator==@{operator==}!Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}}
\doxysubsubsection{\texorpdfstring{operator==()}{operator==()}}
{\footnotesize\ttfamily bool Ogre\+::\+Layer\+Blend\+Mode\+Ex\+::operator== (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex}{Layer\+Blend\+Mode\+Ex}} \&}]{rhs }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



References alpha\+Arg1, alpha\+Arg2, blend\+Type, colour\+Arg1, colour\+Arg2, factor, Ogre\+::\+L\+B\+T\+\_\+\+C\+O\+L\+O\+UR, operation, source1, and source2.

\mbox{\Hypertarget{class_ogre_1_1_layer_blend_mode_ex_a92074f86847e7e5c065bd94498396ade}\label{class_ogre_1_1_layer_blend_mode_ex_a92074f86847e7e5c065bd94498396ade}} 
\index{Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}!operator"!=@{operator"!=}}
\index{operator"!=@{operator"!=}!Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}}
\doxysubsubsection{\texorpdfstring{operator"!=()}{operator!=()}}
{\footnotesize\ttfamily bool Ogre\+::\+Layer\+Blend\+Mode\+Ex\+::operator!= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex}{Layer\+Blend\+Mode\+Ex}} \&}]{rhs }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_layer_blend_mode_ex_ac2cb8de7b805400726882f7003a4bcda}\label{class_ogre_1_1_layer_blend_mode_ex_ac2cb8de7b805400726882f7003a4bcda}} 
\index{Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}!blendType@{blendType}}
\index{blendType@{blendType}!Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}}
\doxysubsubsection{\texorpdfstring{blendType}{blendType}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_ga1ae5925d36df27a6c3590536752264f8}{Layer\+Blend\+Type}} Ogre\+::\+Layer\+Blend\+Mode\+Ex\+::blend\+Type}



The type of blending (colour or alpha) 



Referenced by operator==().

\mbox{\Hypertarget{class_ogre_1_1_layer_blend_mode_ex_afc151f1c17683cd99df776459df2c778}\label{class_ogre_1_1_layer_blend_mode_ex_afc151f1c17683cd99df776459df2c778}} 
\index{Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}!operation@{operation}}
\index{operation@{operation}!Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}}
\doxysubsubsection{\texorpdfstring{operation}{operation}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_ga264ecab38a04d01e2c3158fa05ec1ee2}{Layer\+Blend\+Operation\+Ex}} Ogre\+::\+Layer\+Blend\+Mode\+Ex\+::operation}



The operation to be applied. 



Referenced by operator==().

\mbox{\Hypertarget{class_ogre_1_1_layer_blend_mode_ex_a334818129ca44c1fbdba2b3b2813368a}\label{class_ogre_1_1_layer_blend_mode_ex_a334818129ca44c1fbdba2b3b2813368a}} 
\index{Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}!source1@{source1}}
\index{source1@{source1}!Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}}
\doxysubsubsection{\texorpdfstring{source1}{source1}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}} Ogre\+::\+Layer\+Blend\+Mode\+Ex\+::source1}



The first source of colour/alpha. 



Referenced by operator==().

\mbox{\Hypertarget{class_ogre_1_1_layer_blend_mode_ex_a94eeae80ba84e9aa5271d317d48f2688}\label{class_ogre_1_1_layer_blend_mode_ex_a94eeae80ba84e9aa5271d317d48f2688}} 
\index{Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}!source2@{source2}}
\index{source2@{source2}!Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}}
\doxysubsubsection{\texorpdfstring{source2}{source2}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}} Ogre\+::\+Layer\+Blend\+Mode\+Ex\+::source2}



The second source of colour/alpha. 



Referenced by operator==().

\mbox{\Hypertarget{class_ogre_1_1_layer_blend_mode_ex_a99adb8004759bf3825d934684ab8f171}\label{class_ogre_1_1_layer_blend_mode_ex_a99adb8004759bf3825d934684ab8f171}} 
\index{Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}!colourArg1@{colourArg1}}
\index{colourArg1@{colourArg1}!Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}}
\doxysubsubsection{\texorpdfstring{colourArg1}{colourArg1}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} Ogre\+::\+Layer\+Blend\+Mode\+Ex\+::colour\+Arg1}



Manual colour value for manual source1. 



Referenced by operator==().

\mbox{\Hypertarget{class_ogre_1_1_layer_blend_mode_ex_a6bd40927e40bcb2d6c4e077ebd56c24d}\label{class_ogre_1_1_layer_blend_mode_ex_a6bd40927e40bcb2d6c4e077ebd56c24d}} 
\index{Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}!colourArg2@{colourArg2}}
\index{colourArg2@{colourArg2}!Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}}
\doxysubsubsection{\texorpdfstring{colourArg2}{colourArg2}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} Ogre\+::\+Layer\+Blend\+Mode\+Ex\+::colour\+Arg2}



Manual colour value for manual source2. 



Referenced by operator==().

\mbox{\Hypertarget{class_ogre_1_1_layer_blend_mode_ex_a8af3aad5d2de939d0d9bff3049c82928}\label{class_ogre_1_1_layer_blend_mode_ex_a8af3aad5d2de939d0d9bff3049c82928}} 
\index{Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}!alphaArg1@{alphaArg1}}
\index{alphaArg1@{alphaArg1}!Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}}
\doxysubsubsection{\texorpdfstring{alphaArg1}{alphaArg1}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Layer\+Blend\+Mode\+Ex\+::alpha\+Arg1}



Manual alpha value for manual source1. 



Referenced by operator==().

\mbox{\Hypertarget{class_ogre_1_1_layer_blend_mode_ex_a9dde2b63904e61319b175094f8fc67f0}\label{class_ogre_1_1_layer_blend_mode_ex_a9dde2b63904e61319b175094f8fc67f0}} 
\index{Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}!alphaArg2@{alphaArg2}}
\index{alphaArg2@{alphaArg2}!Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}}
\doxysubsubsection{\texorpdfstring{alphaArg2}{alphaArg2}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Layer\+Blend\+Mode\+Ex\+::alpha\+Arg2}



Manual alpha value for manual source2. 



Referenced by operator==().

\mbox{\Hypertarget{class_ogre_1_1_layer_blend_mode_ex_a71cee0ade264a82051913d5eb0fc4c40}\label{class_ogre_1_1_layer_blend_mode_ex_a71cee0ade264a82051913d5eb0fc4c40}} 
\index{Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}!factor@{factor}}
\index{factor@{factor}!Ogre::LayerBlendModeEx@{Ogre::LayerBlendModeEx}}
\doxysubsubsection{\texorpdfstring{factor}{factor}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Layer\+Blend\+Mode\+Ex\+::factor}



Manual blending factor. 



Referenced by operator==().



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