\hypertarget{class_ogre_1_1_texture_unit_state}{}\doxysection{Ogre\+::Texture\+Unit\+State Class Reference}
\label{class_ogre_1_1_texture_unit_state}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}}


Class representing the state of a single texture unit during a \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} of a \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, of a \mbox{\hyperlink{class_ogre_1_1_material}{Material}}.  




{\ttfamily \#include $<$Ogre\+Texture\+Unit\+State.\+h$>$}



Inheritance diagram for Ogre\+::Texture\+Unit\+State\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=208pt]{class_ogre_1_1_texture_unit_state__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct_ogre_1_1_texture_unit_state_1_1_texture_effect}{Texture\+Effect}}
\begin{DoxyCompactList}\small\item\em Internal structure defining a texture effect. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8}{Binding\+Type}} \{ \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a39c5f87a9b1c5873ece87f48cba19970}{B\+T\+\_\+\+F\+R\+A\+G\+M\+E\+NT}} = 0, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a857de1fa5e307a5a5b0df779ad4a470e}{B\+T\+\_\+\+V\+E\+R\+T\+EX}} = 1
 \}
\begin{DoxyCompactList}\small\item\em The type of unit to bind the texture settings to. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}{Content\+Type}} \{ \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030a1bffc0ebc06c072fd00b5e032ba3ce01}{C\+O\+N\+T\+E\+N\+T\+\_\+\+N\+A\+M\+ED}} = 0, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030a781de9de8d083db90677da1176d8ba82}{C\+O\+N\+T\+E\+N\+T\+\_\+\+S\+H\+A\+D\+OW}} = 1, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030a56ccbe92a25c96ed721ecbe17301bfc1}{C\+O\+N\+T\+E\+N\+T\+\_\+\+C\+O\+M\+P\+O\+S\+I\+T\+OR}} = 2
 \}
\begin{DoxyCompactList}\small\item\em Enum identifying the type of content this texture unit contains. \end{DoxyCompactList}\item 
typedef std\+::multimap$<$ \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626}{Texture\+Effect\+Type}}, \mbox{\hyperlink{struct_ogre_1_1_texture_unit_state_1_1_texture_effect}{Texture\+Effect}} $>$ \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a76b0d087ff12f806b0bd5e8b97d466bf}{Effect\+Map}}
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} effects in a multimap paired array. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931e}{Env\+Map\+Type}} \{ \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931ea50895f1c891eedb007500965ca4c204a}{E\+N\+V\+\_\+\+P\+L\+A\+N\+AR}}, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931ea5a2d57450ada903ba586826344b7dbcb}{E\+N\+V\+\_\+\+C\+U\+R\+V\+ED}}, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931ea3983cce37fbce61c118d202278166be9}{E\+N\+V\+\_\+\+R\+E\+F\+L\+E\+C\+T\+I\+ON}}, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931eae1644f418a586fea471d808485a7a036}{E\+N\+V\+\_\+\+N\+O\+R\+M\+AL}}
 \}
\begin{DoxyCompactList}\small\item\em Enumeration to specify type of envmap. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a162e712b66645d1faa9f11c270ad2794}{Texture\+Addressing\+Mode}}
\item 
enum \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3}{Texture\+Cube\+Face}} \{ \newline
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3aa9d74ce7d0576d0dda5b5046a6434529}{C\+U\+B\+E\+\_\+\+F\+R\+O\+NT}} = 0, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a4459a171ecd0fe942dc5b5f8e517ecb2}{C\+U\+B\+E\+\_\+\+B\+A\+CK}} = 1, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a2062c3ecab68e4d86345293283f69a19}{C\+U\+B\+E\+\_\+\+L\+E\+FT}} = 2, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a5044b1ee092361549f2ea953ed344b0a}{C\+U\+B\+E\+\_\+\+R\+I\+G\+HT}} = 3, 
\newline
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3ab085d126cff272045a1e616adbd2d726}{C\+U\+B\+E\+\_\+\+UP}} = 4, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a819e8a0cf0892c671d2fb4835780a12a}{C\+U\+B\+E\+\_\+\+D\+O\+WN}} = 5
 \}
\begin{DoxyCompactList}\small\item\em Enum identifying the frame indexes for faces of a cube map (not the composite 3D type. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626}{Texture\+Effect\+Type}} \{ \newline
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a2f0676d96ba378e32c3087fff9b7e73e}{E\+T\+\_\+\+E\+N\+V\+I\+R\+O\+N\+M\+E\+N\+T\+\_\+\+M\+AP}}, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626ae6f4dff5b324b7aa28253c37702a5131}{E\+T\+\_\+\+P\+R\+O\+J\+E\+C\+T\+I\+V\+E\+\_\+\+T\+E\+X\+T\+U\+RE}}, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626addf3dd2bc4eeabca2968c71600c347aa}{E\+T\+\_\+\+U\+V\+S\+C\+R\+O\+LL}}, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626ab5e67e4d891aad2e60925b216de34f08}{E\+T\+\_\+\+U\+S\+C\+R\+O\+LL}}, 
\newline
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a97f8687c21d13e08b89d22902919acaa}{E\+T\+\_\+\+V\+S\+C\+R\+O\+LL}}, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a9afa2c9da615898c1a045e19bb3e602b}{E\+T\+\_\+\+R\+O\+T\+A\+TE}}, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a97cd551c90f9f6000fe231f542815852}{E\+T\+\_\+\+T\+R\+A\+N\+S\+F\+O\+RM}}
 \}
\begin{DoxyCompactList}\small\item\em Definition of the broad types of texture effect you can apply to a texture unit. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82d}{Texture\+Transform\+Type}} \{ \newline
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da46631ede4b31d448ebb891daf94cd526}{T\+T\+\_\+\+T\+R\+A\+N\+S\+L\+A\+T\+E\+\_\+U}}, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da81757d80ac644a8da31f107a9cc21fdc}{T\+T\+\_\+\+T\+R\+A\+N\+S\+L\+A\+T\+E\+\_\+V}}, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da7160eae1144aeb0cb6428416e465fd88}{T\+T\+\_\+\+S\+C\+A\+L\+E\+\_\+U}}, 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da6e85f00afb893c2bace9a394e5ac9f95}{T\+T\+\_\+\+S\+C\+A\+L\+E\+\_\+V}}, 
\newline
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82daecf829c4f898451d496f56e774e0eacf}{T\+T\+\_\+\+R\+O\+T\+A\+TE}}
 \}
\begin{DoxyCompactList}\small\item\em Useful enumeration when dealing with procedural transforms. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{struct_ogre_1_1_sampler_1_1_u_v_w_addressing_mode}{Sampler\+::\+U\+V\+W\+Addressing\+Mode}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ac60c0a3508a6ff12f8dac4668df9dd79}{U\+V\+W\+Addressing\+Mode}}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a310855c1a22c81688d276cbaf62bd1bb}{Texture\+Unit\+State}} (\mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a9b8a41ad39710320e10738f0a7d96f0d}{Texture\+Unit\+State}} (\mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$parent, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&tex\+Name, unsigned int tex\+Coord\+Set=0)
\begin{DoxyCompactList}\small\item\em Name-\/based constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a474f19d881bffa023e05852ad94c727a}{Texture\+Unit\+State}} (\mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$parent, const \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} \&oth)
\item 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a21c2ac927f9f93472af7c8554c73bb0e}{$\sim$\+Texture\+Unit\+State}} ()
\begin{DoxyCompactList}\small\item\em Default destructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_controller}{Controller}}$<$ \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} $>$ $\ast$ \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aac051a780fa7e8ccd891c71d5dfb001b}{\+\_\+get\+Anim\+Controller}} () const
\begin{DoxyCompactList}\small\item\em Gets the animation controller (as created because of set\+Animated\+Texture) if it exists. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group___materials_ga34843c20652d796e4e3aab70dc1786c3}{Sampler\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a983cd4d8de66d003dc173f5738fab245}{\+\_\+get\+Local\+Sampler}} ()
\begin{DoxyCompactList}\small\item\em return a sampler local to this T\+US instead of the shared global one \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_addfe8bb3fabe45d6f5e95c774caab2d7}{\+\_\+get\+Texture\+Ptr}} (size\+\_\+t frame) const
\begin{DoxyCompactList}\small\item\em Get the texture pointer for a given frame. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a9c9bc1ebd44275f7c716c9aaab1452ff}{\+\_\+get\+Texture\+Ptr}} (void) const
\begin{DoxyCompactList}\small\item\em Get the texture pointer for the current frame. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a152b9706e34afd01006ccdd7e2ef7c99}{\+\_\+load}} (void)
\begin{DoxyCompactList}\small\item\em Internal method for loading this object as part of \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{Material\+::load}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a78895c49d27597bf3e11fc7269373124}{\+\_\+notify\+Needs\+Recompile}} (void)
\begin{DoxyCompactList}\small\item\em Tells the class that it needs recompilation. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a69a867f544a08845a86acc421476c3e4}{\+\_\+notify\+Parent}} (\mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Notify this object that its parent has changed. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a9ba3e0f5bee6bc207eb8819cf18a793e}{\+\_\+prepare}} (void)
\begin{DoxyCompactList}\small\item\em Internal method for preparing this object for load, as part of \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{Material\+::prepare}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_abaa17fc5f6b4d96bfe19ecc6c78a331e}{\+\_\+set\+Texture\+Ptr}} (const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \&texptr)
\begin{DoxyCompactList}\small\item\em Set the texture pointer for the current frame (internal use only!). \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a6236e0e398c153980ff06f13e58a667b}{\+\_\+set\+Texture\+Ptr}} (const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \&texptr, size\+\_\+t frame)
\begin{DoxyCompactList}\small\item\em Set the texture pointer for a given frame (internal use only!). \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a1ad9f708a4e716ca5603bb96c61960ba}{\+\_\+unload}} (void)
\begin{DoxyCompactList}\small\item\em Internal method for unloading this object as part of \mbox{\hyperlink{class_ogre_1_1_resource_aa31bef1bfaa87731622e56f11b548e27}{Material\+::unload}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a719be065c5457565e744410f3ec16a3f}{\+\_\+unprepare}} (void)
\begin{DoxyCompactList}\small\item\em Internal method for undoing the preparation this object as part of Material\+::unprepare. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a63fcdc07aea7a558c046c826ae510f39}{add\+Effect}} (\mbox{\hyperlink{struct_ogre_1_1_texture_unit_state_1_1_texture_effect}{Texture\+Effect}} \&effect)
\begin{DoxyCompactList}\small\item\em Generic method for setting up texture effects. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a8532ad689770975afe46a3ddd49123a8}{add\+Frame\+Texture\+Name}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Add a \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} name to the end of the frame container. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a1d18cb7a792b05d9ffd6192d7f9a252f}{apply\+Texture\+Aliases}} (const \mbox{\hyperlink{group___general_ga5dafc9e68bde8099ec5ad6c94e4cf19b}{Alias\+Texture\+Name\+Pair\+List}} \&alias\+List, const bool apply=true)
\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_texture_unit_state_a2c9d0e4e1188041093e8b2c95dc07359}{calculate\+Size}} (void) const
\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a7997d8a1385a7538a443c74d94a7cf75}{delete\+Frame\+Texture\+Name}} (const size\+\_\+t frame\+Number)
\begin{DoxyCompactList}\small\item\em Deletes a specific texture frame. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex}{Layer\+Blend\+Mode\+Ex}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a73b9edbd12039bbb1b339f0d7acab946}{get\+Alpha\+Blend\+Mode}} (void) const
\begin{DoxyCompactList}\small\item\em Get multitexturing alpha blending mode. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a25b38aa2157538c8de784f46ab5442ac}{get\+Animation\+Duration}} (void) const
\begin{DoxyCompactList}\small\item\em Get the animated-\/texture animation duration. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8}{Binding\+Type}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a3b5783f584c51bed687ec033bda01f1c}{get\+Binding\+Type}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the type of unit these texture settings should be bound to. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ab68978d806e23b1cf040d95d7231ba2e}{get\+Colour\+Blend\+Fallback\+Dest}} (void) const
\begin{DoxyCompactList}\small\item\em Get the multipass fallback for colour blending operation destination factor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a55871fd577ccae3e839ce7ca2c3e842a}{get\+Colour\+Blend\+Fallback\+Src}} (void) const
\begin{DoxyCompactList}\small\item\em Get the multipass fallback for colour blending operation source factor. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex}{Layer\+Blend\+Mode\+Ex}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a2f1ffa1b6ec8eb07bee2d1bb83ab51e5}{get\+Colour\+Blend\+Mode}} (void) const
\begin{DoxyCompactList}\small\item\em Get multitexturing colour blending mode. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}{Content\+Type}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a1550b60ebc8506c725b1157e02c8eb6b}{get\+Content\+Type}} (void) const
\begin{DoxyCompactList}\small\item\em Get the type of content this \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} references. \end{DoxyCompactList}\item 
unsigned int \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a66a53409852d79a7f02a8c19dc405092}{get\+Current\+Frame}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the active frame in an animated or multi-\/image texture layer. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a485e6e427102e4b59d0225db39376c0f}{get\+Desired\+Format}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the desired pixel format for the texture surface. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a76b0d087ff12f806b0bd5e8b97d466bf}{Effect\+Map}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a8a92d3d54786e91d93c7ad95b1d93c74}{get\+Effects}} (void) const
\begin{DoxyCompactList}\small\item\em Get texture effects in a multimap paired array. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a03743bd89016116355b7d2cc4eb97006}{get\+Frame\+Texture\+Name}} (unsigned int frame\+Number) const
\begin{DoxyCompactList}\small\item\em Gets the name of the texture associated with a frame number. \end{DoxyCompactList}\item 
float \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a48e4c2e1ff89ed2653cf0238da7bb21f}{get\+Gamma}} () const
\begin{DoxyCompactList}\small\item\em Returns the gamma adjustment factor applied to this texture on loading. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a25ac216db34ab5471ba58903061c38f2}{get\+Is\+Alpha}} (void) const
\begin{DoxyCompactList}\small\item\em Gets whether luminace pixel format will treated as alpha format when load this texture. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a3e25d54715635a0ddb704757d289926e}{get\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em Get the name of the \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State. \end{DoxyCompactList}\item 
unsigned int \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a2f6eecd5b329f25365bd6b3a4050cd1b}{get\+Num\+Frames}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the number of frames for a texture. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ac3823882187ae6499feacd94366f0410}{get\+Num\+Mipmaps}} (void) const
\begin{DoxyCompactList}\small\item\em Gets how many mipmaps have been requested for the texture. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a8ab86c68f7a74feb155c5100955c488d}{get\+Parent}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the parent \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} object. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_afb47cfd7dc8d6e24dee936a6645ae316}{get\+Referenced\+Compositor\+Name}} () const
\begin{DoxyCompactList}\small\item\em Gets the name of the compositor that this texture referneces. \end{DoxyCompactList}\item 
size\+\_\+t \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a4904a58094923e9cf9e7b7e0ced22bd9}{get\+Referenced\+M\+R\+T\+Index}} () const
\begin{DoxyCompactList}\small\item\em Gets the M\+RT index of the texture in the compositor that this texture references. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a5dbc572cbcd0354b62b08009592936a4}{get\+Referenced\+Texture\+Name}} () const
\begin{DoxyCompactList}\small\item\em Gets the name of the texture in the compositor that this texture references. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group___materials_ga34843c20652d796e4e3aab70dc1786c3}{Sampler\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aa88ea41c2ca613564f61c4b0d8b24203}{get\+Sampler}} () const
\begin{DoxyCompactList}\small\item\em get the associated sampler \end{DoxyCompactList}\item 
const \mbox{\hyperlink{struct_ogre_1_1_sampler_1_1_u_v_w_addressing_mode}{Sampler\+::\+U\+V\+W\+Addressing\+Mode}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ad25d04ad14d562c9e55d18da5695c898}{get\+Texture\+Addressing\+Mode}} (void) const
\begin{DoxyCompactList}\small\item\em Sets the texture addressing mode, i.\+e. \end{DoxyCompactList}\item 
unsigned int \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ae0641061570bb6b02f2bc15f6fc76ba2}{get\+Texture\+Anisotropy}} () const
\begin{DoxyCompactList}\small\item\em Get this layer texture anisotropy level. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a018bb274b11ff191a3502e2222fb9809}{get\+Texture\+Border\+Colour}} () const
\item 
bool \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ac026c759650a1d3d1e340b1b6a0d4425}{get\+Texture\+Compare\+Enabled}} () const
\item 
\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a2da1174c8d8a33eeae1bfc1ee9ba67ef}{get\+Texture\+Compare\+Function}} () const
\item 
unsigned int \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a4b56b581407240e7b5139d779e1d2a8f}{get\+Texture\+Coord\+Set}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the index of the set of texture co-\/ords this layer uses. \end{DoxyCompactList}\item 
std\+::pair$<$ size\+\_\+t, size\+\_\+t $>$ \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ab5264a89056790b0c74553b92e65b12e}{get\+Texture\+Dimensions}} (unsigned int frame=0) const
\begin{DoxyCompactList}\small\item\em Returns the width and height of the texture in the given frame. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a41bef78e56a3b2071825f574070beed2}{get\+Texture\+Filtering}} (\mbox{\hyperlink{group___general_gac1fc36ec2f4df4b2afa9fa39f9c66c06}{Filter\+Type}} ftype) const
\begin{DoxyCompactList}\small\item\em Get the texture filtering for the given type. \end{DoxyCompactList}\item 
float \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a5c9a53ddea4dbdd68c1c42579ddc7fe8}{get\+Texture\+Mipmap\+Bias}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the bias value applied to the mipmap calculation. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ad5215e862e9de0e2449835cbc579afef}{get\+Texture\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em Get the name of current texture image for this layer. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a382cebc0d7e3b61e30ec3eb625607462}{get\+Texture\+Name\+Alias}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Name Alias of the \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_radian}{Radian}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a35f96567f246a00d967afcafccf242eb}{get\+Texture\+Rotate}} (void) const
\begin{DoxyCompactList}\small\item\em Get texture rotation effects angle value. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_matrix4}{Matrix4}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a4636d2377419dcff47a0d55ae840d4d7}{get\+Texture\+Transform}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the current texture transformation matrix. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a702d2aee57c42cff6f34be00dc175fbc}{get\+Texture\+Type}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the type of this texture. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ab7996e6ea470360d7b772b4bb27e2aad}{get\+Texture\+U\+Scale}} (void) const
\begin{DoxyCompactList}\small\item\em Get texture uscale value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a3ea082c5d8faf352a6e23d35e443056c}{get\+Texture\+U\+Scroll}} (void) const
\begin{DoxyCompactList}\small\item\em Get texture uscroll value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ab9fca20cb5698d2583a1496c61f830bb}{get\+Texture\+V\+Scale}} (void) const
\begin{DoxyCompactList}\small\item\em Get texture vscale value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a4f191c61087ac4bdbbad78b758b43244}{get\+Texture\+V\+Scroll}} (void) const
\begin{DoxyCompactList}\small\item\em Get texture vscroll value. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a1a4084251e938a404d549ecb8f9db914}{has\+View\+Relative\+Texture\+Coordinate\+Generation}} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether this unit has texture coordinate generation that depends on the camera. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a6decf13e49ebeafb9556479fb2022286}{is3D}} (void) const
\item 
bool \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a4de1b26e5dc01d9a73b3096de1c4853f}{is\+Blank}} (void) const
\begin{DoxyCompactList}\small\item\em Determines if this texture layer is currently blank. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_afe0aa6be6db7207ca6d439b6e52d33d8}{is\+Cubic}} (void) const
\item 
bool \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a5bb9b54d2869c429591b36f64d4361c5}{is\+Default\+Filtering}} () const
\begin{DoxyCompactList}\small\item\em Returns true if this texture unit is using the default \mbox{\hyperlink{class_ogre_1_1_sampler}{Sampler}}. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a073cf9903b594cf1bb08b703934bf62d}{is\+Hardware\+Gamma\+Enabled}} () const
\begin{DoxyCompactList}\small\item\em Gets whether this texture will be set up so that on sampling it, hardware gamma correction is applied. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a35e1d9894e9914eb725ab047bae276fd}{is\+Loaded}} (void) const
\begin{DoxyCompactList}\small\item\em Is this loaded? \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a8a15351e7f8c7a47e26633f1d6f15abd}{is\+Texture\+Load\+Failing}} () const
\begin{DoxyCompactList}\small\item\em Tests if the texture associated with this unit has failed to load. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} \& \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aba48cec6d1b8ce8973b0fa1dac2312b7}{operator=}} (const \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} \&oth)
\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a2e87ea16834839d12c8c8a78e4e56302}{remove\+All\+Effects}} (void)
\begin{DoxyCompactList}\small\item\em Removes all effects applied to this texture layer. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a99cc16130a5124dc6ac108d4647d2d31}{remove\+Effect}} (const \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626}{Texture\+Effect\+Type}} type)
\begin{DoxyCompactList}\small\item\em Removes a single effect applied to this texture layer. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a35ba5dfc7d336a92a1a3eccd260293eb}{retry\+Texture\+Load}} ()
\begin{DoxyCompactList}\small\item\em Tells the unit to retry loading the texture if it had failed to load. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ae5e48cac8f87dad78d040364021b7a95}{set\+Alpha\+Operation}} (\mbox{\hyperlink{group___materials_ga264ecab38a04d01e2c3158fa05ec1ee2}{Layer\+Blend\+Operation\+Ex}} op, \mbox{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}} source1=\mbox{\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea45f1a14042993f460992b3253ce6ae80}{L\+B\+S\+\_\+\+T\+E\+X\+T\+U\+RE}}, \mbox{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}} source2=\mbox{\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea370f25da69381c74ca1fc51fde81e659}{L\+B\+S\+\_\+\+C\+U\+R\+R\+E\+NT}}, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} arg1=1.\+0, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} arg2=1.\+0, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} manual\+Blend=0.\+0)
\begin{DoxyCompactList}\small\item\em Sets the alpha operation to be applied to this texture. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a68034fde4bd5f0251e96d62349a903ba}{set\+Animated\+Texture\+Name}} (const std\+::vector$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} $>$ \&names, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} duration=0)
\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_texture_unit_state_af817f7e010b7e3ef2672004749ec2ee0}{set\+Animated\+Texture\+Name}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, size\+\_\+t num\+Frames, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} duration=0)
\begin{DoxyCompactList}\small\item\em Sets the names of the texture images for an animated texture. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a0420c831b2821e1ee111b2fbe165eb02}{set\+Animated\+Texture\+Name}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} $\ast$const names, size\+\_\+t num\+Frames, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} duration=0)
\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_texture_unit_state_a0ab7a2779ea196f2d51435d12a02d81f}{set\+Binding\+Type}} (\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8}{Binding\+Type}} bt)
\begin{DoxyCompactList}\small\item\em Sets the type of unit these texture settings should be bound to. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a0bfa625ec4957f67d61dd98691d632df}{set\+Blank}} (void)
\begin{DoxyCompactList}\small\item\em Sets this texture layer to be blank. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aa47f44936c3090c97d8b4179333a208b}{set\+Colour\+Operation}} (const \mbox{\hyperlink{group___materials_gabcbb38d1ac195e4be401f85b7ab0da8f}{Layer\+Blend\+Operation}} op)
\begin{DoxyCompactList}\small\item\em Determines how this texture layer is combined with the one below it (or the diffuse colour of the geometry if this is layer 0). \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a5f3994ce2f61c6c6fee6fe8f89c9e369}{set\+Colour\+Operation\+Ex}} (\mbox{\hyperlink{group___materials_ga264ecab38a04d01e2c3158fa05ec1ee2}{Layer\+Blend\+Operation\+Ex}} op, \mbox{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}} source1=\mbox{\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea45f1a14042993f460992b3253ce6ae80}{L\+B\+S\+\_\+\+T\+E\+X\+T\+U\+RE}}, \mbox{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}} source2=\mbox{\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea370f25da69381c74ca1fc51fde81e659}{L\+B\+S\+\_\+\+C\+U\+R\+R\+E\+NT}}, const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&arg1=\mbox{\hyperlink{class_ogre_1_1_colour_value_a8eba66b2908f44f00f8d9c9ec25877de}{Colour\+Value\+::\+White}}, const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&arg2=\mbox{\hyperlink{class_ogre_1_1_colour_value_a8eba66b2908f44f00f8d9c9ec25877de}{Colour\+Value\+::\+White}}, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} manual\+Blend=0.\+0)
\begin{DoxyCompactList}\small\item\em Setting advanced blending options. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a1c4dcca2a0d343dc6660b9071cd4c79f}{set\+Colour\+Op\+Multipass\+Fallback}} (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 Sets the multipass fallback operation for this layer, if you used \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a5f3994ce2f61c6c6fee6fe8f89c9e369}{Texture\+Unit\+State\+::set\+Colour\+Operation\+Ex}} and not enough multitexturing hardware is available. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a0073a4465cc92944252d69b2671ea97d}{set\+Compositor\+Reference}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&compositor\+Name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&texture\+Name, size\+\_\+t mrt\+Index=0)
\begin{DoxyCompactList}\small\item\em Set the compositor reference for this texture unit state. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_adfaae68c0291e96fb75ba217d94e67bf}{set\+Content\+Type}} (\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}{Content\+Type}} ct)
\begin{DoxyCompactList}\small\item\em Set the type of content this \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} references. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a9f64f66afe24fa8f6bbf0141d8602649}{set\+Cubic\+Texture}} (const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} $\ast$const tex\+Ptrs, bool for\+U\+VW=false)
\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aef7c395bc62173060141717a79681a97}{set\+Cubic\+Texture\+Name}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, bool for\+U\+VW=false)
\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ae19baf627a3dffd5795985bb16f4967b}{set\+Cubic\+Texture\+Name}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} $\ast$const names, bool for\+U\+VW=false)
\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a040a7a49541296837b3e0a0289b7c4c8}{set\+Current\+Frame}} (unsigned int frame\+Number)
\begin{DoxyCompactList}\small\item\em Changes the active frame in an animated or multi-\/image texture. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a09a45c146f4e26397d2f5b0d885bd893}{set\+Desired\+Format}} (\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} desired\+Format)
\begin{DoxyCompactList}\small\item\em Sets the desired pixel format for the texture surface; can only be set before load(). \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a33ea31aeae9a25f1b05e2d987cbb891e}{set\+Environment\+Map}} (bool enable, \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931e}{Env\+Map\+Type}} env\+Map\+Type=\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931ea5a2d57450ada903ba586826344b7dbcb}{E\+N\+V\+\_\+\+C\+U\+R\+V\+ED}})
\begin{DoxyCompactList}\small\item\em Turns on/off texture coordinate effect that makes this layer an environment map. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_affd8342a0a86bc34f727dc6b4b21f565}{set\+Frame\+Texture\+Name}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, unsigned int frame\+Number)
\begin{DoxyCompactList}\small\item\em Sets the name of the texture associated with a frame. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a3859b558bf648b9825136156d9ebcae1}{set\+Gamma}} (float gamma)
\begin{DoxyCompactList}\small\item\em Sets the gamma adjustment factor applied to this texture on loading the data. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a09d08169e1c108c435fa595a227e87ad}{set\+Hardware\+Gamma\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Sets whether this texture will be set up so that on sampling it, hardware gamma correction is applied. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a14b38dfbd84aec82f1bbe9f34e121180}{set\+Is\+Alpha}} (bool is\+Alpha)
\begin{DoxyCompactList}\small\item\em specify that a single channel (luminance) texture should be loaded as alpha \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a7b583996c99d3495c02565f0f8863727}{set\+Layer\+Array\+Names}} (\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}} type, const std\+::vector$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} $>$ \&names)
\begin{DoxyCompactList}\small\item\em Sets this texture layer to use an array of texture maps. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_abad476c32cafd8defc6f3c6da71dd2cb}{set\+Name}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Set the name of the \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aca6e1c5091f01b523e71952a17ad635b}{set\+Num\+Mipmaps}} (int num\+Mipmaps)
\begin{DoxyCompactList}\small\item\em Sets the number of mipmaps to be used for this texture. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a56edced19709cbda365eae03b590a5e1}{set\+Projective\+Texturing}} (bool enabled, const \mbox{\hyperlink{class_ogre_1_1_frustum}{Frustum}} $\ast$projection\+Settings=0)
\begin{DoxyCompactList}\small\item\em Enables or disables projective texturing on this texture unit. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a72e3695b81f12b32762237c5de202dff}{set\+Rotate\+Animation}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} speed)
\begin{DoxyCompactList}\small\item\em Sets up an animated texture rotation for this layer. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a2b3791c291aef832a03eb4582d71ed33}{set\+Sampler}} (const \mbox{\hyperlink{group___materials_ga34843c20652d796e4e3aab70dc1786c3}{Sampler\+Ptr}} \&sampler)
\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a45bd669bcc64ec417fe4208aa5cfd685}{set\+Scroll\+Animation}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} u\+Speed, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} v\+Speed)
\begin{DoxyCompactList}\small\item\em Sets up an animated scroll for the texture layer. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a5da15b05f88f28597b0eb6e400e6242a}{set\+Texture}} (const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \&tex\+Ptr)
\begin{DoxyCompactList}\small\item\em Sets this texture layer to use a single texture, given the pointer to the texture to use on this layer. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a5a54ece0b8cfb20f6dcddbd68813be43}{set\+Texture\+Addressing\+Mode}} (const \mbox{\hyperlink{struct_ogre_1_1_sampler_1_1_u_v_w_addressing_mode}{Sampler\+::\+U\+V\+W\+Addressing\+Mode}} \&uvw)
\begin{DoxyCompactList}\small\item\em Sets the texture addressing mode, i.\+e. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a06aef1d348eb56c1289c5791013bb1f7}{set\+Texture\+Addressing\+Mode}} (\mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} tam)
\begin{DoxyCompactList}\small\item\em Sets the texture addressing mode, i.\+e. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_af8ab090b0fee62a2a330d07161a2d10c}{set\+Texture\+Addressing\+Mode}} (\mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} u, \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} v, \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} w)
\begin{DoxyCompactList}\small\item\em Sets the texture addressing mode, i.\+e. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_abb2bc03bc72f2098e37c4240f637c5e5}{set\+Texture\+Anisotropy}} (unsigned int max\+Aniso)
\begin{DoxyCompactList}\small\item\em Sets the anisotropy level to be used for this texture level. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a4685adfbadf451fd318b3ea900abfca2}{set\+Texture\+Border\+Colour}} (const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&colour)
\begin{DoxyCompactList}\small\item\em Sets the texture border colour. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aa2f3464e36c93cca9bafefa4591433f3}{set\+Texture\+Compare\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Enables or disables the comparison test for depth textures. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a453e725f0367bc8bae273d4d3f990d26}{set\+Texture\+Compare\+Function}} (\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} function)
\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a70c55b5db14e54e2e7a991f548b6387d}{set\+Texture\+Coord\+Set}} (unsigned int \mbox{\hyperlink{struct_ogre_1_1set}{set}})
\begin{DoxyCompactList}\small\item\em Sets which texture coordinate set is to be used for this texture layer. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_afccaca77406c883c5bfe440b7ed3c3e4}{set\+Texture\+Filtering}} (\mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}} min\+Filter, \mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}} mag\+Filter, \mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}} mip\+Filter)
\begin{DoxyCompactList}\small\item\em Set a the detailed filtering options on this texture unit. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a363c69770217425598c716430abd159a}{set\+Texture\+Filtering}} (\mbox{\hyperlink{group___general_gac1fc36ec2f4df4b2afa9fa39f9c66c06}{Filter\+Type}} ftype, \mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}} opts)
\begin{DoxyCompactList}\small\item\em Set the texture filtering for this unit, using the simplified interface. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a30757c168b734902d03720e3f36c27d4}{set\+Texture\+Filtering}} (\mbox{\hyperlink{group___general_ga21a0186392e9c9ce16d29c5568a773c5}{Texture\+Filter\+Options}} filter\+Type)
\begin{DoxyCompactList}\small\item\em Set the texture filtering for this unit, using the simplified interface. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_acfe54cc0ec2c1247a90094d004d77db1}{set\+Texture\+Mipmap\+Bias}} (float bias)
\begin{DoxyCompactList}\small\item\em Sets the bias value applied to the mipmap calculation. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aa2261f5949b6e8185e46999b7ddaf93f}{set\+Texture\+Name}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, \mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}} ttype=\mbox{\hyperlink{group___resources_ggae50520af6377ff8184cf79125cb9c4d7af1f732018f5a2a7d35233e2ceeb4ee0e}{T\+E\+X\+\_\+\+T\+Y\+P\+E\+\_\+2D}})
\begin{DoxyCompactList}\small\item\em Sets this texture layer to use a single texture, given the name of the texture to use on this layer. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ac91d942e89e887cc7143a6073adc520c}{set\+Texture\+Name\+Alias}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Set the alias name used for texture frame names. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a9239845b4de453c450e40f2c5f46cc8d}{set\+Texture\+Rotate}} (const \mbox{\hyperlink{class_ogre_1_1_radian}{Radian}} \&angle)
\begin{DoxyCompactList}\small\item\em Sets the anticlockwise rotation factor applied to texture coordinates. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aa5be6f7e13179f692c9af7c494c703cf}{set\+Texture\+Scale}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} u\+Scale, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} v\+Scale)
\begin{DoxyCompactList}\small\item\em Sets the scaling factor applied to texture coordinates. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a354b3466d8c49e6f0057dea8206d3dd4}{set\+Texture\+Scroll}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} u, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} v)
\begin{DoxyCompactList}\small\item\em Sets the translation offset of the texture, ie scrolls the texture. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ac7f99a83fe25f06af508b55e3ab381da}{set\+Texture\+Transform}} (const \mbox{\hyperlink{class_ogre_1_1_matrix4}{Matrix4}} \&xform)
\begin{DoxyCompactList}\small\item\em Sets a matrix used to transform any texture coordinates on this layer. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a112573713ccb2f221acf4a6d4c95c64c}{set\+Texture\+U\+Scale}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} value)
\begin{DoxyCompactList}\small\item\em As set\+Texture\+Scale, but sets only U value. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a8b8123ca656ea172565cb6d4e9ef8224}{set\+Texture\+U\+Scroll}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} value)
\begin{DoxyCompactList}\small\item\em As set\+Texture\+Scroll, but sets only U value. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_af73cbd6d4bc2dbf21596da3a8d0dc4fd}{set\+Texture\+V\+Scale}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} value)
\begin{DoxyCompactList}\small\item\em As set\+Texture\+Scale, but sets only V value. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a83752e3f64f9a345abbfd143f213f586}{set\+Texture\+V\+Scroll}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} value)
\begin{DoxyCompactList}\small\item\em As set\+Texture\+Scroll, but sets only V value. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_af56112cb1e6d144b8fd63b280d8ae350}{set\+Transform\+Animation}} (const \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82d}{Texture\+Transform\+Type}} ttype, const \mbox{\hyperlink{group___general_gabf2e0412a783a6f708ca1a58abb45c1b}{Waveform\+Type}} wave\+Type, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} base=0, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} frequency=1, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} phase=0, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} amplitude=1)
\begin{DoxyCompactList}\small\item\em Sets up a general time-\/relative texture modification effect. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_acced150b0dc0d1d64b0802dbe4cf7db1}{T\+A\+M\+\_\+\+B\+O\+R\+D\+ER}} = Ogre\+::\+T\+A\+M\+\_\+\+B\+O\+R\+D\+ER
\item 
static const \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aaa593803cf70c8a67f24d4b74ad2ad77}{T\+A\+M\+\_\+\+C\+L\+A\+MP}} = Ogre\+::\+T\+A\+M\+\_\+\+C\+L\+A\+MP
\item 
static const \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a7f29d334eabef6ca15cc1e3a1d594467}{T\+A\+M\+\_\+\+M\+I\+R\+R\+OR}} = Ogre\+::\+T\+A\+M\+\_\+\+M\+I\+R\+R\+OR
\item 
static const \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a27d31e5a5ad06d018986d13b12fd4b41}{T\+A\+M\+\_\+\+U\+N\+K\+N\+O\+WN}} = Ogre\+::\+T\+A\+M\+\_\+\+U\+N\+K\+N\+O\+WN
\item 
static const \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a9d12f77b02eacd0da7dcec2ac654c256}{T\+A\+M\+\_\+\+W\+R\+AP}} = Ogre\+::\+T\+A\+M\+\_\+\+W\+R\+AP
\end{DoxyCompactItemize}
\doxysubsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a06b786d8e0847dfe9cc15e1dea308fcd}{Render\+System}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Class representing the state of a single texture unit during a \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} of a \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}, of a \mbox{\hyperlink{class_ogre_1_1_material}{Material}}. 

\mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} units are pipelines for retrieving texture data for rendering onto your objects in the world. Using them is common to both the fixed-\/function and the programmable (vertex and fragment program) pipeline, but some of the settings will only have an effect in the fixed-\/function pipeline (for example, setting a texture rotation will have no effect if you use the programmable pipeline, because this is overridden by the fragment program). The effect of each setting as regards the 2 pipelines is commented in each setting.

When I use the term \textquotesingle{}fixed-\/function pipeline\textquotesingle{} I mean traditional rendering where you do not use vertex or fragment programs (shaders). Programmable pipeline means that for this pass you are using vertex or fragment programs. 

\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a162e712b66645d1faa9f11c270ad2794}\label{class_ogre_1_1_texture_unit_state_a162e712b66645d1faa9f11c270ad2794}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TextureAddressingMode@{TextureAddressingMode}}
\index{TextureAddressingMode@{TextureAddressingMode}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{TextureAddressingMode}{TextureAddressingMode}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Unit\+State\+::\+Texture\+Addressing\+Mode}}}

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ac60c0a3508a6ff12f8dac4668df9dd79}\label{class_ogre_1_1_texture_unit_state_ac60c0a3508a6ff12f8dac4668df9dd79}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!UVWAddressingMode@{UVWAddressingMode}}
\index{UVWAddressingMode@{UVWAddressingMode}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{UVWAddressingMode}{UVWAddressingMode}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{struct_ogre_1_1_sampler_1_1_u_v_w_addressing_mode}{Sampler\+::\+U\+V\+W\+Addressing\+Mode}} \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_ac60c0a3508a6ff12f8dac4668df9dd79}{Ogre\+::\+Texture\+Unit\+State\+::\+U\+V\+W\+Addressing\+Mode}}}

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a76b0d087ff12f806b0bd5e8b97d466bf}\label{class_ogre_1_1_texture_unit_state_a76b0d087ff12f806b0bd5e8b97d466bf}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!EffectMap@{EffectMap}}
\index{EffectMap@{EffectMap}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{EffectMap}{EffectMap}}
{\footnotesize\ttfamily typedef std\+::multimap$<$\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626}{Texture\+Effect\+Type}}, \mbox{\hyperlink{struct_ogre_1_1_texture_unit_state_1_1_texture_effect}{Texture\+Effect}}$>$ \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a76b0d087ff12f806b0bd5e8b97d466bf}{Ogre\+::\+Texture\+Unit\+State\+::\+Effect\+Map}}}



\mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} effects in a multimap paired array. 



\doxysubsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626}\label{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TextureEffectType@{TextureEffectType}}
\index{TextureEffectType@{TextureEffectType}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{TextureEffectType}{TextureEffectType}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626}{Ogre\+::\+Texture\+Unit\+State\+::\+Texture\+Effect\+Type}}}



Definition of the broad types of texture effect you can apply to a texture unit. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ET\_ENVIRONMENT\_MAP@{ET\_ENVIRONMENT\_MAP}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!ET\_ENVIRONMENT\_MAP@{ET\_ENVIRONMENT\_MAP}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a2f0676d96ba378e32c3087fff9b7e73e}\label{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a2f0676d96ba378e32c3087fff9b7e73e}} 
E\+T\+\_\+\+E\+N\+V\+I\+R\+O\+N\+M\+E\+N\+T\+\_\+\+M\+AP&Generate all texture coords based on angle between camera and vertex. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ET\_PROJECTIVE\_TEXTURE@{ET\_PROJECTIVE\_TEXTURE}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!ET\_PROJECTIVE\_TEXTURE@{ET\_PROJECTIVE\_TEXTURE}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626ae6f4dff5b324b7aa28253c37702a5131}\label{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626ae6f4dff5b324b7aa28253c37702a5131}} 
E\+T\+\_\+\+P\+R\+O\+J\+E\+C\+T\+I\+V\+E\+\_\+\+T\+E\+X\+T\+U\+RE&Generate texture coords based on a frustum. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ET\_UVSCROLL@{ET\_UVSCROLL}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!ET\_UVSCROLL@{ET\_UVSCROLL}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626addf3dd2bc4eeabca2968c71600c347aa}\label{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626addf3dd2bc4eeabca2968c71600c347aa}} 
E\+T\+\_\+\+U\+V\+S\+C\+R\+O\+LL&Constant u/v scrolling effect. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ET\_USCROLL@{ET\_USCROLL}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!ET\_USCROLL@{ET\_USCROLL}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626ab5e67e4d891aad2e60925b216de34f08}\label{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626ab5e67e4d891aad2e60925b216de34f08}} 
E\+T\+\_\+\+U\+S\+C\+R\+O\+LL&Constant u scrolling effect. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ET\_VSCROLL@{ET\_VSCROLL}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!ET\_VSCROLL@{ET\_VSCROLL}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a97f8687c21d13e08b89d22902919acaa}\label{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a97f8687c21d13e08b89d22902919acaa}} 
E\+T\+\_\+\+V\+S\+C\+R\+O\+LL&Constant u/v scrolling effect. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ET\_ROTATE@{ET\_ROTATE}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!ET\_ROTATE@{ET\_ROTATE}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a9afa2c9da615898c1a045e19bb3e602b}\label{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a9afa2c9da615898c1a045e19bb3e602b}} 
E\+T\+\_\+\+R\+O\+T\+A\+TE&Constant rotation. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ET\_TRANSFORM@{ET\_TRANSFORM}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!ET\_TRANSFORM@{ET\_TRANSFORM}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a97cd551c90f9f6000fe231f542815852}\label{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a97cd551c90f9f6000fe231f542815852}} 
E\+T\+\_\+\+T\+R\+A\+N\+S\+F\+O\+RM&More complex transform. \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931e}\label{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931e}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!EnvMapType@{EnvMapType}}
\index{EnvMapType@{EnvMapType}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{EnvMapType}{EnvMapType}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931e}{Ogre\+::\+Texture\+Unit\+State\+::\+Env\+Map\+Type}}}



Enumeration to specify type of envmap. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ENV\_PLANAR@{ENV\_PLANAR}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!ENV\_PLANAR@{ENV\_PLANAR}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931ea50895f1c891eedb007500965ca4c204a}\label{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931ea50895f1c891eedb007500965ca4c204a}} 
E\+N\+V\+\_\+\+P\+L\+A\+N\+AR&Envmap based on vector from camera to vertex position, good for planar geometry. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ENV\_CURVED@{ENV\_CURVED}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!ENV\_CURVED@{ENV\_CURVED}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931ea5a2d57450ada903ba586826344b7dbcb}\label{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931ea5a2d57450ada903ba586826344b7dbcb}} 
E\+N\+V\+\_\+\+C\+U\+R\+V\+ED&Envmap based on dot of vector from camera to vertex and vertex normal, good for curves. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ENV\_REFLECTION@{ENV\_REFLECTION}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!ENV\_REFLECTION@{ENV\_REFLECTION}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931ea3983cce37fbce61c118d202278166be9}\label{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931ea3983cce37fbce61c118d202278166be9}} 
E\+N\+V\+\_\+\+R\+E\+F\+L\+E\+C\+T\+I\+ON&Envmap intended to supply reflection vectors for cube mapping. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ENV\_NORMAL@{ENV\_NORMAL}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!ENV\_NORMAL@{ENV\_NORMAL}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931eae1644f418a586fea471d808485a7a036}\label{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931eae1644f418a586fea471d808485a7a036}} 
E\+N\+V\+\_\+\+N\+O\+R\+M\+AL&Envmap intended to supply normal vectors for cube mapping. \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82d}\label{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82d}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TextureTransformType@{TextureTransformType}}
\index{TextureTransformType@{TextureTransformType}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{TextureTransformType}{TextureTransformType}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82d}{Ogre\+::\+Texture\+Unit\+State\+::\+Texture\+Transform\+Type}}}



Useful enumeration when dealing with procedural transforms. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{TT\_TRANSLATE\_U@{TT\_TRANSLATE\_U}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TT\_TRANSLATE\_U@{TT\_TRANSLATE\_U}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da46631ede4b31d448ebb891daf94cd526}\label{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da46631ede4b31d448ebb891daf94cd526}} 
T\+T\+\_\+\+T\+R\+A\+N\+S\+L\+A\+T\+E\+\_\+U&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{TT\_TRANSLATE\_V@{TT\_TRANSLATE\_V}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TT\_TRANSLATE\_V@{TT\_TRANSLATE\_V}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da81757d80ac644a8da31f107a9cc21fdc}\label{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da81757d80ac644a8da31f107a9cc21fdc}} 
T\+T\+\_\+\+T\+R\+A\+N\+S\+L\+A\+T\+E\+\_\+V&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{TT\_SCALE\_U@{TT\_SCALE\_U}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TT\_SCALE\_U@{TT\_SCALE\_U}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da7160eae1144aeb0cb6428416e465fd88}\label{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da7160eae1144aeb0cb6428416e465fd88}} 
T\+T\+\_\+\+S\+C\+A\+L\+E\+\_\+U&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{TT\_SCALE\_V@{TT\_SCALE\_V}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TT\_SCALE\_V@{TT\_SCALE\_V}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da6e85f00afb893c2bace9a394e5ac9f95}\label{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da6e85f00afb893c2bace9a394e5ac9f95}} 
T\+T\+\_\+\+S\+C\+A\+L\+E\+\_\+V&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{TT\_ROTATE@{TT\_ROTATE}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TT\_ROTATE@{TT\_ROTATE}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82daecf829c4f898451d496f56e774e0eacf}\label{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82daecf829c4f898451d496f56e774e0eacf}} 
T\+T\+\_\+\+R\+O\+T\+A\+TE&\\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3}\label{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TextureCubeFace@{TextureCubeFace}}
\index{TextureCubeFace@{TextureCubeFace}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{TextureCubeFace}{TextureCubeFace}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3}{Ogre\+::\+Texture\+Unit\+State\+::\+Texture\+Cube\+Face}}}



Enum identifying the frame indexes for faces of a cube map (not the composite 3D type. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{CUBE\_FRONT@{CUBE\_FRONT}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!CUBE\_FRONT@{CUBE\_FRONT}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3aa9d74ce7d0576d0dda5b5046a6434529}\label{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3aa9d74ce7d0576d0dda5b5046a6434529}} 
C\+U\+B\+E\+\_\+\+F\+R\+O\+NT&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{CUBE\_BACK@{CUBE\_BACK}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!CUBE\_BACK@{CUBE\_BACK}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a4459a171ecd0fe942dc5b5f8e517ecb2}\label{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a4459a171ecd0fe942dc5b5f8e517ecb2}} 
C\+U\+B\+E\+\_\+\+B\+A\+CK&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{CUBE\_LEFT@{CUBE\_LEFT}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!CUBE\_LEFT@{CUBE\_LEFT}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a2062c3ecab68e4d86345293283f69a19}\label{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a2062c3ecab68e4d86345293283f69a19}} 
C\+U\+B\+E\+\_\+\+L\+E\+FT&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{CUBE\_RIGHT@{CUBE\_RIGHT}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!CUBE\_RIGHT@{CUBE\_RIGHT}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a5044b1ee092361549f2ea953ed344b0a}\label{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a5044b1ee092361549f2ea953ed344b0a}} 
C\+U\+B\+E\+\_\+\+R\+I\+G\+HT&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{CUBE\_UP@{CUBE\_UP}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!CUBE\_UP@{CUBE\_UP}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3ab085d126cff272045a1e616adbd2d726}\label{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3ab085d126cff272045a1e616adbd2d726}} 
C\+U\+B\+E\+\_\+\+UP&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{CUBE\_DOWN@{CUBE\_DOWN}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!CUBE\_DOWN@{CUBE\_DOWN}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a819e8a0cf0892c671d2fb4835780a12a}\label{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a819e8a0cf0892c671d2fb4835780a12a}} 
C\+U\+B\+E\+\_\+\+D\+O\+WN&\\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8}\label{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!BindingType@{BindingType}}
\index{BindingType@{BindingType}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{BindingType}{BindingType}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8}{Ogre\+::\+Texture\+Unit\+State\+::\+Binding\+Type}}}



The type of unit to bind the texture settings to. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000204}{Deprecated}}]only D3\+D9 has separate sampler bindings. All other Render\+Systems use unified pipelines. \end{DoxyRefDesc}
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{BT\_FRAGMENT@{BT\_FRAGMENT}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!BT\_FRAGMENT@{BT\_FRAGMENT}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a39c5f87a9b1c5873ece87f48cba19970}\label{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a39c5f87a9b1c5873ece87f48cba19970}} 
B\+T\+\_\+\+F\+R\+A\+G\+M\+E\+NT&Regular fragment processing unit -\/ the default. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{BT\_VERTEX@{BT\_VERTEX}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!BT\_VERTEX@{BT\_VERTEX}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a857de1fa5e307a5a5b0df779ad4a470e}\label{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a857de1fa5e307a5a5b0df779ad4a470e}} 
B\+T\+\_\+\+V\+E\+R\+T\+EX&Vertex processing unit -\/ indicates this unit will be used for a vertex texture fetch. \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}\label{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!ContentType@{ContentType}}
\index{ContentType@{ContentType}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{ContentType}{ContentType}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}{Ogre\+::\+Texture\+Unit\+State\+::\+Content\+Type}}}



Enum identifying the type of content this texture unit contains. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{CONTENT\_NAMED@{CONTENT\_NAMED}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!CONTENT\_NAMED@{CONTENT\_NAMED}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030a1bffc0ebc06c072fd00b5e032ba3ce01}\label{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030a1bffc0ebc06c072fd00b5e032ba3ce01}} 
C\+O\+N\+T\+E\+N\+T\+\_\+\+N\+A\+M\+ED&The default option, this derives texture content from a texture name, loaded by ordinary means from a file or having been manually created with a given name. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{CONTENT\_SHADOW@{CONTENT\_SHADOW}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!CONTENT\_SHADOW@{CONTENT\_SHADOW}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030a781de9de8d083db90677da1176d8ba82}\label{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030a781de9de8d083db90677da1176d8ba82}} 
C\+O\+N\+T\+E\+N\+T\+\_\+\+S\+H\+A\+D\+OW&A shadow texture, automatically bound by engine. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{CONTENT\_COMPOSITOR@{CONTENT\_COMPOSITOR}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!CONTENT\_COMPOSITOR@{CONTENT\_COMPOSITOR}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030a56ccbe92a25c96ed721ecbe17301bfc1}\label{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030a56ccbe92a25c96ed721ecbe17301bfc1}} 
C\+O\+N\+T\+E\+N\+T\+\_\+\+C\+O\+M\+P\+O\+S\+I\+T\+OR&This option allows you to reference a texture from a compositor, and is only valid when the pass is rendered within a compositor sequence. \\
\hline

\end{DoxyEnumFields}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a310855c1a22c81688d276cbaf62bd1bb}\label{class_ogre_1_1_texture_unit_state_a310855c1a22c81688d276cbaf62bd1bb}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TextureUnitState@{TextureUnitState}}
\index{TextureUnitState@{TextureUnitState}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{TextureUnitState()}{TextureUnitState()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily Ogre\+::\+Texture\+Unit\+State\+::\+Texture\+Unit\+State (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$}]{parent }\end{DoxyParamCaption})}



Default constructor. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a474f19d881bffa023e05852ad94c727a}\label{class_ogre_1_1_texture_unit_state_a474f19d881bffa023e05852ad94c727a}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TextureUnitState@{TextureUnitState}}
\index{TextureUnitState@{TextureUnitState}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{TextureUnitState()}{TextureUnitState()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily Ogre\+::\+Texture\+Unit\+State\+::\+Texture\+Unit\+State (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$}]{parent,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} \&}]{oth }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a21c2ac927f9f93472af7c8554c73bb0e}\label{class_ogre_1_1_texture_unit_state_a21c2ac927f9f93472af7c8554c73bb0e}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!````~TextureUnitState@{$\sim$TextureUnitState}}
\index{````~TextureUnitState@{$\sim$TextureUnitState}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{$\sim$TextureUnitState()}{~TextureUnitState()}}
{\footnotesize\ttfamily Ogre\+::\+Texture\+Unit\+State\+::$\sim$\+Texture\+Unit\+State (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Default destructor. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a9b8a41ad39710320e10738f0a7d96f0d}\label{class_ogre_1_1_texture_unit_state_a9b8a41ad39710320e10738f0a7d96f0d}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TextureUnitState@{TextureUnitState}}
\index{TextureUnitState@{TextureUnitState}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{TextureUnitState()}{TextureUnitState()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily Ogre\+::\+Texture\+Unit\+State\+::\+Texture\+Unit\+State (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$}]{parent,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{tex\+Name,  }\item[{unsigned int}]{tex\+Coord\+Set = {\ttfamily 0} }\end{DoxyParamCaption})}



Name-\/based constructor. 


\begin{DoxyParams}{Parameters}
{\em tex\+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}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_aba48cec6d1b8ce8973b0fa1dac2312b7}\label{class_ogre_1_1_texture_unit_state_aba48cec6d1b8ce8973b0fa1dac2312b7}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!operator=@{operator=}}
\index{operator=@{operator=}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}}\& Ogre\+::\+Texture\+Unit\+State\+::operator= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} \&}]{oth }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ad5215e862e9de0e2449835cbc579afef}\label{class_ogre_1_1_texture_unit_state_ad5215e862e9de0e2449835cbc579afef}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureName@{getTextureName}}
\index{getTextureName@{getTextureName}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureName()}{getTextureName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get the name of current texture image for this layer. 

\begin{DoxyRemark}{Remarks}
This will either always be a single name for this layer, or will be the name of the current frame for an animated or otherwise multi-\/frame texture. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_aa2261f5949b6e8185e46999b7ddaf93f}\label{class_ogre_1_1_texture_unit_state_aa2261f5949b6e8185e46999b7ddaf93f}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureName@{setTextureName}}
\index{setTextureName@{setTextureName}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureName()}{setTextureName()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}}]{ttype = {\ttfamily \mbox{\hyperlink{group___resources_ggae50520af6377ff8184cf79125cb9c4d7af1f732018f5a2a7d35233e2ceeb4ee0e}{T\+E\+X\+\_\+\+T\+Y\+P\+E\+\_\+2D}}} }\end{DoxyParamCaption})}



Sets this texture layer to use a single texture, given the name of the texture to use on this layer. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a5da15b05f88f28597b0eb6e400e6242a}\label{class_ogre_1_1_texture_unit_state_a5da15b05f88f28597b0eb6e400e6242a}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTexture@{setTexture}}
\index{setTexture@{setTexture}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTexture()}{setTexture()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \&}]{tex\+Ptr }\end{DoxyParamCaption})}



Sets this texture layer to use a single texture, given the pointer to the texture to use on this layer. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_aef7c395bc62173060141717a79681a97}\label{class_ogre_1_1_texture_unit_state_aef7c395bc62173060141717a79681a97}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setCubicTextureName@{setCubicTextureName}}
\index{setCubicTextureName@{setCubicTextureName}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setCubicTextureName()}{setCubicTextureName()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Cubic\+Texture\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{bool}]{for\+U\+VW = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000200}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aa2261f5949b6e8185e46999b7ddaf93f}{set\+Texture\+Name()}} \end{DoxyRefDesc}


References Ogre\+::\+T\+E\+X\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+U\+B\+E\+\_\+\+M\+AP.

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ae19baf627a3dffd5795985bb16f4967b}\label{class_ogre_1_1_texture_unit_state_ae19baf627a3dffd5795985bb16f4967b}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setCubicTextureName@{setCubicTextureName}}
\index{setCubicTextureName@{setCubicTextureName}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setCubicTextureName()}{setCubicTextureName()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Cubic\+Texture\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} $\ast$const}]{names,  }\item[{bool}]{for\+U\+VW = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000201}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a7b583996c99d3495c02565f0f8863727}{set\+Layer\+Array\+Names()}}\end{DoxyRefDesc}


References Ogre\+::\+T\+E\+X\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+U\+B\+E\+\_\+\+M\+AP.

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a9f64f66afe24fa8f6bbf0141d8602649}\label{class_ogre_1_1_texture_unit_state_a9f64f66afe24fa8f6bbf0141d8602649}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setCubicTexture@{setCubicTexture}}
\index{setCubicTexture@{setCubicTexture}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setCubicTexture()}{setCubicTexture()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Cubic\+Texture (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} $\ast$const}]{tex\+Ptrs,  }\item[{bool}]{for\+U\+VW = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000202}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a5da15b05f88f28597b0eb6e400e6242a}{set\+Texture()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_af817f7e010b7e3ef2672004749ec2ee0}\label{class_ogre_1_1_texture_unit_state_af817f7e010b7e3ef2672004749ec2ee0}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setAnimatedTextureName@{setAnimatedTextureName}}
\index{setAnimatedTextureName@{setAnimatedTextureName}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setAnimatedTextureName()}{setAnimatedTextureName()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Animated\+Texture\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{size\+\_\+t}]{num\+Frames,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{duration = {\ttfamily 0} }\end{DoxyParamCaption})}



Sets the names of the texture images for an animated texture. 

Animated textures are just a series of images making up the frames of the animation. All the images must be the same size, and their names must have a frame number appended before the extension, e.\+g. if you specify a name of \char`\"{}flame.\+jpg\char`\"{} with 3 frames, the image names must be \char`\"{}flame\+\_\+0.\+jpg\char`\"{}, \char`\"{}flame\+\_\+1.\+jpg\char`\"{} and \char`\"{}flame\+\_\+2.\+jpg\char`\"{}.

You can change the active frame on a texture layer by calling the set\+Current\+Frame method. \begin{DoxyNote}{Note}
If you can\textquotesingle{}t make your texture images conform to the naming standard laid out here, you can call the alternative set\+Animated\+Texture\+Name method which takes an array of names instead. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em name} & The base name of the textures to use e.\+g. flame.\+jpg for frames flame\+\_\+0.\+jpg, flame\+\_\+1.\+jpg etc. \\
\hline
{\em num\+Frames} & The number of frames in the sequence. \\
\hline
{\em duration} & The length of time it takes to display the whole animation sequence, in seconds. If 0, no automatic transition occurs. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a0420c831b2821e1ee111b2fbe165eb02}\label{class_ogre_1_1_texture_unit_state_a0420c831b2821e1ee111b2fbe165eb02}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setAnimatedTextureName@{setAnimatedTextureName}}
\index{setAnimatedTextureName@{setAnimatedTextureName}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setAnimatedTextureName()}{setAnimatedTextureName()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Animated\+Texture\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} $\ast$const}]{names,  }\item[{size\+\_\+t}]{num\+Frames,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{duration = {\ttfamily 0} }\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 names} & Pointer to array of names of the textures to use, in frame order. \\
\hline
\end{DoxyParams}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000203}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a68034fde4bd5f0251e96d62349a903ba}{set\+Animated\+Texture\+Name( const std\+::vector$<$\+String$>$\&, Real )}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a68034fde4bd5f0251e96d62349a903ba}\label{class_ogre_1_1_texture_unit_state_a68034fde4bd5f0251e96d62349a903ba}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setAnimatedTextureName@{setAnimatedTextureName}}
\index{setAnimatedTextureName@{setAnimatedTextureName}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setAnimatedTextureName()}{setAnimatedTextureName()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Animated\+Texture\+Name (\begin{DoxyParamCaption}\item[{const std\+::vector$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} $>$ \&}]{names,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{duration = {\ttfamily 0} }\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_texture_unit_state_a7b583996c99d3495c02565f0f8863727}\label{class_ogre_1_1_texture_unit_state_a7b583996c99d3495c02565f0f8863727}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setLayerArrayNames@{setLayerArrayNames}}
\index{setLayerArrayNames@{setLayerArrayNames}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setLayerArrayNames()}{setLayerArrayNames()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Layer\+Array\+Names (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}}]{type,  }\item[{const std\+::vector$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} $>$ \&}]{names }\end{DoxyParamCaption})}



Sets this texture layer to use an array of texture maps. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ab5264a89056790b0c74553b92e65b12e}\label{class_ogre_1_1_texture_unit_state_ab5264a89056790b0c74553b92e65b12e}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureDimensions@{getTextureDimensions}}
\index{getTextureDimensions@{getTextureDimensions}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureDimensions()}{getTextureDimensions()}}
{\footnotesize\ttfamily std\+::pair$<$ size\+\_\+t, size\+\_\+t $>$ Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Dimensions (\begin{DoxyParamCaption}\item[{unsigned int}]{frame = {\ttfamily 0} }\end{DoxyParamCaption}) const}



Returns the width and height of the texture in the given frame. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a040a7a49541296837b3e0a0289b7c4c8}\label{class_ogre_1_1_texture_unit_state_a040a7a49541296837b3e0a0289b7c4c8}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setCurrentFrame@{setCurrentFrame}}
\index{setCurrentFrame@{setCurrentFrame}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setCurrentFrame()}{setCurrentFrame()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Current\+Frame (\begin{DoxyParamCaption}\item[{unsigned int}]{frame\+Number }\end{DoxyParamCaption})}



Changes the active frame in an animated or multi-\/image texture. 

An animated texture (or a cubic texture where the images are not combined for 3D use) is made up of a number of frames. This method sets the active frame. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a66a53409852d79a7f02a8c19dc405092}\label{class_ogre_1_1_texture_unit_state_a66a53409852d79a7f02a8c19dc405092}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getCurrentFrame@{getCurrentFrame}}
\index{getCurrentFrame@{getCurrentFrame}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getCurrentFrame()}{getCurrentFrame()}}
{\footnotesize\ttfamily unsigned int Ogre\+::\+Texture\+Unit\+State\+::get\+Current\+Frame (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the active frame in an animated or multi-\/image texture layer. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a03743bd89016116355b7d2cc4eb97006}\label{class_ogre_1_1_texture_unit_state_a03743bd89016116355b7d2cc4eb97006}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getFrameTextureName@{getFrameTextureName}}
\index{getFrameTextureName@{getFrameTextureName}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getFrameTextureName()}{getFrameTextureName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Frame\+Texture\+Name (\begin{DoxyParamCaption}\item[{unsigned int}]{frame\+Number }\end{DoxyParamCaption}) const}



Gets the name of the texture associated with a frame number. 

Throws an exception if frame\+Number exceeds the number of stored frames. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_affd8342a0a86bc34f727dc6b4b21f565}\label{class_ogre_1_1_texture_unit_state_affd8342a0a86bc34f727dc6b4b21f565}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setFrameTextureName@{setFrameTextureName}}
\index{setFrameTextureName@{setFrameTextureName}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setFrameTextureName()}{setFrameTextureName()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Frame\+Texture\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{unsigned int}]{frame\+Number }\end{DoxyParamCaption})}



Sets the name of the texture associated with a frame. 


\begin{DoxyParams}{Parameters}
{\em name} & The name of the texture. \\
\hline
{\em frame\+Number} & The frame the texture name is to be placed in. \\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
Throws an exception if frame\+Number exceeds the number of stored frames. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a8532ad689770975afe46a3ddd49123a8}\label{class_ogre_1_1_texture_unit_state_a8532ad689770975afe46a3ddd49123a8}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!addFrameTextureName@{addFrameTextureName}}
\index{addFrameTextureName@{addFrameTextureName}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{addFrameTextureName()}{addFrameTextureName()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::add\+Frame\+Texture\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



Add a \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} name to the end of the frame container. 


\begin{DoxyParams}{Parameters}
{\em name} & The name of the texture. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a7997d8a1385a7538a443c74d94a7cf75}\label{class_ogre_1_1_texture_unit_state_a7997d8a1385a7538a443c74d94a7cf75}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!deleteFrameTextureName@{deleteFrameTextureName}}
\index{deleteFrameTextureName@{deleteFrameTextureName}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{deleteFrameTextureName()}{deleteFrameTextureName()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::delete\+Frame\+Texture\+Name (\begin{DoxyParamCaption}\item[{const size\+\_\+t}]{frame\+Number }\end{DoxyParamCaption})}



Deletes a specific texture frame. 

The texture used is not deleted but the texture will no longer be used by the \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit. An exception is raised if the frame number exceeds the number of actual frames. 
\begin{DoxyParams}{Parameters}
{\em frame\+Number} & The frame number of the texture to be deleted. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a2f6eecd5b329f25365bd6b3a4050cd1b}\label{class_ogre_1_1_texture_unit_state_a2f6eecd5b329f25365bd6b3a4050cd1b}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getNumFrames@{getNumFrames}}
\index{getNumFrames@{getNumFrames}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getNumFrames()}{getNumFrames()}}
{\footnotesize\ttfamily unsigned int Ogre\+::\+Texture\+Unit\+State\+::get\+Num\+Frames (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the number of frames for a texture. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a0ab7a2779ea196f2d51435d12a02d81f}\label{class_ogre_1_1_texture_unit_state_a0ab7a2779ea196f2d51435d12a02d81f}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setBindingType@{setBindingType}}
\index{setBindingType@{setBindingType}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setBindingType()}{setBindingType()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Binding\+Type (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8}{Binding\+Type}}}]{bt }\end{DoxyParamCaption})}



Sets the type of unit these texture settings should be bound to. 

Some render systems, when implementing vertex texture fetch, separate the binding of textures for use in the vertex program versus those used in fragment programs. This setting allows you to target the vertex processing unit with a texture binding, in those cases. For rendersystems which have a unified binding for the vertex and fragment units, this setting makes no difference. \begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000205}{Deprecated}}]see \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8}{Ogre\+::\+Texture\+Unit\+State\+::\+Binding\+Type}} comment \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a3b5783f584c51bed687ec033bda01f1c}\label{class_ogre_1_1_texture_unit_state_a3b5783f584c51bed687ec033bda01f1c}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getBindingType@{getBindingType}}
\index{getBindingType@{getBindingType}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getBindingType()}{getBindingType()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8}{Binding\+Type}} Ogre\+::\+Texture\+Unit\+State\+::get\+Binding\+Type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the type of unit these texture settings should be bound to. 

~\newline
 \begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000206}{Deprecated}}]see \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8}{Binding\+Type}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_adfaae68c0291e96fb75ba217d94e67bf}\label{class_ogre_1_1_texture_unit_state_adfaae68c0291e96fb75ba217d94e67bf}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setContentType@{setContentType}}
\index{setContentType@{setContentType}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setContentType()}{setContentType()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Content\+Type (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}{Content\+Type}}}]{ct }\end{DoxyParamCaption})}



Set the type of content this \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} references. 

\begin{DoxyRemark}{Remarks}
The default is to reference a standard named texture, but this unit can also reference automated content like a shadow texture. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a1550b60ebc8506c725b1157e02c8eb6b}\label{class_ogre_1_1_texture_unit_state_a1550b60ebc8506c725b1157e02c8eb6b}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getContentType@{getContentType}}
\index{getContentType@{getContentType}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getContentType()}{getContentType()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}{Content\+Type}} Ogre\+::\+Texture\+Unit\+State\+::get\+Content\+Type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get the type of content this \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} references. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_afe0aa6be6db7207ca6d439b6e52d33d8}\label{class_ogre_1_1_texture_unit_state_afe0aa6be6db7207ca6d439b6e52d33d8}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!isCubic@{isCubic}}
\index{isCubic@{isCubic}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{isCubic()}{isCubic()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::is\+Cubic (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000207}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a702d2aee57c42cff6f34be00dc175fbc}{get\+Texture\+Type()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a6decf13e49ebeafb9556479fb2022286}\label{class_ogre_1_1_texture_unit_state_a6decf13e49ebeafb9556479fb2022286}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!is3D@{is3D}}
\index{is3D@{is3D}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{is3D()}{is3D()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::is3D (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000208}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a702d2aee57c42cff6f34be00dc175fbc}{get\+Texture\+Type()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a702d2aee57c42cff6f34be00dc175fbc}\label{class_ogre_1_1_texture_unit_state_a702d2aee57c42cff6f34be00dc175fbc}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureType@{getTextureType}}
\index{getTextureType@{getTextureType}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureType()}{getTextureType()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}} Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns the type of this texture. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a09a45c146f4e26397d2f5b0d885bd893}\label{class_ogre_1_1_texture_unit_state_a09a45c146f4e26397d2f5b0d885bd893}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setDesiredFormat@{setDesiredFormat}}
\index{setDesiredFormat@{setDesiredFormat}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setDesiredFormat()}{setDesiredFormat()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Desired\+Format (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{desired\+Format }\end{DoxyParamCaption})}



Sets the desired pixel format for the texture surface; can only be set before load(). 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a485e6e427102e4b59d0225db39376c0f}\label{class_ogre_1_1_texture_unit_state_a485e6e427102e4b59d0225db39376c0f}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getDesiredFormat@{getDesiredFormat}}
\index{getDesiredFormat@{getDesiredFormat}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getDesiredFormat()}{getDesiredFormat()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} Ogre\+::\+Texture\+Unit\+State\+::get\+Desired\+Format (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns the desired pixel format for the texture surface. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_aca6e1c5091f01b523e71952a17ad635b}\label{class_ogre_1_1_texture_unit_state_aca6e1c5091f01b523e71952a17ad635b}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setNumMipmaps@{setNumMipmaps}}
\index{setNumMipmaps@{setNumMipmaps}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setNumMipmaps()}{setNumMipmaps()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Num\+Mipmaps (\begin{DoxyParamCaption}\item[{int}]{num\+Mipmaps }\end{DoxyParamCaption})}



Sets the number of mipmaps to be used for this texture. 

\begin{DoxyNote}{Note}
Must be set before calling any \textquotesingle{}load\textquotesingle{} method. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ac3823882187ae6499feacd94366f0410}\label{class_ogre_1_1_texture_unit_state_ac3823882187ae6499feacd94366f0410}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getNumMipmaps@{getNumMipmaps}}
\index{getNumMipmaps@{getNumMipmaps}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getNumMipmaps()}{getNumMipmaps()}}
{\footnotesize\ttfamily int Ogre\+::\+Texture\+Unit\+State\+::get\+Num\+Mipmaps (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets how many mipmaps have been requested for the texture. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a14b38dfbd84aec82f1bbe9f34e121180}\label{class_ogre_1_1_texture_unit_state_a14b38dfbd84aec82f1bbe9f34e121180}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setIsAlpha@{setIsAlpha}}
\index{setIsAlpha@{setIsAlpha}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setIsAlpha()}{setIsAlpha()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Is\+Alpha (\begin{DoxyParamCaption}\item[{bool}]{is\+Alpha }\end{DoxyParamCaption})}



specify that a single channel (luminance) texture should be loaded as alpha 

rather than the default which is to load it into the red channel. This can be helpful if you want to use alpha-\/only textures in the fixed function pipeline. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a25ac216db34ab5471ba58903061c38f2}\label{class_ogre_1_1_texture_unit_state_a25ac216db34ab5471ba58903061c38f2}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getIsAlpha@{getIsAlpha}}
\index{getIsAlpha@{getIsAlpha}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getIsAlpha()}{getIsAlpha()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::get\+Is\+Alpha (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets whether luminace pixel format will treated as alpha format when load this texture. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a48e4c2e1ff89ed2653cf0238da7bb21f}\label{class_ogre_1_1_texture_unit_state_a48e4c2e1ff89ed2653cf0238da7bb21f}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getGamma@{getGamma}}
\index{getGamma@{getGamma}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getGamma()}{getGamma()}}
{\footnotesize\ttfamily float Ogre\+::\+Texture\+Unit\+State\+::get\+Gamma (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Returns the gamma adjustment factor applied to this texture on loading. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a3859b558bf648b9825136156d9ebcae1}\label{class_ogre_1_1_texture_unit_state_a3859b558bf648b9825136156d9ebcae1}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setGamma@{setGamma}}
\index{setGamma@{setGamma}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setGamma()}{setGamma()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Gamma (\begin{DoxyParamCaption}\item[{float}]{gamma }\end{DoxyParamCaption})}



Sets the gamma adjustment factor applied to this texture on loading the data. 

\begin{DoxyNote}{Note}
Must be called before any \textquotesingle{}load\textquotesingle{} method. This gamma factor will be premultiplied in and may reduce the precision of your textures. You can use set\+Hardware\+Gamma if supported to apply gamma on sampling the texture instead. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a09d08169e1c108c435fa595a227e87ad}\label{class_ogre_1_1_texture_unit_state_a09d08169e1c108c435fa595a227e87ad}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setHardwareGammaEnabled@{setHardwareGammaEnabled}}
\index{setHardwareGammaEnabled@{setHardwareGammaEnabled}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setHardwareGammaEnabled()}{setHardwareGammaEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Hardware\+Gamma\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}



Sets whether this texture will be set up so that on sampling it, hardware gamma correction is applied. 

\begin{DoxyRemark}{Remarks}
24-\/bit textures are often saved in gamma colour space; this preserves precision in the \textquotesingle{}darks\textquotesingle{}. However, if you\textquotesingle{}re performing blending on the sampled colours, you really want to be doing it in linear space. One way is to apply a gamma correction value on loading (see set\+Gamma), but this means you lose precision in those dark colours. An alternative is to get the hardware to do the gamma correction when reading the texture and converting it to a floating point value for the rest of the pipeline. This option allows you to do that; it\textquotesingle{}s only supported in relatively recent hardware (others will ignore it) but can improve the quality of colour reproduction. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
Must be called before any \textquotesingle{}load\textquotesingle{} method since it may affect the construction of the underlying hardware resources. Also note this only useful on textures using 8-\/bit colour channels. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a073cf9903b594cf1bb08b703934bf62d}\label{class_ogre_1_1_texture_unit_state_a073cf9903b594cf1bb08b703934bf62d}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!isHardwareGammaEnabled@{isHardwareGammaEnabled}}
\index{isHardwareGammaEnabled@{isHardwareGammaEnabled}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{isHardwareGammaEnabled()}{isHardwareGammaEnabled()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::is\+Hardware\+Gamma\+Enabled (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Gets whether this texture will be set up so that on sampling it, hardware gamma correction is applied. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a4b56b581407240e7b5139d779e1d2a8f}\label{class_ogre_1_1_texture_unit_state_a4b56b581407240e7b5139d779e1d2a8f}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureCoordSet@{getTextureCoordSet}}
\index{getTextureCoordSet@{getTextureCoordSet}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureCoordSet()}{getTextureCoordSet()}}
{\footnotesize\ttfamily unsigned int Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Coord\+Set (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the index of the set of texture co-\/ords this layer uses. 

\begin{DoxyNote}{Note}
Only applies to the fixed function pipeline and has no effect if a fragment program is used. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a70c55b5db14e54e2e7a991f548b6387d}\label{class_ogre_1_1_texture_unit_state_a70c55b5db14e54e2e7a991f548b6387d}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureCoordSet@{setTextureCoordSet}}
\index{setTextureCoordSet@{setTextureCoordSet}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureCoordSet()}{setTextureCoordSet()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Coord\+Set (\begin{DoxyParamCaption}\item[{unsigned int}]{set }\end{DoxyParamCaption})}



Sets which texture coordinate set is to be used for this texture layer. 

A mesh can define multiple sets of texture coordinates, this sets which one this material uses. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ac7f99a83fe25f06af508b55e3ab381da}\label{class_ogre_1_1_texture_unit_state_ac7f99a83fe25f06af508b55e3ab381da}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureTransform@{setTextureTransform}}
\index{setTextureTransform@{setTextureTransform}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureTransform()}{setTextureTransform()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Transform (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_matrix4}{Matrix4}} \&}]{xform }\end{DoxyParamCaption})}



Sets a matrix used to transform any texture coordinates on this layer. 

\mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} coordinates can be modified on a texture layer to create effects like scrolling textures. A texture transform can either be applied to a layer which takes the source coordinates from a fixed set in the geometry, or to one which generates them dynamically (e.\+g. environment mapping).

It\textquotesingle{}s obviously a bit impractical to create scrolling effects by calling this method manually since you would have to call it every frame with a slight alteration each time, which is tedious. Instead you can use set\+Transform\+Animation which will manage the effect over time for you.

In addition, if you can et the individual texture transformations rather than concatenating them yourself.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a354b3466d8c49e6f0057dea8206d3dd4}{Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Scroll}} 

\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aa5be6f7e13179f692c9af7c494c703cf}{Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Scale}} 

\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a9239845b4de453c450e40f2c5f46cc8d}{Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Rotate}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a4636d2377419dcff47a0d55ae840d4d7}\label{class_ogre_1_1_texture_unit_state_a4636d2377419dcff47a0d55ae840d4d7}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureTransform@{getTextureTransform}}
\index{getTextureTransform@{getTextureTransform}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureTransform()}{getTextureTransform()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_matrix4}{Matrix4}}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Transform (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the current texture transformation matrix. 

Causes a reclaculation of the matrix if any parameters have been changed via set\+Texture\+Scroll, set\+Texture\+Scale and set\+Texture\+Rotate. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a354b3466d8c49e6f0057dea8206d3dd4}\label{class_ogre_1_1_texture_unit_state_a354b3466d8c49e6f0057dea8206d3dd4}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureScroll@{setTextureScroll}}
\index{setTextureScroll@{setTextureScroll}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureScroll()}{setTextureScroll()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Scroll (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{u,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{v }\end{DoxyParamCaption})}



Sets the translation offset of the texture, ie scrolls the texture. 

This method sets the translation element of the texture transformation, and is easier to use than set\+Texture\+Transform if you are combining translation, scaling and rotation in your texture transformation. If you want to animate these values use \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a45bd669bcc64ec417fe4208aa5cfd685}{Ogre\+::\+Texture\+Unit\+State\+::set\+Scroll\+Animation}} 
\begin{DoxyParams}{Parameters}
{\em u} & The amount the texture should be moved horizontally (u direction). \\
\hline
{\em v} & The amount the texture should be moved vertically (v direction). \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a8b8123ca656ea172565cb6d4e9ef8224}\label{class_ogre_1_1_texture_unit_state_a8b8123ca656ea172565cb6d4e9ef8224}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureUScroll@{setTextureUScroll}}
\index{setTextureUScroll@{setTextureUScroll}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureUScroll()}{setTextureUScroll()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+U\+Scroll (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{value }\end{DoxyParamCaption})}



As set\+Texture\+Scroll, but sets only U value. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a3ea082c5d8faf352a6e23d35e443056c}\label{class_ogre_1_1_texture_unit_state_a3ea082c5d8faf352a6e23d35e443056c}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureUScroll@{getTextureUScroll}}
\index{getTextureUScroll@{getTextureUScroll}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureUScroll()}{getTextureUScroll()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+U\+Scroll (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get texture uscroll value. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a83752e3f64f9a345abbfd143f213f586}\label{class_ogre_1_1_texture_unit_state_a83752e3f64f9a345abbfd143f213f586}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureVScroll@{setTextureVScroll}}
\index{setTextureVScroll@{setTextureVScroll}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureVScroll()}{setTextureVScroll()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+V\+Scroll (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{value }\end{DoxyParamCaption})}



As set\+Texture\+Scroll, but sets only V value. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a4f191c61087ac4bdbbad78b758b43244}\label{class_ogre_1_1_texture_unit_state_a4f191c61087ac4bdbbad78b758b43244}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureVScroll@{getTextureVScroll}}
\index{getTextureVScroll@{getTextureVScroll}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureVScroll()}{getTextureVScroll()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+V\+Scroll (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get texture vscroll value. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a112573713ccb2f221acf4a6d4c95c64c}\label{class_ogre_1_1_texture_unit_state_a112573713ccb2f221acf4a6d4c95c64c}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureUScale@{setTextureUScale}}
\index{setTextureUScale@{setTextureUScale}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureUScale()}{setTextureUScale()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+U\+Scale (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{value }\end{DoxyParamCaption})}



As set\+Texture\+Scale, but sets only U value. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ab7996e6ea470360d7b772b4bb27e2aad}\label{class_ogre_1_1_texture_unit_state_ab7996e6ea470360d7b772b4bb27e2aad}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureUScale@{getTextureUScale}}
\index{getTextureUScale@{getTextureUScale}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureUScale()}{getTextureUScale()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+U\+Scale (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get texture uscale value. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_af73cbd6d4bc2dbf21596da3a8d0dc4fd}\label{class_ogre_1_1_texture_unit_state_af73cbd6d4bc2dbf21596da3a8d0dc4fd}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureVScale@{setTextureVScale}}
\index{setTextureVScale@{setTextureVScale}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureVScale()}{setTextureVScale()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+V\+Scale (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{value }\end{DoxyParamCaption})}



As set\+Texture\+Scale, but sets only V value. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ab9fca20cb5698d2583a1496c61f830bb}\label{class_ogre_1_1_texture_unit_state_ab9fca20cb5698d2583a1496c61f830bb}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureVScale@{getTextureVScale}}
\index{getTextureVScale@{getTextureVScale}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureVScale()}{getTextureVScale()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+V\+Scale (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get texture vscale value. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_aa5be6f7e13179f692c9af7c494c703cf}\label{class_ogre_1_1_texture_unit_state_aa5be6f7e13179f692c9af7c494c703cf}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureScale@{setTextureScale}}
\index{setTextureScale@{setTextureScale}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureScale()}{setTextureScale()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Scale (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{u\+Scale,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{v\+Scale }\end{DoxyParamCaption})}



Sets the scaling factor applied to texture coordinates. 

This method sets the scale element of the texture transformation, and is easier to use than set\+Texture\+Transform if you are combining translation, scaling and rotation in your texture transformation.

If you want to animate these values use \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_af56112cb1e6d144b8fd63b280d8ae350}{Ogre\+::\+Texture\+Unit\+State\+::set\+Transform\+Animation}} 
\begin{DoxyParams}{Parameters}
{\em u\+Scale} & The value by which the texture is to be scaled horizontally. \\
\hline
{\em v\+Scale} & The value by which the texture is to be scaled vertically. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a9239845b4de453c450e40f2c5f46cc8d}\label{class_ogre_1_1_texture_unit_state_a9239845b4de453c450e40f2c5f46cc8d}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureRotate@{setTextureRotate}}
\index{setTextureRotate@{setTextureRotate}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureRotate()}{setTextureRotate()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Rotate (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_radian}{Radian}} \&}]{angle }\end{DoxyParamCaption})}



Sets the anticlockwise rotation factor applied to texture coordinates. 

This sets a fixed rotation angle -\/ if you wish to animate this, use \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a72e3695b81f12b32762237c5de202dff}{Ogre\+::\+Texture\+Unit\+State\+::set\+Rotate\+Animation}} 
\begin{DoxyParams}{Parameters}
{\em angle} & The angle of rotation (anticlockwise). \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a35f96567f246a00d967afcafccf242eb}\label{class_ogre_1_1_texture_unit_state_a35f96567f246a00d967afcafccf242eb}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureRotate@{getTextureRotate}}
\index{getTextureRotate@{getTextureRotate}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureRotate()}{getTextureRotate()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_radian}{Radian}}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Rotate (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get texture rotation effects angle value. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_aa88ea41c2ca613564f61c4b0d8b24203}\label{class_ogre_1_1_texture_unit_state_aa88ea41c2ca613564f61c4b0d8b24203}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getSampler@{getSampler}}
\index{getSampler@{getSampler}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getSampler()}{getSampler()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___materials_ga34843c20652d796e4e3aab70dc1786c3}{Sampler\+Ptr}}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Sampler (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



get the associated sampler 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a2b3791c291aef832a03eb4582d71ed33}\label{class_ogre_1_1_texture_unit_state_a2b3791c291aef832a03eb4582d71ed33}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setSampler@{setSampler}}
\index{setSampler@{setSampler}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setSampler()}{setSampler()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Sampler (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group___materials_ga34843c20652d796e4e3aab70dc1786c3}{Sampler\+Ptr}} \&}]{sampler }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ad25d04ad14d562c9e55d18da5695c898}\label{class_ogre_1_1_texture_unit_state_ad25d04ad14d562c9e55d18da5695c898}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureAddressingMode@{getTextureAddressingMode}}
\index{getTextureAddressingMode@{getTextureAddressingMode}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureAddressingMode()}{getTextureAddressingMode()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{struct_ogre_1_1_sampler_1_1_u_v_w_addressing_mode}{Sampler\+::\+U\+V\+W\+Addressing\+Mode}}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Addressing\+Mode (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Sets the texture addressing mode, i.\+e. 

what happens at uv values above 1.\+0.

The default is T\+A\+M\+\_\+\+W\+R\+AP i.\+e. the texture repeats over values of 1.\+0. This is a shortcut method which sets the addressing mode for all coordinates at once; you can also call the more specific method to set the addressing mode per coordinate.

This is a shortcut method which sets the addressing mode for all coordinates at once; you can also call the more specific method to set the addressing mode per coordinate. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a06aef1d348eb56c1289c5791013bb1f7}\label{class_ogre_1_1_texture_unit_state_a06aef1d348eb56c1289c5791013bb1f7}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureAddressingMode@{setTextureAddressingMode}}
\index{setTextureAddressingMode@{setTextureAddressingMode}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureAddressingMode()}{setTextureAddressingMode()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Addressing\+Mode (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}}}]{tam }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets the texture addressing mode, i.\+e. 

what happens at uv values above 1.\+0.

The default is T\+A\+M\+\_\+\+W\+R\+AP i.\+e. the texture repeats over values of 1.\+0. This is a shortcut method which sets the addressing mode for all coordinates at once; you can also call the more specific method to set the addressing mode per coordinate.

This is a shortcut method which sets the addressing mode for all coordinates at once; you can also call the more specific method to set the addressing mode per coordinate. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_af8ab090b0fee62a2a330d07161a2d10c}\label{class_ogre_1_1_texture_unit_state_af8ab090b0fee62a2a330d07161a2d10c}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureAddressingMode@{setTextureAddressingMode}}
\index{setTextureAddressingMode@{setTextureAddressingMode}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureAddressingMode()}{setTextureAddressingMode()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Addressing\+Mode (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}}}]{u,  }\item[{\mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}}}]{v,  }\item[{\mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}}}]{w }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets the texture addressing mode, i.\+e. 

what happens at uv values above 1.\+0.

The default is T\+A\+M\+\_\+\+W\+R\+AP i.\+e. the texture repeats over values of 1.\+0. This is a shortcut method which sets the addressing mode for all coordinates at once; you can also call the more specific method to set the addressing mode per coordinate.

This is a shortcut method which sets the addressing mode for all coordinates at once; you can also call the more specific method to set the addressing mode per coordinate. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a5a54ece0b8cfb20f6dcddbd68813be43}\label{class_ogre_1_1_texture_unit_state_a5a54ece0b8cfb20f6dcddbd68813be43}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureAddressingMode@{setTextureAddressingMode}}
\index{setTextureAddressingMode@{setTextureAddressingMode}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureAddressingMode()}{setTextureAddressingMode()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Addressing\+Mode (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct_ogre_1_1_sampler_1_1_u_v_w_addressing_mode}{Sampler\+::\+U\+V\+W\+Addressing\+Mode}} \&}]{uvw }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets the texture addressing mode, i.\+e. 

what happens at uv values above 1.\+0.

The default is T\+A\+M\+\_\+\+W\+R\+AP i.\+e. the texture repeats over values of 1.\+0. This is a shortcut method which sets the addressing mode for all coordinates at once; you can also call the more specific method to set the addressing mode per coordinate.

This is a shortcut method which sets the addressing mode for all coordinates at once; you can also call the more specific method to set the addressing mode per coordinate. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a4685adfbadf451fd318b3ea900abfca2}\label{class_ogre_1_1_texture_unit_state_a4685adfbadf451fd318b3ea900abfca2}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureBorderColour@{setTextureBorderColour}}
\index{setTextureBorderColour@{setTextureBorderColour}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureBorderColour()}{setTextureBorderColour()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Border\+Colour (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{colour }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets the texture border colour. 

The default is \mbox{\hyperlink{class_ogre_1_1_colour_value_a7f8a06f2a9dd645417c36b560f496c1a}{Colour\+Value\+::\+Black}}, and this value only used when addressing mode is T\+A\+M\+\_\+\+B\+O\+R\+D\+ER. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a018bb274b11ff191a3502e2222fb9809}\label{class_ogre_1_1_texture_unit_state_a018bb274b11ff191a3502e2222fb9809}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureBorderColour@{getTextureBorderColour}}
\index{getTextureBorderColour@{getTextureBorderColour}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureBorderColour()}{getTextureBorderColour()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Border\+Colour (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a30757c168b734902d03720e3f36c27d4}\label{class_ogre_1_1_texture_unit_state_a30757c168b734902d03720e3f36c27d4}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureFiltering@{setTextureFiltering}}
\index{setTextureFiltering@{setTextureFiltering}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureFiltering()}{setTextureFiltering()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Filtering (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga21a0186392e9c9ce16d29c5568a773c5}{Texture\+Filter\+Options}}}]{filter\+Type }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the texture filtering for this unit, using the simplified interface. 

You also have the option of specifying the minification, magnification and mip filter individually if you want more control over filtering options. See the alternative set\+Texture\+Filtering methods for details. 
\begin{DoxyParams}{Parameters}
{\em filter\+Type} & The high-\/level filter type to use. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a363c69770217425598c716430abd159a}\label{class_ogre_1_1_texture_unit_state_a363c69770217425598c716430abd159a}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureFiltering@{setTextureFiltering}}
\index{setTextureFiltering@{setTextureFiltering}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureFiltering()}{setTextureFiltering()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Filtering (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_gac1fc36ec2f4df4b2afa9fa39f9c66c06}{Filter\+Type}}}]{ftype,  }\item[{\mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}}}]{opts }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the texture filtering for this unit, using the simplified interface. 

You also have the option of specifying the minification, magnification and mip filter individually if you want more control over filtering options. See the alternative set\+Texture\+Filtering methods for details. 
\begin{DoxyParams}{Parameters}
{\em filter\+Type} & The high-\/level filter type to use. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_afccaca77406c883c5bfe440b7ed3c3e4}\label{class_ogre_1_1_texture_unit_state_afccaca77406c883c5bfe440b7ed3c3e4}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureFiltering@{setTextureFiltering}}
\index{setTextureFiltering@{setTextureFiltering}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureFiltering()}{setTextureFiltering()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Filtering (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}}}]{min\+Filter,  }\item[{\mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}}}]{mag\+Filter,  }\item[{\mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}}}]{mip\+Filter }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set a the detailed filtering options on this texture unit. 


\begin{DoxyParams}{Parameters}
{\em min\+Filter} & The filtering to use when reducing the size of the texture. Can be \mbox{\hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3dad299986d6ba4f220cc628a1b9a4f6a52}{Ogre\+::\+F\+O\+\_\+\+P\+O\+I\+NT}}, \mbox{\hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3da6b0e1f92a9531879e2f0acfe5e5183c6}{Ogre\+::\+F\+O\+\_\+\+L\+I\+N\+E\+AR}} or \mbox{\hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3da0ced0c8e18f83505a73c7275563d4372}{Ogre\+::\+F\+O\+\_\+\+A\+N\+I\+S\+O\+T\+R\+O\+P\+IC}}. \\
\hline
{\em mag\+Filter} & The filtering to use when increasing the size of the texture. Can be \mbox{\hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3dad299986d6ba4f220cc628a1b9a4f6a52}{Ogre\+::\+F\+O\+\_\+\+P\+O\+I\+NT}}, \mbox{\hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3da6b0e1f92a9531879e2f0acfe5e5183c6}{Ogre\+::\+F\+O\+\_\+\+L\+I\+N\+E\+AR}} or \mbox{\hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3da0ced0c8e18f83505a73c7275563d4372}{Ogre\+::\+F\+O\+\_\+\+A\+N\+I\+S\+O\+T\+R\+O\+P\+IC}}. \\
\hline
{\em mip\+Filter} & The filtering to use between mip levels. Can be \mbox{\hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3da0be36e268ed5d2d25fe91ba5b5f769b5}{Ogre\+::\+F\+O\+\_\+\+N\+O\+NE}} (turns off mipmapping), \mbox{\hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3dad299986d6ba4f220cc628a1b9a4f6a52}{Ogre\+::\+F\+O\+\_\+\+P\+O\+I\+NT}} or \mbox{\hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3da6b0e1f92a9531879e2f0acfe5e5183c6}{Ogre\+::\+F\+O\+\_\+\+L\+I\+N\+E\+AR}} (trilinear filtering). \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a41bef78e56a3b2071825f574070beed2}\label{class_ogre_1_1_texture_unit_state_a41bef78e56a3b2071825f574070beed2}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureFiltering@{getTextureFiltering}}
\index{getTextureFiltering@{getTextureFiltering}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureFiltering()}{getTextureFiltering()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}} Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Filtering (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_gac1fc36ec2f4df4b2afa9fa39f9c66c06}{Filter\+Type}}}]{ftype }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the texture filtering for the given type. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_aa2f3464e36c93cca9bafefa4591433f3}\label{class_ogre_1_1_texture_unit_state_aa2f3464e36c93cca9bafefa4591433f3}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureCompareEnabled@{setTextureCompareEnabled}}
\index{setTextureCompareEnabled@{setTextureCompareEnabled}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureCompareEnabled()}{setTextureCompareEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Compare\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Enables or disables the comparison test for depth textures. 

When enabled, sampling the texture returns how the sampled value compares against a reference value instead of the sampled value itself. Combined with linear filtering this can be used to implement hardware P\+CF for shadow maps. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ac026c759650a1d3d1e340b1b6a0d4425}\label{class_ogre_1_1_texture_unit_state_ac026c759650a1d3d1e340b1b6a0d4425}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureCompareEnabled@{getTextureCompareEnabled}}
\index{getTextureCompareEnabled@{getTextureCompareEnabled}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureCompareEnabled()}{getTextureCompareEnabled()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Compare\+Enabled (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a453e725f0367bc8bae273d4d3f990d26}\label{class_ogre_1_1_texture_unit_state_a453e725f0367bc8bae273d4d3f990d26}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureCompareFunction@{setTextureCompareFunction}}
\index{setTextureCompareFunction@{setTextureCompareFunction}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureCompareFunction()}{setTextureCompareFunction()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Compare\+Function (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}}}]{function }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a2da1174c8d8a33eeae1bfc1ee9ba67ef}\label{class_ogre_1_1_texture_unit_state_a2da1174c8d8a33eeae1bfc1ee9ba67ef}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureCompareFunction@{getTextureCompareFunction}}
\index{getTextureCompareFunction@{getTextureCompareFunction}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureCompareFunction()}{getTextureCompareFunction()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Compare\+Function (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}





\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_abb2bc03bc72f2098e37c4240f637c5e5}\label{class_ogre_1_1_texture_unit_state_abb2bc03bc72f2098e37c4240f637c5e5}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureAnisotropy@{setTextureAnisotropy}}
\index{setTextureAnisotropy@{setTextureAnisotropy}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureAnisotropy()}{setTextureAnisotropy()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Anisotropy (\begin{DoxyParamCaption}\item[{unsigned int}]{max\+Aniso }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets the anisotropy level to be used for this texture level. 

The degree of anisotropy is the ratio between the height of the texture segment visible in a screen space region versus the width -\/ so for example a floor plane, which stretches on into the distance and thus the vertical texture coordinates change much faster than the horizontal ones, has a higher anisotropy than a wall which is facing you head on (which has an anisotropy of 1 if your line of sight is perfectly perpendicular to it).The maximum value is determined by the hardware, but it is usually 8 or 16.

In order for this to be used, you have to set the minification and/or the magnification option on this texture to \mbox{\hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3da0ced0c8e18f83505a73c7275563d4372}{Ogre\+::\+F\+O\+\_\+\+A\+N\+I\+S\+O\+T\+R\+O\+P\+IC}}. 
\begin{DoxyParams}{Parameters}
{\em max\+Aniso} & The maximal anisotropy level, should be between 2 and the maximum supported by hardware (1 is the default, ie. no anisotrophy). \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ae0641061570bb6b02f2bc15f6fc76ba2}\label{class_ogre_1_1_texture_unit_state_ae0641061570bb6b02f2bc15f6fc76ba2}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureAnisotropy@{getTextureAnisotropy}}
\index{getTextureAnisotropy@{getTextureAnisotropy}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureAnisotropy()}{getTextureAnisotropy()}}
{\footnotesize\ttfamily unsigned int Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Anisotropy (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get this layer texture anisotropy level. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_acfe54cc0ec2c1247a90094d004d77db1}\label{class_ogre_1_1_texture_unit_state_acfe54cc0ec2c1247a90094d004d77db1}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureMipmapBias@{setTextureMipmapBias}}
\index{setTextureMipmapBias@{setTextureMipmapBias}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureMipmapBias()}{setTextureMipmapBias()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Mipmap\+Bias (\begin{DoxyParamCaption}\item[{float}]{bias }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets the bias value applied to the mipmap calculation. 

You can alter the mipmap calculation by biasing the result with a single floating point value. After the mip level has been calculated, this bias value is added to the result to give the final mip level. Lower mip levels are larger (higher detail), so a negative bias will force the larger mip levels to be used, and a positive bias will cause smaller mip levels to be used. The bias values are in mip levels, so a -\/1 bias will force mip levels one larger than by the default calculation.

In order for this option to be used, your hardware has to support mipmap biasing (exposed through \mbox{\hyperlink{group___render_system_gga3d2965b7f378ebdcfe8a4a6cf74c3de7a059362950c064bfe870e5fe60b56a3ca}{Ogre\+::\+R\+S\+C\+\_\+\+M\+I\+P\+M\+A\+P\+\_\+\+L\+O\+D\+\_\+\+B\+I\+AS}}), and your minification filtering has to be set to point or linear. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a5c9a53ddea4dbdd68c1c42579ddc7fe8}\label{class_ogre_1_1_texture_unit_state_a5c9a53ddea4dbdd68c1c42579ddc7fe8}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureMipmapBias@{getTextureMipmapBias}}
\index{getTextureMipmapBias@{getTextureMipmapBias}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureMipmapBias()}{getTextureMipmapBias()}}
{\footnotesize\ttfamily float Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Mipmap\+Bias (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the bias value applied to the mipmap calculation. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_acfe54cc0ec2c1247a90094d004d77db1}{Texture\+Unit\+State\+::set\+Texture\+Mipmap\+Bias}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a5f3994ce2f61c6c6fee6fe8f89c9e369}\label{class_ogre_1_1_texture_unit_state_a5f3994ce2f61c6c6fee6fe8f89c9e369}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setColourOperationEx@{setColourOperationEx}}
\index{setColourOperationEx@{setColourOperationEx}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setColourOperationEx()}{setColourOperationEx()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Colour\+Operation\+Ex (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___materials_ga264ecab38a04d01e2c3158fa05ec1ee2}{Layer\+Blend\+Operation\+Ex}}}]{op,  }\item[{\mbox{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}}}]{source1 = {\ttfamily \mbox{\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea45f1a14042993f460992b3253ce6ae80}{L\+B\+S\+\_\+\+T\+E\+X\+T\+U\+RE}}},  }\item[{\mbox{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}}}]{source2 = {\ttfamily \mbox{\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea370f25da69381c74ca1fc51fde81e659}{L\+B\+S\+\_\+\+C\+U\+R\+R\+E\+NT}}},  }\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{arg1 = {\ttfamily \mbox{\hyperlink{class_ogre_1_1_colour_value_a8eba66b2908f44f00f8d9c9ec25877de}{Colour\+Value\+::\+White}}},  }\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{arg2 = {\ttfamily \mbox{\hyperlink{class_ogre_1_1_colour_value_a8eba66b2908f44f00f8d9c9ec25877de}{Colour\+Value\+::\+White}}},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{manual\+Blend = {\ttfamily 0.0} }\end{DoxyParamCaption})}



Setting advanced blending options. 

This is an extended version of the \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aa47f44936c3090c97d8b4179333a208b}{Ogre\+::\+Texture\+Unit\+State\+::set\+Colour\+Operation}} method which allows extremely detailed control over the blending applied between this and earlier layers. See the Warning below about the issues between mulitpass and multitexturing that using this method can create.

\mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} colour operations determine how the final colour of the surface appears when rendered. \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} units are used to combine colour values from various sources (ie. the diffuse colour of the surface from lighting calculations, combined with the colour of the texture). This method allows you to specify the \textquotesingle{}operation\textquotesingle{} to be used, ie. the calculation such as adds or multiplies, and which values to use as arguments, such as a fixed value or a value from a previous calculation.

The defaults for each layer are\+:
\begin{DoxyItemize}
\item op = \mbox{\hyperlink{group___materials_gga264ecab38a04d01e2c3158fa05ec1ee2a985f2ec53a477d7c19b41700589cb519}{Ogre\+::\+L\+B\+X\+\_\+\+M\+O\+D\+U\+L\+A\+TE}}
\item source1 = \mbox{\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea45f1a14042993f460992b3253ce6ae80}{Ogre\+::\+L\+B\+S\+\_\+\+T\+E\+X\+T\+U\+RE}}
\item source2 = \mbox{\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea370f25da69381c74ca1fc51fde81e659}{Ogre\+::\+L\+B\+S\+\_\+\+C\+U\+R\+R\+E\+NT}}
\end{DoxyItemize}

ie. each layer takes the colour results of the previous layer, and multiplies them with the new texture being applied. Bear in mind that colours are R\+GB values from 0.\+0 -\/ 1.\+0 so multiplying them together will result in values in the same range, \textquotesingle{}tinted\textquotesingle{} by the multiply. Note however that a straight multiply normally has the effect of darkening the textures -\/ for this reason there are brightening operations like \mbox{\hyperlink{group___materials_gga264ecab38a04d01e2c3158fa05ec1ee2a83964282d9ea36a25f4718ae962f8d1c}{Ogre\+::\+L\+B\+X\+\_\+\+M\+O\+D\+U\+L\+A\+T\+E\+\_\+\+X2}}. See the \mbox{\hyperlink{group___materials_gabcbb38d1ac195e4be401f85b7ab0da8f}{Ogre\+::\+Layer\+Blend\+Operation}} and \mbox{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Ogre\+::\+Layer\+Blend\+Source}} enumerated types for full details. \begin{DoxyNote}{Note}
Because of the limitations on some underlying A\+P\+Is (Direct3D included) the \mbox{\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea45f1a14042993f460992b3253ce6ae80}{Ogre\+::\+L\+B\+S\+\_\+\+T\+E\+X\+T\+U\+RE}} argument can only be used as the first argument, not the second.
\end{DoxyNote}
The final 3 parameters are only required if you decide to pass values manually into the operation, i.\+e. you want one or more of the inputs to the colour calculation to come from a fixed value that you supply. Hence you only need to fill these in if you supply \mbox{\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea9aad692ea2c7081237095c3ab4044f17}{Ogre\+::\+L\+B\+S\+\_\+\+M\+A\+N\+U\+AL}} to the corresponding source, or use the \mbox{\hyperlink{group___materials_gga264ecab38a04d01e2c3158fa05ec1ee2adbe5957a946513e0f8be8c571f9b73fe}{Ogre\+::\+L\+B\+X\+\_\+\+B\+L\+E\+N\+D\+\_\+\+M\+A\+N\+U\+AL}} operation. \begin{DoxyWarning}{Warning}
\mbox{\hyperlink{namespace_ogre}{Ogre}} tries to use multitexturing hardware to blend texture layers together. However, if it runs out of texturing units (e.\+g. 2 of a Ge\+Force2, 4 on a Ge\+Force3) it has to fall back on multipass rendering, i.\+e. rendering the same object multiple times with different textures. This is both less efficient and there is a smaller range of blending operations which can be performed. For this reason, if you use this method you M\+U\+ST also call \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a1c4dcca2a0d343dc6660b9071cd4c79f}{Ogre\+::\+Texture\+Unit\+State\+::set\+Colour\+Op\+Multipass\+Fallback}} to specify which effect you want to fall back on if sufficient hardware is not available. 

If you wish to avoid having to do this, use the simpler \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aa47f44936c3090c97d8b4179333a208b}{Ogre\+::\+Texture\+Unit\+State\+::set\+Colour\+Operation}} method which allows less flexible blending options but sets up the multipass fallback automatically, since it only allows operations which have direct multipass equivalents. 
\end{DoxyWarning}

\begin{DoxyParams}{Parameters}
{\em op} & The operation to be used, e.\+g. modulate (multiply), add, subtract. \\
\hline
{\em source1} & The source of the first colour to the operation e.\+g. texture colour. \\
\hline
{\em source2} & The source of the second colour to the operation e.\+g. current surface colour. \\
\hline
{\em arg1} & Manually supplied colour value (only required if source1 = L\+B\+S\+\_\+\+M\+A\+N\+U\+AL). \\
\hline
{\em arg2} & Manually supplied colour value (only required if source2 = L\+B\+S\+\_\+\+M\+A\+N\+U\+AL). \\
\hline
{\em manual\+Blend} & Manually supplied \textquotesingle{}blend\textquotesingle{} value -\/ only required for operations which require manual blend e.\+g. L\+B\+X\+\_\+\+B\+L\+E\+N\+D\+\_\+\+M\+A\+N\+U\+AL. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_aa47f44936c3090c97d8b4179333a208b}\label{class_ogre_1_1_texture_unit_state_aa47f44936c3090c97d8b4179333a208b}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setColourOperation@{setColourOperation}}
\index{setColourOperation@{setColourOperation}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setColourOperation()}{setColourOperation()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Colour\+Operation (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group___materials_gabcbb38d1ac195e4be401f85b7ab0da8f}{Layer\+Blend\+Operation}}}]{op }\end{DoxyParamCaption})}



Determines how this texture layer is combined with the one below it (or the diffuse colour of the geometry if this is layer 0). 

This method is the simplest way to blend texture layers, because it requires only one parameter, gives you the most common blending types, and automatically sets up 2 blending methods\+: one for if single-\/pass multitexturing hardware is available, and another for if it is not and the blending must be achieved through multiple rendering passes. It is, however, quite limited and does not expose the more flexible multitexturing operations, simply because these can\textquotesingle{}t be automatically supported in multipass fallback mode. If want to use the fancier options, use \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a5f3994ce2f61c6c6fee6fe8f89c9e369}{Ogre\+::\+Texture\+Unit\+State\+::set\+Colour\+Operation\+Ex}}, but you\textquotesingle{}ll either have to be sure that enough multitexturing units will be available, or you should explicitly set a fallback using \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a1c4dcca2a0d343dc6660b9071cd4c79f}{Ogre\+::\+Texture\+Unit\+State\+::set\+Colour\+Op\+Multipass\+Fallback}}. \begin{DoxyNote}{Note}
The default method is \mbox{\hyperlink{group___materials_ggabcbb38d1ac195e4be401f85b7ab0da8fa20815cab41c35f08f3520fb404b95efd}{Ogre\+::\+L\+B\+O\+\_\+\+M\+O\+D\+U\+L\+A\+TE}} for all layers. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em op} & One of the \mbox{\hyperlink{group___materials_gabcbb38d1ac195e4be401f85b7ab0da8f}{Ogre\+::\+Layer\+Blend\+Operation}} enumerated blending types. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a1c4dcca2a0d343dc6660b9071cd4c79f}\label{class_ogre_1_1_texture_unit_state_a1c4dcca2a0d343dc6660b9071cd4c79f}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setColourOpMultipassFallback@{setColourOpMultipassFallback}}
\index{setColourOpMultipassFallback@{setColourOpMultipassFallback}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setColourOpMultipassFallback()}{setColourOpMultipassFallback()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Colour\+Op\+Multipass\+Fallback (\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})}



Sets the multipass fallback operation for this layer, if you used \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a5f3994ce2f61c6c6fee6fe8f89c9e369}{Texture\+Unit\+State\+::set\+Colour\+Operation\+Ex}} and not enough multitexturing hardware is available. 

Because some effects exposed using \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a5f3994ce2f61c6c6fee6fe8f89c9e369}{Ogre\+::\+Texture\+Unit\+State\+::set\+Colour\+Operation\+Ex}} are only supported under multitexturing hardware, if the hardware is lacking the system must fallback on multipass rendering, which unfortunately doesn\textquotesingle{}t support as many effects. This method is for you to specify the fallback operation which most suits you.

You\textquotesingle{}ll notice that the interface is the same as the Ogre\+::\+T\+Material\+::set\+Scene\+Blending method; this is because multipass rendering IS effectively scene blending, since each layer is rendered on top of the last using the same mechanism as making an object transparent, it\textquotesingle{}s just being rendered in the same place repeatedly to get the multitexture effect.

If you use the simpler (and hence less flexible) \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_aa47f44936c3090c97d8b4179333a208b}{Ogre\+::\+Texture\+Unit\+State\+::set\+Colour\+Operation}} method you don\textquotesingle{}t need to call this as the system sets up the fallback for you. \begin{DoxyNote}{Note}
This option has no effect in the programmable pipeline, because there is no multipass fallback and multitexture blending is handled by the fragment shader. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a2f1ffa1b6ec8eb07bee2d1bb83ab51e5}\label{class_ogre_1_1_texture_unit_state_a2f1ffa1b6ec8eb07bee2d1bb83ab51e5}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getColourBlendMode@{getColourBlendMode}}
\index{getColourBlendMode@{getColourBlendMode}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getColourBlendMode()}{getColourBlendMode()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex}{Layer\+Blend\+Mode\+Ex}}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Colour\+Blend\+Mode (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get multitexturing colour blending mode. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a73b9edbd12039bbb1b339f0d7acab946}\label{class_ogre_1_1_texture_unit_state_a73b9edbd12039bbb1b339f0d7acab946}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getAlphaBlendMode@{getAlphaBlendMode}}
\index{getAlphaBlendMode@{getAlphaBlendMode}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getAlphaBlendMode()}{getAlphaBlendMode()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_layer_blend_mode_ex}{Layer\+Blend\+Mode\+Ex}}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Alpha\+Blend\+Mode (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get multitexturing alpha blending mode. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a55871fd577ccae3e839ce7ca2c3e842a}\label{class_ogre_1_1_texture_unit_state_a55871fd577ccae3e839ce7ca2c3e842a}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getColourBlendFallbackSrc@{getColourBlendFallbackSrc}}
\index{getColourBlendFallbackSrc@{getColourBlendFallbackSrc}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getColourBlendFallbackSrc()}{getColourBlendFallbackSrc()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} Ogre\+::\+Texture\+Unit\+State\+::get\+Colour\+Blend\+Fallback\+Src (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get the multipass fallback for colour blending operation source factor. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ab68978d806e23b1cf040d95d7231ba2e}\label{class_ogre_1_1_texture_unit_state_ab68978d806e23b1cf040d95d7231ba2e}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getColourBlendFallbackDest@{getColourBlendFallbackDest}}
\index{getColourBlendFallbackDest@{getColourBlendFallbackDest}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getColourBlendFallbackDest()}{getColourBlendFallbackDest()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} Ogre\+::\+Texture\+Unit\+State\+::get\+Colour\+Blend\+Fallback\+Dest (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get the multipass fallback for colour blending operation destination factor. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ae5e48cac8f87dad78d040364021b7a95}\label{class_ogre_1_1_texture_unit_state_ae5e48cac8f87dad78d040364021b7a95}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setAlphaOperation@{setAlphaOperation}}
\index{setAlphaOperation@{setAlphaOperation}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setAlphaOperation()}{setAlphaOperation()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Alpha\+Operation (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___materials_ga264ecab38a04d01e2c3158fa05ec1ee2}{Layer\+Blend\+Operation\+Ex}}}]{op,  }\item[{\mbox{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}}}]{source1 = {\ttfamily \mbox{\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea45f1a14042993f460992b3253ce6ae80}{L\+B\+S\+\_\+\+T\+E\+X\+T\+U\+RE}}},  }\item[{\mbox{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}}}]{source2 = {\ttfamily \mbox{\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea370f25da69381c74ca1fc51fde81e659}{L\+B\+S\+\_\+\+C\+U\+R\+R\+E\+NT}}},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{arg1 = {\ttfamily 1.0},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{arg2 = {\ttfamily 1.0},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{manual\+Blend = {\ttfamily 0.0} }\end{DoxyParamCaption})}



Sets the alpha operation to be applied to this texture. 

This works in exactly the same way as set\+Colour\+Operation\+Ex, except that the effect is applied to the level of alpha (i.\+e. transparency) of the texture rather than its colour. When the alpha of a texel (a pixel on a texture) is 1.\+0, it is opaque, whereas it is fully transparent if the alpha is 0.\+0. Please refer to the \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a5f3994ce2f61c6c6fee6fe8f89c9e369}{Ogre\+::\+Texture\+Unit\+State\+::set\+Colour\+Operation\+Ex}} method for more info. 
\begin{DoxyParams}{Parameters}
{\em op} & The operation to be used, e.\+g. modulate (multiply), add, subtract \\
\hline
{\em source1} & The source of the first alpha value to the operation e.\+g. texture alpha \\
\hline
{\em source2} & The source of the second alpha value to the operation e.\+g. current surface alpha \\
\hline
{\em arg1} & Manually supplied alpha value (only required if source1 = \mbox{\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea9aad692ea2c7081237095c3ab4044f17}{Ogre\+::\+L\+B\+S\+\_\+\+M\+A\+N\+U\+AL}}) \\
\hline
{\em arg2} & Manually supplied alpha value (only required if source2 = \mbox{\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea9aad692ea2c7081237095c3ab4044f17}{Ogre\+::\+L\+B\+S\+\_\+\+M\+A\+N\+U\+AL}}) \\
\hline
{\em manual\+Blend} & Manually supplied \textquotesingle{}blend\textquotesingle{} value -\/ only required for operations which require manual blend e.\+g. \mbox{\hyperlink{group___materials_gga264ecab38a04d01e2c3158fa05ec1ee2adbe5957a946513e0f8be8c571f9b73fe}{Ogre\+::\+L\+B\+X\+\_\+\+B\+L\+E\+N\+D\+\_\+\+M\+A\+N\+U\+AL}} \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a63fcdc07aea7a558c046c826ae510f39}\label{class_ogre_1_1_texture_unit_state_a63fcdc07aea7a558c046c826ae510f39}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!addEffect@{addEffect}}
\index{addEffect@{addEffect}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{addEffect()}{addEffect()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::add\+Effect (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_ogre_1_1_texture_unit_state_1_1_texture_effect}{Texture\+Effect}} \&}]{effect }\end{DoxyParamCaption})}



Generic method for setting up texture effects. 

\begin{DoxyRemark}{Remarks}
Allows you to specify effects directly by using the Texture\+Effect\+Type enumeration. The arguments that go with it depend on the effect type. Only one effect of each type can be applied to a texture layer. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
This method is used internally by \mbox{\hyperlink{namespace_ogre}{Ogre}} but it is better generally for applications to use the more intuitive specialised methods such as set\+Environment\+Map and set\+Scroll. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a33ea31aeae9a25f1b05e2d987cbb891e}\label{class_ogre_1_1_texture_unit_state_a33ea31aeae9a25f1b05e2d987cbb891e}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setEnvironmentMap@{setEnvironmentMap}}
\index{setEnvironmentMap@{setEnvironmentMap}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setEnvironmentMap()}{setEnvironmentMap()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Environment\+Map (\begin{DoxyParamCaption}\item[{bool}]{enable,  }\item[{\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931e}{Env\+Map\+Type}}}]{env\+Map\+Type = {\ttfamily \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931ea5a2d57450ada903ba586826344b7dbcb}{E\+N\+V\+\_\+\+C\+U\+R\+V\+ED}}} }\end{DoxyParamCaption})}



Turns on/off texture coordinate effect that makes this layer an environment map. 

Environment maps make an object look reflective by using the object\textquotesingle{}s vertex normals relative to the camera view to generate texture coordinates.

The vectors generated can either be used to address a single 2D texture which is a \textquotesingle{}fish-\/eye\textquotesingle{} lens view of a scene, or a 3D cubic environment map which requires 6 textures for each side of the inside of a cube. The type depends on what texture you set up -\/ if you use the set\+Texture\+Name method then a 2D fisheye lens texture is required, whereas if you used set\+Cubic\+Texture\+Name then a cubic environment map will be used.

This effect works best if the object has lots of gradually changing normals. The texture also has to be designed for this effect -\/ see the example spheremap.\+png included with the sample application for a 2D environment map; a cubic map can be generated by rendering 6 views of a scene to each of the cube faces with orthogonal views.

Enabling this disables any other texture coordinate generation effects. However it can be combined with texture coordinate modification functions, which then operate on the generated coordinates rather than static model texture coordinates. 
\begin{DoxyParams}{Parameters}
{\em enable} & True to enable, false to disable \\
\hline
{\em env\+Map\+Type} & The type of environment mapping to perform. Planar, curved, reflection or normal. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931e}{Env\+Map\+Type}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a45bd669bcc64ec417fe4208aa5cfd685}\label{class_ogre_1_1_texture_unit_state_a45bd669bcc64ec417fe4208aa5cfd685}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setScrollAnimation@{setScrollAnimation}}
\index{setScrollAnimation@{setScrollAnimation}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setScrollAnimation()}{setScrollAnimation()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Scroll\+Animation (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{u\+Speed,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{v\+Speed }\end{DoxyParamCaption})}



Sets up an animated scroll for the texture layer. 

Useful for creating constant scrolling effects on a texture layer (for varying scrolls, see \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_af56112cb1e6d144b8fd63b280d8ae350}{Ogre\+::\+Texture\+Unit\+State\+::set\+Transform\+Animation}}). 
\begin{DoxyParams}{Parameters}
{\em u\+Speed} & The number of horizontal loops per second (+ve=moving right, -\/ve = moving left). \\
\hline
{\em v\+Speed} & The number of vertical loops per second (+ve=moving up, -\/ve= moving down). \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a72e3695b81f12b32762237c5de202dff}\label{class_ogre_1_1_texture_unit_state_a72e3695b81f12b32762237c5de202dff}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setRotateAnimation@{setRotateAnimation}}
\index{setRotateAnimation@{setRotateAnimation}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setRotateAnimation()}{setRotateAnimation()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Rotate\+Animation (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{speed }\end{DoxyParamCaption})}



Sets up an animated texture rotation for this layer. 

Useful for constant rotations (for varying rotations, see \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_af56112cb1e6d144b8fd63b280d8ae350}{Ogre\+::\+Texture\+Unit\+State\+::set\+Transform\+Animation}}). 
\begin{DoxyParams}{Parameters}
{\em speed} & The number of complete anticlockwise revolutions per second (use -\/ve for clockwise) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_af56112cb1e6d144b8fd63b280d8ae350}\label{class_ogre_1_1_texture_unit_state_af56112cb1e6d144b8fd63b280d8ae350}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTransformAnimation@{setTransformAnimation}}
\index{setTransformAnimation@{setTransformAnimation}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTransformAnimation()}{setTransformAnimation()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Transform\+Animation (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82d}{Texture\+Transform\+Type}}}]{ttype,  }\item[{const \mbox{\hyperlink{group___general_gabf2e0412a783a6f708ca1a58abb45c1b}{Waveform\+Type}}}]{wave\+Type,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{base = {\ttfamily 0},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{frequency = {\ttfamily 1},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{phase = {\ttfamily 0},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{amplitude = {\ttfamily 1} }\end{DoxyParamCaption})}



Sets up a general time-\/relative texture modification effect. 

This can be called multiple times for different values of ttype, but only the latest effect applies if called multiple time for the same ttype. 
\begin{DoxyParams}{Parameters}
{\em ttype} & The type of transform, either translate (scroll), scale (stretch) or rotate (spin). \\
\hline
{\em wave\+Type} & The shape of the wave, see \mbox{\hyperlink{group___general_gabf2e0412a783a6f708ca1a58abb45c1b}{Ogre\+::\+Waveform\+Type}} enum for details. \\
\hline
{\em base} & The base value for the function (range of output = \{base, base + amplitude\}). \\
\hline
{\em frequency} & The speed of the wave in cycles per second. \\
\hline
{\em phase} & The offset of the start of the wave, e.\+g. 0.\+5 to start half-\/way through the wave. \\
\hline
{\em amplitude} & Scales the output so that instead of lying within 0..1 it lies within 0..1$\ast$amplitude for exaggerated effects. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a56edced19709cbda365eae03b590a5e1}\label{class_ogre_1_1_texture_unit_state_a56edced19709cbda365eae03b590a5e1}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setProjectiveTexturing@{setProjectiveTexturing}}
\index{setProjectiveTexturing@{setProjectiveTexturing}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setProjectiveTexturing()}{setProjectiveTexturing()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Projective\+Texturing (\begin{DoxyParamCaption}\item[{bool}]{enabled,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_frustum}{Frustum}} $\ast$}]{projection\+Settings = {\ttfamily 0} }\end{DoxyParamCaption})}



Enables or disables projective texturing on this texture unit. 

\begin{DoxyRemark}{Remarks}
Projective texturing allows you to generate texture coordinates based on a \mbox{\hyperlink{class_ogre_1_1_frustum}{Frustum}}, which gives the impression that a texture is being projected onto the surface. Note that once you have called this method, the texture unit continues to monitor the \mbox{\hyperlink{class_ogre_1_1_frustum}{Frustum}} you passed in and the projection will change if you can alter it. It also means that you must ensure that the \mbox{\hyperlink{class_ogre_1_1_frustum}{Frustum}} object you pass a pointer to remains in existence for as long as this \mbox{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}} does. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
This effect cannot be combined with other texture generation effects, such as environment mapping. It also has no effect on passes which have a vertex program enabled -\/ projective texturing has to be done in the vertex program instead. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em enabled} & Whether to enable / disable. \\
\hline
{\em projection\+Settings} & The \mbox{\hyperlink{class_ogre_1_1_frustum}{Frustum}} which will be used to derive the projection parameters. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a2e87ea16834839d12c8c8a78e4e56302}\label{class_ogre_1_1_texture_unit_state_a2e87ea16834839d12c8c8a78e4e56302}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!removeAllEffects@{removeAllEffects}}
\index{removeAllEffects@{removeAllEffects}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{removeAllEffects()}{removeAllEffects()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::remove\+All\+Effects (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Removes all effects applied to this texture layer. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a99cc16130a5124dc6ac108d4647d2d31}\label{class_ogre_1_1_texture_unit_state_a99cc16130a5124dc6ac108d4647d2d31}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!removeEffect@{removeEffect}}
\index{removeEffect@{removeEffect}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{removeEffect()}{removeEffect()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::remove\+Effect (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626}{Texture\+Effect\+Type}}}]{type }\end{DoxyParamCaption})}



Removes a single effect applied to this texture layer. 

\begin{DoxyNote}{Note}
Because you can only have 1 effect of each type (e.\+g. 1 texture coordinate generation) applied to a layer, only the effect type is required. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a4de1b26e5dc01d9a73b3096de1c4853f}\label{class_ogre_1_1_texture_unit_state_a4de1b26e5dc01d9a73b3096de1c4853f}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!isBlank@{isBlank}}
\index{isBlank@{isBlank}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{isBlank()}{isBlank()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::is\+Blank (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Determines if this texture layer is currently blank. 

\begin{DoxyNote}{Note}
This can happen if a texture fails to load or some other non-\/fatal error. Worth checking after setting texture name. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a0bfa625ec4957f67d61dd98691d632df}\label{class_ogre_1_1_texture_unit_state_a0bfa625ec4957f67d61dd98691d632df}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setBlank@{setBlank}}
\index{setBlank@{setBlank}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setBlank()}{setBlank()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Blank (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Sets this texture layer to be blank. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a8a15351e7f8c7a47e26633f1d6f15abd}\label{class_ogre_1_1_texture_unit_state_a8a15351e7f8c7a47e26633f1d6f15abd}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!isTextureLoadFailing@{isTextureLoadFailing}}
\index{isTextureLoadFailing@{isTextureLoadFailing}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{isTextureLoadFailing()}{isTextureLoadFailing()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::is\+Texture\+Load\+Failing (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Tests if the texture associated with this unit has failed to load. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a35ba5dfc7d336a92a1a3eccd260293eb}\label{class_ogre_1_1_texture_unit_state_a35ba5dfc7d336a92a1a3eccd260293eb}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!retryTextureLoad@{retryTextureLoad}}
\index{retryTextureLoad@{retryTextureLoad}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{retryTextureLoad()}{retryTextureLoad()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::retry\+Texture\+Load (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Tells the unit to retry loading the texture if it had failed to load. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a8a92d3d54786e91d93c7ad95b1d93c74}\label{class_ogre_1_1_texture_unit_state_a8a92d3d54786e91d93c7ad95b1d93c74}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getEffects@{getEffects}}
\index{getEffects@{getEffects}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getEffects()}{getEffects()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_texture_unit_state_a76b0d087ff12f806b0bd5e8b97d466bf}{Effect\+Map}}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Effects (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get texture effects in a multimap paired array. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a25b38aa2157538c8de784f46ab5442ac}\label{class_ogre_1_1_texture_unit_state_a25b38aa2157538c8de784f46ab5442ac}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getAnimationDuration@{getAnimationDuration}}
\index{getAnimationDuration@{getAnimationDuration}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getAnimationDuration()}{getAnimationDuration()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Texture\+Unit\+State\+::get\+Animation\+Duration (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get the animated-\/texture animation duration. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a5bb9b54d2869c429591b36f64d4361c5}\label{class_ogre_1_1_texture_unit_state_a5bb9b54d2869c429591b36f64d4361c5}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!isDefaultFiltering@{isDefaultFiltering}}
\index{isDefaultFiltering@{isDefaultFiltering}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{isDefaultFiltering()}{isDefaultFiltering()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::is\+Default\+Filtering (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Returns true if this texture unit is using the default \mbox{\hyperlink{class_ogre_1_1_sampler}{Sampler}}. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a0073a4465cc92944252d69b2671ea97d}\label{class_ogre_1_1_texture_unit_state_a0073a4465cc92944252d69b2671ea97d}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setCompositorReference@{setCompositorReference}}
\index{setCompositorReference@{setCompositorReference}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setCompositorReference()}{setCompositorReference()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Compositor\+Reference (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{compositor\+Name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{texture\+Name,  }\item[{size\+\_\+t}]{mrt\+Index = {\ttfamily 0} }\end{DoxyParamCaption})}



Set the compositor reference for this texture unit state. 

Only valid when content type is compositor. 
\begin{DoxyParams}{Parameters}
{\em compositor\+Name} & The name of the compositor to reference. \\
\hline
{\em texture\+Name} & The name of the texture to reference. \\
\hline
{\em mrt\+Index} & The index of the wanted texture, if referencing an M\+RT. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_afb47cfd7dc8d6e24dee936a6645ae316}\label{class_ogre_1_1_texture_unit_state_afb47cfd7dc8d6e24dee936a6645ae316}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getReferencedCompositorName@{getReferencedCompositorName}}
\index{getReferencedCompositorName@{getReferencedCompositorName}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getReferencedCompositorName()}{getReferencedCompositorName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Referenced\+Compositor\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the name of the compositor that this texture referneces. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a5dbc572cbcd0354b62b08009592936a4}\label{class_ogre_1_1_texture_unit_state_a5dbc572cbcd0354b62b08009592936a4}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getReferencedTextureName@{getReferencedTextureName}}
\index{getReferencedTextureName@{getReferencedTextureName}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getReferencedTextureName()}{getReferencedTextureName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Referenced\+Texture\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the name of the texture in the compositor that this texture references. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a4904a58094923e9cf9e7b7e0ced22bd9}\label{class_ogre_1_1_texture_unit_state_a4904a58094923e9cf9e7b7e0ced22bd9}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getReferencedMRTIndex@{getReferencedMRTIndex}}
\index{getReferencedMRTIndex@{getReferencedMRTIndex}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getReferencedMRTIndex()}{getReferencedMRTIndex()}}
{\footnotesize\ttfamily size\+\_\+t Ogre\+::\+Texture\+Unit\+State\+::get\+Referenced\+M\+R\+T\+Index (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the M\+RT index of the texture in the compositor that this texture references. 

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



Gets the parent \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} object. 

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



Internal method for preparing this object for load, as part of \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{Material\+::prepare}}. 

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



Internal method for undoing the preparation this object as part of Material\+::unprepare. 

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



Internal method for loading this object as part of \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{Material\+::load}}. 

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



Internal method for unloading this object as part of \mbox{\hyperlink{class_ogre_1_1_resource_aa31bef1bfaa87731622e56f11b548e27}{Material\+::unload}}. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a1a4084251e938a404d549ecb8f9db914}\label{class_ogre_1_1_texture_unit_state_a1a4084251e938a404d549ecb8f9db914}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!hasViewRelativeTextureCoordinateGeneration@{hasViewRelativeTextureCoordinateGeneration}}
\index{hasViewRelativeTextureCoordinateGeneration@{hasViewRelativeTextureCoordinateGeneration}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{hasViewRelativeTextureCoordinateGeneration()}{hasViewRelativeTextureCoordinateGeneration()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::has\+View\+Relative\+Texture\+Coordinate\+Generation (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns whether this unit has texture coordinate generation that depends on the camera. 

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



Is this loaded? 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a78895c49d27597bf3e11fc7269373124}\label{class_ogre_1_1_texture_unit_state_a78895c49d27597bf3e11fc7269373124}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!\_notifyNeedsRecompile@{\_notifyNeedsRecompile}}
\index{\_notifyNeedsRecompile@{\_notifyNeedsRecompile}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{\_notifyNeedsRecompile()}{\_notifyNeedsRecompile()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::\+\_\+notify\+Needs\+Recompile (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Tells the class that it needs recompilation. 

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



Set the name of the \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State. 

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



Get the name of the \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ac91d942e89e887cc7143a6073adc520c}\label{class_ogre_1_1_texture_unit_state_ac91d942e89e887cc7143a6073adc520c}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!setTextureNameAlias@{setTextureNameAlias}}
\index{setTextureNameAlias@{setTextureNameAlias}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{setTextureNameAlias()}{setTextureNameAlias()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Name\+Alias (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



Set the alias name used for texture frame names. 


\begin{DoxyParams}{Parameters}
{\em name} & Can be any sequence of characters and does not have to be unique. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a382cebc0d7e3b61e30ec3eb625607462}\label{class_ogre_1_1_texture_unit_state_a382cebc0d7e3b61e30ec3eb625607462}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!getTextureNameAlias@{getTextureNameAlias}}
\index{getTextureNameAlias@{getTextureNameAlias}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{getTextureNameAlias()}{getTextureNameAlias()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Name\+Alias (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Name Alias of the \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a1d18cb7a792b05d9ffd6192d7f9a252f}\label{class_ogre_1_1_texture_unit_state_a1d18cb7a792b05d9ffd6192d7f9a252f}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!applyTextureAliases@{applyTextureAliases}}
\index{applyTextureAliases@{applyTextureAliases}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{applyTextureAliases()}{applyTextureAliases()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::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})}



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

If no matching aliases are found then the T\+US state does not change.

Cubic, 1d, 2d, and 3d textures are determined from current state of the \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit. Assumes animated frames are sequentially numbered in the name. If matching texture aliases are found then true is returned.


\begin{DoxyParams}{Parameters}
{\em alias\+List} & A map container of texture alias, texture name pairs. \\
\hline
{\em apply} & Set {\ttfamily 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 \mbox{\hyperlink{class_ogre_1_1_texture}{Texture}} Unit State. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a69a867f544a08845a86acc421476c3e4}\label{class_ogre_1_1_texture_unit_state_a69a867f544a08845a86acc421476c3e4}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!\_notifyParent@{\_notifyParent}}
\index{\_notifyParent@{\_notifyParent}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{\_notifyParent()}{\_notifyParent()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::\+\_\+notify\+Parent (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} $\ast$}]{parent }\end{DoxyParamCaption})}



Notify this object that its parent has changed. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a9c9bc1ebd44275f7c716c9aaab1452ff}\label{class_ogre_1_1_texture_unit_state_a9c9bc1ebd44275f7c716c9aaab1452ff}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!\_getTexturePtr@{\_getTexturePtr}}
\index{\_getTexturePtr@{\_getTexturePtr}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{\_getTexturePtr()}{\_getTexturePtr()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}}\& Ogre\+::\+Texture\+Unit\+State\+::\+\_\+get\+Texture\+Ptr (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get the texture pointer for the current frame. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_addfe8bb3fabe45d6f5e95c774caab2d7}\label{class_ogre_1_1_texture_unit_state_addfe8bb3fabe45d6f5e95c774caab2d7}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!\_getTexturePtr@{\_getTexturePtr}}
\index{\_getTexturePtr@{\_getTexturePtr}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{\_getTexturePtr()}{\_getTexturePtr()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}}\& Ogre\+::\+Texture\+Unit\+State\+::\+\_\+get\+Texture\+Ptr (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{frame }\end{DoxyParamCaption}) const}



Get the texture pointer for a given frame. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_abaa17fc5f6b4d96bfe19ecc6c78a331e}\label{class_ogre_1_1_texture_unit_state_abaa17fc5f6b4d96bfe19ecc6c78a331e}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!\_setTexturePtr@{\_setTexturePtr}}
\index{\_setTexturePtr@{\_setTexturePtr}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{\_setTexturePtr()}{\_setTexturePtr()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::\+\_\+set\+Texture\+Ptr (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \&}]{texptr }\end{DoxyParamCaption})}



Set the texture pointer for the current frame (internal use only!). 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a6236e0e398c153980ff06f13e58a667b}\label{class_ogre_1_1_texture_unit_state_a6236e0e398c153980ff06f13e58a667b}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!\_setTexturePtr@{\_setTexturePtr}}
\index{\_setTexturePtr@{\_setTexturePtr}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{\_setTexturePtr()}{\_setTexturePtr()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::\+\_\+set\+Texture\+Ptr (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \&}]{texptr,  }\item[{size\+\_\+t}]{frame }\end{DoxyParamCaption})}



Set the texture pointer for a given frame (internal use only!). 

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

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_aac051a780fa7e8ccd891c71d5dfb001b}\label{class_ogre_1_1_texture_unit_state_aac051a780fa7e8ccd891c71d5dfb001b}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!\_getAnimController@{\_getAnimController}}
\index{\_getAnimController@{\_getAnimController}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{\_getAnimController()}{\_getAnimController()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_controller}{Controller}}$<$\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}$>$$\ast$ Ogre\+::\+Texture\+Unit\+State\+::\+\_\+get\+Anim\+Controller (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the animation controller (as created because of set\+Animated\+Texture) if it exists. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a983cd4d8de66d003dc173f5738fab245}\label{class_ogre_1_1_texture_unit_state_a983cd4d8de66d003dc173f5738fab245}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!\_getLocalSampler@{\_getLocalSampler}}
\index{\_getLocalSampler@{\_getLocalSampler}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{\_getLocalSampler()}{\_getLocalSampler()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___materials_ga34843c20652d796e4e3aab70dc1786c3}{Sampler\+Ptr}}\& Ogre\+::\+Texture\+Unit\+State\+::\+\_\+get\+Local\+Sampler (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



return a sampler local to this T\+US instead of the shared global one 



\doxysubsection{Friends And Related Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a06b786d8e0847dfe9cc15e1dea308fcd}\label{class_ogre_1_1_texture_unit_state_a06b786d8e0847dfe9cc15e1dea308fcd}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!RenderSystem@{RenderSystem}}
\index{RenderSystem@{RenderSystem}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{RenderSystem}{RenderSystem}}
{\footnotesize\ttfamily friend class \mbox{\hyperlink{class_ogre_1_1_render_system}{Render\+System}}\hspace{0.3cm}{\ttfamily [friend]}}



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a9d12f77b02eacd0da7dcec2ac654c256}\label{class_ogre_1_1_texture_unit_state_a9d12f77b02eacd0da7dcec2ac654c256}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TAM\_WRAP@{TAM\_WRAP}}
\index{TAM\_WRAP@{TAM\_WRAP}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{TAM\_WRAP}{TAM\_WRAP}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} Ogre\+::\+Texture\+Unit\+State\+::\+T\+A\+M\+\_\+\+W\+R\+AP = Ogre\+::\+T\+A\+M\+\_\+\+W\+R\+AP\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a7f29d334eabef6ca15cc1e3a1d594467}\label{class_ogre_1_1_texture_unit_state_a7f29d334eabef6ca15cc1e3a1d594467}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TAM\_MIRROR@{TAM\_MIRROR}}
\index{TAM\_MIRROR@{TAM\_MIRROR}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{TAM\_MIRROR}{TAM\_MIRROR}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} Ogre\+::\+Texture\+Unit\+State\+::\+T\+A\+M\+\_\+\+M\+I\+R\+R\+OR = Ogre\+::\+T\+A\+M\+\_\+\+M\+I\+R\+R\+OR\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_aaa593803cf70c8a67f24d4b74ad2ad77}\label{class_ogre_1_1_texture_unit_state_aaa593803cf70c8a67f24d4b74ad2ad77}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TAM\_CLAMP@{TAM\_CLAMP}}
\index{TAM\_CLAMP@{TAM\_CLAMP}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{TAM\_CLAMP}{TAM\_CLAMP}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} Ogre\+::\+Texture\+Unit\+State\+::\+T\+A\+M\+\_\+\+C\+L\+A\+MP = Ogre\+::\+T\+A\+M\+\_\+\+C\+L\+A\+MP\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_acced150b0dc0d1d64b0802dbe4cf7db1}\label{class_ogre_1_1_texture_unit_state_acced150b0dc0d1d64b0802dbe4cf7db1}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TAM\_BORDER@{TAM\_BORDER}}
\index{TAM\_BORDER@{TAM\_BORDER}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{TAM\_BORDER}{TAM\_BORDER}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} Ogre\+::\+Texture\+Unit\+State\+::\+T\+A\+M\+\_\+\+B\+O\+R\+D\+ER = Ogre\+::\+T\+A\+M\+\_\+\+B\+O\+R\+D\+ER\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a27d31e5a5ad06d018986d13b12fd4b41}\label{class_ogre_1_1_texture_unit_state_a27d31e5a5ad06d018986d13b12fd4b41}} 
\index{Ogre::TextureUnitState@{Ogre::TextureUnitState}!TAM\_UNKNOWN@{TAM\_UNKNOWN}}
\index{TAM\_UNKNOWN@{TAM\_UNKNOWN}!Ogre::TextureUnitState@{Ogre::TextureUnitState}}
\doxysubsubsection{\texorpdfstring{TAM\_UNKNOWN}{TAM\_UNKNOWN}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group___general_gac224d1943fe269a125e10f02c8b8bc8a}{Ogre\+::\+Texture\+Addressing\+Mode}} Ogre\+::\+Texture\+Unit\+State\+::\+T\+A\+M\+\_\+\+U\+N\+K\+N\+O\+WN = Ogre\+::\+T\+A\+M\+\_\+\+U\+N\+K\+N\+O\+WN\hspace{0.3cm}{\ttfamily [static]}}



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