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


Class representing the state of a single texture unit during a \hyperlink{class_ogre_1_1_pass}{Pass} of a \hyperlink{class_ogre_1_1_technique}{Technique}, of a \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}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \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}\item 
struct \hyperlink{struct_ogre_1_1_texture_unit_state_1_1_u_v_w_addressing_mode}{U\+V\+W\+Addressing\+Mode}
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_texture}{Texture} addressing mode for each texture coordinate. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8}{Binding\+Type} \{ \newline
\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a39c5f87a9b1c5873ece87f48cba19970}{B\+T\+\_\+\+F\+R\+A\+G\+M\+E\+NT} = 0, 
\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a857de1fa5e307a5a5b0df779ad4a470e}{B\+T\+\_\+\+V\+E\+R\+T\+EX} = 1, 
\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a44dd1976abdef621f899dbd5b07cf2a6}{B\+T\+\_\+\+G\+E\+O\+M\+E\+T\+RY} = 2, 
\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a64c2b3822fbb577f7ed8749e82b9119a}{B\+T\+\_\+\+T\+E\+S\+S\+E\+L\+L\+A\+T\+I\+O\+N\+\_\+\+H\+U\+LL} = 3, 
\newline
\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8ab49cb1270c042c02e106a0af5feb2627}{B\+T\+\_\+\+T\+E\+S\+S\+E\+L\+L\+A\+T\+I\+O\+N\+\_\+\+D\+O\+M\+A\+IN} = 4, 
\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a0d13c803665b5063d1f2a9317bed2737}{B\+T\+\_\+\+C\+O\+M\+P\+U\+TE} = 5
 \}\begin{DoxyCompactList}\small\item\em The type of unit to bind the texture settings to. \end{DoxyCompactList}
\item 
enum \hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}{Content\+Type} \{ \hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030a1bffc0ebc06c072fd00b5e032ba3ce01}{C\+O\+N\+T\+E\+N\+T\+\_\+\+N\+A\+M\+ED} = 0, 
\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030a781de9de8d083db90677da1176d8ba82}{C\+O\+N\+T\+E\+N\+T\+\_\+\+S\+H\+A\+D\+OW} = 1, 
\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$<$ \hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626}{Texture\+Effect\+Type}, \hyperlink{struct_ogre_1_1_texture_unit_state_1_1_texture_effect}{Texture\+Effect} $>$ \hyperlink{class_ogre_1_1_texture_unit_state_a76b0d087ff12f806b0bd5e8b97d466bf}{Effect\+Map}
\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_texture}{Texture} effects in a multimap paired array. \end{DoxyCompactList}\item 
enum \hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931e}{Env\+Map\+Type} \{ \hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931ea50895f1c891eedb007500965ca4c204a}{E\+N\+V\+\_\+\+P\+L\+A\+N\+AR}, 
\hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931ea5a2d57450ada903ba586826344b7dbcb}{E\+N\+V\+\_\+\+C\+U\+R\+V\+ED}, 
\hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931ea3983cce37fbce61c118d202278166be9}{E\+N\+V\+\_\+\+R\+E\+F\+L\+E\+C\+T\+I\+ON}, 
\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 
enum \hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852}{Texture\+Addressing\+Mode} \{ \newline
\hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852a9421f7d4fa30994823c3a011ca693a8d}{T\+A\+M\+\_\+\+W\+R\+AP}, 
\hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852a2f132fdcdbeea6b30d8cb84f2fc50239}{T\+A\+M\+\_\+\+M\+I\+R\+R\+OR}, 
\hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852a01e4d16b7bc55a9718db2e5a3bf22378}{T\+A\+M\+\_\+\+C\+L\+A\+MP}, 
\hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852a4fe25e95df059a8d54bc3d9cf57986a0}{T\+A\+M\+\_\+\+B\+O\+R\+D\+ER}, 
\newline
\hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852ac9a0e6e319ed6487447cbc799550066e}{T\+A\+M\+\_\+\+U\+N\+K\+N\+O\+WN} = 99
 \}\begin{DoxyCompactList}\small\item\em \hyperlink{class_ogre_1_1_texture}{Texture} addressing modes -\/ default is T\+A\+M\+\_\+\+W\+R\+AP. \end{DoxyCompactList}
\item 
enum \hyperlink{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3}{Texture\+Cube\+Face} \{ \newline
\hyperlink{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3aa9d74ce7d0576d0dda5b5046a6434529}{C\+U\+B\+E\+\_\+\+F\+R\+O\+NT} = 0, 
\hyperlink{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a4459a171ecd0fe942dc5b5f8e517ecb2}{C\+U\+B\+E\+\_\+\+B\+A\+CK} = 1, 
\hyperlink{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a2062c3ecab68e4d86345293283f69a19}{C\+U\+B\+E\+\_\+\+L\+E\+FT} = 2, 
\hyperlink{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3a5044b1ee092361549f2ea953ed344b0a}{C\+U\+B\+E\+\_\+\+R\+I\+G\+HT} = 3, 
\newline
\hyperlink{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3ab085d126cff272045a1e616adbd2d726}{C\+U\+B\+E\+\_\+\+UP} = 4, 
\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 \hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626}{Texture\+Effect\+Type} \{ \newline
\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a2f0676d96ba378e32c3087fff9b7e73e}{E\+T\+\_\+\+E\+N\+V\+I\+R\+O\+N\+M\+E\+N\+T\+\_\+\+M\+AP}, 
\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}, 
\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626addf3dd2bc4eeabca2968c71600c347aa}{E\+T\+\_\+\+U\+V\+S\+C\+R\+O\+LL}, 
\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626ab5e67e4d891aad2e60925b216de34f08}{E\+T\+\_\+\+U\+S\+C\+R\+O\+LL}, 
\newline
\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a97f8687c21d13e08b89d22902919acaa}{E\+T\+\_\+\+V\+S\+C\+R\+O\+LL}, 
\hyperlink{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626a9afa2c9da615898c1a045e19bb3e602b}{E\+T\+\_\+\+R\+O\+T\+A\+TE}, 
\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 \hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82d}{Texture\+Transform\+Type} \{ \newline
\hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da46631ede4b31d448ebb891daf94cd526}{T\+T\+\_\+\+T\+R\+A\+N\+S\+L\+A\+T\+E\+\_\+U}, 
\hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da81757d80ac644a8da31f107a9cc21fdc}{T\+T\+\_\+\+T\+R\+A\+N\+S\+L\+A\+T\+E\+\_\+V}, 
\hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da7160eae1144aeb0cb6428416e465fd88}{T\+T\+\_\+\+S\+C\+A\+L\+E\+\_\+U}, 
\hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82da6e85f00afb893c2bace9a394e5ac9f95}{T\+T\+\_\+\+S\+C\+A\+L\+E\+\_\+V}, 
\newline
\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}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_texture_unit_state_a310855c1a22c81688d276cbaf62bd1bb}{Texture\+Unit\+State} (\hyperlink{class_ogre_1_1_pass}{Pass} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_texture_unit_state_a474f19d881bffa023e05852ad94c727a}{Texture\+Unit\+State} (\hyperlink{class_ogre_1_1_pass}{Pass} $\ast$parent, const \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} \&oth)
\item 
\hyperlink{class_ogre_1_1_texture_unit_state_a9b8a41ad39710320e10738f0a7d96f0d}{Texture\+Unit\+State} (\hyperlink{class_ogre_1_1_pass}{Pass} $\ast$parent, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&tex\+Name, unsigned int tex\+Coord\+Set=0)
\begin{DoxyCompactList}\small\item\em Name-\/based constructor. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_texture_unit_state_a21c2ac927f9f93472af7c8554c73bb0e}{$\sim$\+Texture\+Unit\+State} ()
\begin{DoxyCompactList}\small\item\em Default destructor. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_controller}{Controller}$<$ \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $>$ $\ast$ \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 \hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr} \& \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 
const \hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr} \& \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 
void \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 \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{Material\+::load}. \end{DoxyCompactList}\item 
void \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 \hyperlink{class_ogre_1_1_texture_unit_state_a69a867f544a08845a86acc421476c3e4}{\+\_\+notify\+Parent} (\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 \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 \hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{Material\+::prepare}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_abaa17fc5f6b4d96bfe19ecc6c78a331e}{\+\_\+set\+Texture\+Ptr} (const \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 \hyperlink{class_ogre_1_1_texture_unit_state_a6236e0e398c153980ff06f13e58a667b}{\+\_\+set\+Texture\+Ptr} (const \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 \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 \hyperlink{class_ogre_1_1_resource_aa31bef1bfaa87731622e56f11b548e27}{Material\+::unload}. \end{DoxyCompactList}\item 
void \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 \hyperlink{class_ogre_1_1_texture_unit_state_a63fcdc07aea7a558c046c826ae510f39}{add\+Effect} (\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 \hyperlink{class_ogre_1_1_texture_unit_state_a8532ad689770975afe46a3ddd49123a8}{add\+Frame\+Texture\+Name} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Add a \hyperlink{class_ogre_1_1_texture}{Texture} name to the end of the frame container. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_texture_unit_state_a1d18cb7a792b05d9ffd6192d7f9a252f}{apply\+Texture\+Aliases} (const \hyperlink{group___general_ga5dafc9e68bde8099ec5ad6c94e4cf19b}{Alias\+Texture\+Name\+Pair\+List} \&alias\+List, const bool apply=true)
\begin{DoxyCompactList}\small\item\em Applies texture names to \hyperlink{class_ogre_1_1_texture}{Texture} Unit State with matching texture name aliases. \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{class_ogre_1_1_texture_unit_state_a2c9d0e4e1188041093e8b2c95dc07359}{calculate\+Size} (void) const
\item 
void \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 \hyperlink{class_ogre_1_1_layer_blend_mode_ex}{Layer\+Blend\+Mode\+Ex} \& \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 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \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 
\hyperlink{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8}{Binding\+Type} \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 
\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor} \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 
\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor} \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 \hyperlink{class_ogre_1_1_layer_blend_mode_ex}{Layer\+Blend\+Mode\+Ex} \& \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 
\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}{Content\+Type} \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 \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} references. \end{DoxyCompactList}\item 
unsigned int \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 
\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format} \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 \hyperlink{class_ogre_1_1_texture_unit_state_a76b0d087ff12f806b0bd5e8b97d466bf}{Effect\+Map} \& \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 \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \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 \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 \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 \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_texture_unit_state_a3e25d54715635a0ddb704757d289926e}{get\+Name} (void) const
\begin{DoxyCompactList}\small\item\em Get the name of the \hyperlink{class_ogre_1_1_texture}{Texture} Unit State. \end{DoxyCompactList}\item 
unsigned int \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 \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 
\hyperlink{class_ogre_1_1_pass}{Pass} $\ast$ \hyperlink{class_ogre_1_1_texture_unit_state_a8ab86c68f7a74feb155c5100955c488d}{get\+Parent} (void) const
\begin{DoxyCompactList}\small\item\em Gets the parent \hyperlink{class_ogre_1_1_pass}{Pass} object. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \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 \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 \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \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 \hyperlink{struct_ogre_1_1_texture_unit_state_1_1_u_v_w_addressing_mode}{U\+V\+W\+Addressing\+Mode} \& \hyperlink{class_ogre_1_1_texture_unit_state_adb1a4e022683d76dece058279be1c5d0}{get\+Texture\+Addressing\+Mode} (void) const
\begin{DoxyCompactList}\small\item\em Gets the texture addressing mode for a given coordinate, i.\+e. \end{DoxyCompactList}\item 
unsigned int \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 \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value} \& \hyperlink{class_ogre_1_1_texture_unit_state_a98a26b14bc7315232b195c98d30cb7b2}{get\+Texture\+Border\+Colour} (void) const
\begin{DoxyCompactList}\small\item\em Sets the texture border colour. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_texture_unit_state_ac026c759650a1d3d1e340b1b6a0d4425}{get\+Texture\+Compare\+Enabled} () const
\item 
\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function} \hyperlink{class_ogre_1_1_texture_unit_state_a2da1174c8d8a33eeae1bfc1ee9ba67ef}{get\+Texture\+Compare\+Function} () const
\item 
unsigned int \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 $>$ \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 
\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options} \hyperlink{class_ogre_1_1_texture_unit_state_ad09c689a1e700047d203c27ab5510601}{get\+Texture\+Filtering} (\hyperlink{group___general_gac1fc36ec2f4df4b2afa9fa39f9c66c06}{Filter\+Type} ftpye) const
\begin{DoxyCompactList}\small\item\em Get the texture filtering for the given type. \end{DoxyCompactList}\item 
float \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 \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \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 \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_texture_unit_state_a382cebc0d7e3b61e30ec3eb625607462}{get\+Texture\+Name\+Alias} (void) const
\begin{DoxyCompactList}\small\item\em Gets the \hyperlink{class_ogre_1_1_texture}{Texture} Name Alias of the \hyperlink{class_ogre_1_1_texture}{Texture} Unit. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_radian}{Radian} \& \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 \hyperlink{class_ogre_1_1_matrix4}{Matrix4} \& \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 
\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type} \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 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \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 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \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 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \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 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \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 \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 \hyperlink{class_ogre_1_1_texture_unit_state_a6decf13e49ebeafb9556479fb2022286}{is3D} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this texture layer uses a composite 3D cubic texture. \end{DoxyCompactList}\item 
bool \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 \hyperlink{class_ogre_1_1_texture_unit_state_afe0aa6be6db7207ca6d439b6e52d33d8}{is\+Cubic} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this texture unit is either a series of 6 2D textures, each in it\textquotesingle{}s own frame, or is a full 3D cube map. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_texture_unit_state_a5bb9b54d2869c429591b36f64d4361c5}{is\+Default\+Filtering} () const
\begin{DoxyCompactList}\small\item\em Returns true if texture filtering was not set explicitly and is determined by \hyperlink{class_ogre_1_1_material_manager}{Material\+Manager}. \end{DoxyCompactList}\item 
bool \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 \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 \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 
\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} \& \hyperlink{class_ogre_1_1_texture_unit_state_aba48cec6d1b8ce8973b0fa1dac2312b7}{operator=} (const \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} \&oth)
\item 
void \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 \hyperlink{class_ogre_1_1_texture_unit_state_a99cc16130a5124dc6ac108d4647d2d31}{remove\+Effect} (const \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 \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 \hyperlink{class_ogre_1_1_texture_unit_state_ae5e48cac8f87dad78d040364021b7a95}{set\+Alpha\+Operation} (\hyperlink{group___materials_ga264ecab38a04d01e2c3158fa05ec1ee2}{Layer\+Blend\+Operation\+Ex} op, \hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source} source1=\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea45f1a14042993f460992b3253ce6ae80}{L\+B\+S\+\_\+\+T\+E\+X\+T\+U\+RE}, \hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source} source2=\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea370f25da69381c74ca1fc51fde81e659}{L\+B\+S\+\_\+\+C\+U\+R\+R\+E\+NT}, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} arg1=1.\+0, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} arg2=1.\+0, \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 \hyperlink{class_ogre_1_1_texture_unit_state_a50e1e1cd7feecd8b4c1f914b5c361413}{set\+Animated\+Texture\+Name} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, unsigned int num\+Frames, \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 \hyperlink{class_ogre_1_1_texture_unit_state_a71b18f9c8f0bcfc7324b5ebbcee40ae3}{set\+Animated\+Texture\+Name} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} $\ast$const names, unsigned int num\+Frames, \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 \hyperlink{class_ogre_1_1_texture_unit_state_a0ab7a2779ea196f2d51435d12a02d81f}{set\+Binding\+Type} (\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 \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 \hyperlink{class_ogre_1_1_texture_unit_state_aa47f44936c3090c97d8b4179333a208b}{set\+Colour\+Operation} (const \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 \hyperlink{class_ogre_1_1_texture_unit_state_a5f3994ce2f61c6c6fee6fe8f89c9e369}{set\+Colour\+Operation\+Ex} (\hyperlink{group___materials_ga264ecab38a04d01e2c3158fa05ec1ee2}{Layer\+Blend\+Operation\+Ex} op, \hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source} source1=\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea45f1a14042993f460992b3253ce6ae80}{L\+B\+S\+\_\+\+T\+E\+X\+T\+U\+RE}, \hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source} source2=\hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea370f25da69381c74ca1fc51fde81e659}{L\+B\+S\+\_\+\+C\+U\+R\+R\+E\+NT}, const \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value} \&arg1=\hyperlink{class_ogre_1_1_colour_value_a8eba66b2908f44f00f8d9c9ec25877de}{Colour\+Value\+::\+White}, const \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value} \&arg2=\hyperlink{class_ogre_1_1_colour_value_a8eba66b2908f44f00f8d9c9ec25877de}{Colour\+Value\+::\+White}, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} manual\+Blend=0.\+0)
\begin{DoxyCompactList}\small\item\em Setting advanced blending options. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_a1c4dcca2a0d343dc6660b9071cd4c79f}{set\+Colour\+Op\+Multipass\+Fallback} (const \hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor} source\+Factor, const \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 \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 \hyperlink{class_ogre_1_1_texture_unit_state_a0073a4465cc92944252d69b2671ea97d}{set\+Compositor\+Reference} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&compositor\+Name, const \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 \hyperlink{class_ogre_1_1_texture_unit_state_adfaae68c0291e96fb75ba217d94e67bf}{set\+Content\+Type} (\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}{Content\+Type} ct)
\begin{DoxyCompactList}\small\item\em Set the type of content this \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} references. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_a9f64f66afe24fa8f6bbf0141d8602649}{set\+Cubic\+Texture} (const \hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr} $\ast$const tex\+Ptrs, bool for\+U\+VW=false)
\begin{DoxyCompactList}\small\item\em Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_aef7c395bc62173060141717a79681a97}{set\+Cubic\+Texture\+Name} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, bool for\+U\+VW=false)
\begin{DoxyCompactList}\small\item\em Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_ae19baf627a3dffd5795985bb16f4967b}{set\+Cubic\+Texture\+Name} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} $\ast$const names, bool for\+U\+VW=false)
\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 \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 \hyperlink{class_ogre_1_1_texture_unit_state_a09a45c146f4e26397d2f5b0d885bd893}{set\+Desired\+Format} (\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 \hyperlink{class_ogre_1_1_texture_unit_state_a33ea31aeae9a25f1b05e2d987cbb891e}{set\+Environment\+Map} (bool enable, \hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931e}{Env\+Map\+Type} env\+Map\+Type=\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 \hyperlink{class_ogre_1_1_texture_unit_state_affd8342a0a86bc34f727dc6b4b21f565}{set\+Frame\+Texture\+Name} (const \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 \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 \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 \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 \hyperlink{class_ogre_1_1_texture_unit_state_abad476c32cafd8defc6f3c6da71dd2cb}{set\+Name} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Set the name of the \hyperlink{class_ogre_1_1_texture}{Texture} Unit State. \end{DoxyCompactList}\item 
void \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 \hyperlink{class_ogre_1_1_texture_unit_state_a56edced19709cbda365eae03b590a5e1}{set\+Projective\+Texturing} (bool enabled, const \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 \hyperlink{class_ogre_1_1_texture_unit_state_a72e3695b81f12b32762237c5de202dff}{set\+Rotate\+Animation} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} speed)
\begin{DoxyCompactList}\small\item\em Sets up an animated texture rotation for this layer. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_a45bd669bcc64ec417fe4208aa5cfd685}{set\+Scroll\+Animation} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} u\+Speed, \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 \hyperlink{class_ogre_1_1_texture_unit_state_a5da15b05f88f28597b0eb6e400e6242a}{set\+Texture} (const \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 \hyperlink{class_ogre_1_1_texture_unit_state_ac6116d92e9a3978aa367496c8b7bae5b}{set\+Texture\+Addressing\+Mode} (\hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852}{Texture\+Addressing\+Mode} tam)
\begin{DoxyCompactList}\small\item\em Sets the texture addressing mode, i.\+e. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_a23a5f83043eeaf14c41e9930b91eeb09}{set\+Texture\+Addressing\+Mode} (\hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852}{Texture\+Addressing\+Mode} u, \hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852}{Texture\+Addressing\+Mode} v, \hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852}{Texture\+Addressing\+Mode} w)
\begin{DoxyCompactList}\small\item\em Sets the texture addressing mode, i.\+e. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_a8de35701b96f52764d292c580aa345fb}{set\+Texture\+Addressing\+Mode} (const \hyperlink{struct_ogre_1_1_texture_unit_state_1_1_u_v_w_addressing_mode}{U\+V\+W\+Addressing\+Mode} \&uvw)
\begin{DoxyCompactList}\small\item\em Sets the texture addressing mode, i.\+e. \end{DoxyCompactList}\item 
void \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 \hyperlink{class_ogre_1_1_texture_unit_state_a4685adfbadf451fd318b3ea900abfca2}{set\+Texture\+Border\+Colour} (const \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value} \&colour)
\begin{DoxyCompactList}\small\item\em Sets the texture border colour. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_aa2f3464e36c93cca9bafefa4591433f3}{set\+Texture\+Compare\+Enabled} (bool enabled)
\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_a453e725f0367bc8bae273d4d3f990d26}{set\+Texture\+Compare\+Function} (\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function} function)
\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_a70c55b5db14e54e2e7a991f548b6387d}{set\+Texture\+Coord\+Set} (unsigned int \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 \hyperlink{class_ogre_1_1_texture_unit_state_a30757c168b734902d03720e3f36c27d4}{set\+Texture\+Filtering} (\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 \hyperlink{class_ogre_1_1_texture_unit_state_a363c69770217425598c716430abd159a}{set\+Texture\+Filtering} (\hyperlink{group___general_gac1fc36ec2f4df4b2afa9fa39f9c66c06}{Filter\+Type} ftype, \hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options} opts)
\begin{DoxyCompactList}\small\item\em Set a single filtering option on this texture unit. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_afccaca77406c883c5bfe440b7ed3c3e4}{set\+Texture\+Filtering} (\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options} min\+Filter, \hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options} mag\+Filter, \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 \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 \hyperlink{class_ogre_1_1_texture_unit_state_aa2261f5949b6e8185e46999b7ddaf93f}{set\+Texture\+Name} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, \hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type} ttype=\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 \hyperlink{class_ogre_1_1_texture_unit_state_ac91d942e89e887cc7143a6073adc520c}{set\+Texture\+Name\+Alias} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Set the alias name used for texture frame names. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_a9239845b4de453c450e40f2c5f46cc8d}{set\+Texture\+Rotate} (const \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 \hyperlink{class_ogre_1_1_texture_unit_state_aa5be6f7e13179f692c9af7c494c703cf}{set\+Texture\+Scale} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} u\+Scale, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} v\+Scale)
\begin{DoxyCompactList}\small\item\em Sets the scaling factor applied to texture coordinates. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_a354b3466d8c49e6f0057dea8206d3dd4}{set\+Texture\+Scroll} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} u, \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 \hyperlink{class_ogre_1_1_texture_unit_state_ac7f99a83fe25f06af508b55e3ab381da}{set\+Texture\+Transform} (const \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 \hyperlink{class_ogre_1_1_texture_unit_state_a112573713ccb2f221acf4a6d4c95c64c}{set\+Texture\+U\+Scale} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} value)
\begin{DoxyCompactList}\small\item\em As set\+Texture\+Scale, but sets only U value. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_a8b8123ca656ea172565cb6d4e9ef8224}{set\+Texture\+U\+Scroll} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} value)
\begin{DoxyCompactList}\small\item\em As set\+Texture\+Scroll, but sets only U value. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_af73cbd6d4bc2dbf21596da3a8d0dc4fd}{set\+Texture\+V\+Scale} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} value)
\begin{DoxyCompactList}\small\item\em As set\+Texture\+Scale, but sets only V value. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_a83752e3f64f9a345abbfd143f213f586}{set\+Texture\+V\+Scroll} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} value)
\begin{DoxyCompactList}\small\item\em As set\+Texture\+Scroll, but sets only V value. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_texture_unit_state_af56112cb1e6d144b8fd63b280d8ae350}{set\+Transform\+Animation} (const \hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82d}{Texture\+Transform\+Type} ttype, const \hyperlink{group___general_gabf2e0412a783a6f708ca1a58abb45c1b}{Waveform\+Type} wave\+Type, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} base=0, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} frequency=1, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} phase=0, \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}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{class_ogre_1_1_texture_unit_state_a06b786d8e0847dfe9cc15e1dea308fcd}{Render\+System}
\end{DoxyCompactItemize}


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

\begin{DoxyRemark}{Remarks}
\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. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
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. 
\end{DoxyParagraph}


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



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



\subsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626}\label{class_ogre_1_1_texture_unit_state_a717b14961a636b3a18b8ab3dcef61626}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!Texture\+Effect\+Type@{Texture\+Effect\+Type}}
\index{Texture\+Effect\+Type@{Texture\+Effect\+Type}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{Texture\+Effect\+Type}{TextureEffectType}}
{\footnotesize\ttfamily enum \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{E\+T\+\_\+\+E\+N\+V\+I\+R\+O\+N\+M\+E\+N\+T\+\_\+\+M\+AP@{E\+T\+\_\+\+E\+N\+V\+I\+R\+O\+N\+M\+E\+N\+T\+\_\+\+M\+AP}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!E\+T\+\_\+\+E\+N\+V\+I\+R\+O\+N\+M\+E\+N\+T\+\_\+\+M\+AP@{E\+T\+\_\+\+E\+N\+V\+I\+R\+O\+N\+M\+E\+N\+T\+\_\+\+M\+AP}}}\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{E\+T\+\_\+\+P\+R\+O\+J\+E\+C\+T\+I\+V\+E\+\_\+\+T\+E\+X\+T\+U\+RE@{E\+T\+\_\+\+P\+R\+O\+J\+E\+C\+T\+I\+V\+E\+\_\+\+T\+E\+X\+T\+U\+RE}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!E\+T\+\_\+\+P\+R\+O\+J\+E\+C\+T\+I\+V\+E\+\_\+\+T\+E\+X\+T\+U\+RE@{E\+T\+\_\+\+P\+R\+O\+J\+E\+C\+T\+I\+V\+E\+\_\+\+T\+E\+X\+T\+U\+RE}}}\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{E\+T\+\_\+\+U\+V\+S\+C\+R\+O\+LL@{E\+T\+\_\+\+U\+V\+S\+C\+R\+O\+LL}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!E\+T\+\_\+\+U\+V\+S\+C\+R\+O\+LL@{E\+T\+\_\+\+U\+V\+S\+C\+R\+O\+LL}}}\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{E\+T\+\_\+\+U\+S\+C\+R\+O\+LL@{E\+T\+\_\+\+U\+S\+C\+R\+O\+LL}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!E\+T\+\_\+\+U\+S\+C\+R\+O\+LL@{E\+T\+\_\+\+U\+S\+C\+R\+O\+LL}}}\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{E\+T\+\_\+\+V\+S\+C\+R\+O\+LL@{E\+T\+\_\+\+V\+S\+C\+R\+O\+LL}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!E\+T\+\_\+\+V\+S\+C\+R\+O\+LL@{E\+T\+\_\+\+V\+S\+C\+R\+O\+LL}}}\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{E\+T\+\_\+\+R\+O\+T\+A\+TE@{E\+T\+\_\+\+R\+O\+T\+A\+TE}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!E\+T\+\_\+\+R\+O\+T\+A\+TE@{E\+T\+\_\+\+R\+O\+T\+A\+TE}}}\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{E\+T\+\_\+\+T\+R\+A\+N\+S\+F\+O\+RM@{E\+T\+\_\+\+T\+R\+A\+N\+S\+F\+O\+RM}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!E\+T\+\_\+\+T\+R\+A\+N\+S\+F\+O\+RM@{E\+T\+\_\+\+T\+R\+A\+N\+S\+F\+O\+RM}}}\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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!Env\+Map\+Type@{Env\+Map\+Type}}
\index{Env\+Map\+Type@{Env\+Map\+Type}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{Env\+Map\+Type}{EnvMapType}}
{\footnotesize\ttfamily enum \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{E\+N\+V\+\_\+\+P\+L\+A\+N\+AR@{E\+N\+V\+\_\+\+P\+L\+A\+N\+AR}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!E\+N\+V\+\_\+\+P\+L\+A\+N\+AR@{E\+N\+V\+\_\+\+P\+L\+A\+N\+AR}}}\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{E\+N\+V\+\_\+\+C\+U\+R\+V\+ED@{E\+N\+V\+\_\+\+C\+U\+R\+V\+ED}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!E\+N\+V\+\_\+\+C\+U\+R\+V\+ED@{E\+N\+V\+\_\+\+C\+U\+R\+V\+ED}}}\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{E\+N\+V\+\_\+\+R\+E\+F\+L\+E\+C\+T\+I\+ON@{E\+N\+V\+\_\+\+R\+E\+F\+L\+E\+C\+T\+I\+ON}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!E\+N\+V\+\_\+\+R\+E\+F\+L\+E\+C\+T\+I\+ON@{E\+N\+V\+\_\+\+R\+E\+F\+L\+E\+C\+T\+I\+ON}}}\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{E\+N\+V\+\_\+\+N\+O\+R\+M\+AL@{E\+N\+V\+\_\+\+N\+O\+R\+M\+AL}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!E\+N\+V\+\_\+\+N\+O\+R\+M\+AL@{E\+N\+V\+\_\+\+N\+O\+R\+M\+AL}}}\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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!Texture\+Transform\+Type@{Texture\+Transform\+Type}}
\index{Texture\+Transform\+Type@{Texture\+Transform\+Type}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{Texture\+Transform\+Type}{TextureTransformType}}
{\footnotesize\ttfamily enum \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{T\+T\+\_\+\+T\+R\+A\+N\+S\+L\+A\+T\+E\+\_\+U@{T\+T\+\_\+\+T\+R\+A\+N\+S\+L\+A\+T\+E\+\_\+U}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!T\+T\+\_\+\+T\+R\+A\+N\+S\+L\+A\+T\+E\+\_\+U@{T\+T\+\_\+\+T\+R\+A\+N\+S\+L\+A\+T\+E\+\_\+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{T\+T\+\_\+\+T\+R\+A\+N\+S\+L\+A\+T\+E\+\_\+V@{T\+T\+\_\+\+T\+R\+A\+N\+S\+L\+A\+T\+E\+\_\+V}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!T\+T\+\_\+\+T\+R\+A\+N\+S\+L\+A\+T\+E\+\_\+V@{T\+T\+\_\+\+T\+R\+A\+N\+S\+L\+A\+T\+E\+\_\+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{T\+T\+\_\+\+S\+C\+A\+L\+E\+\_\+U@{T\+T\+\_\+\+S\+C\+A\+L\+E\+\_\+U}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!T\+T\+\_\+\+S\+C\+A\+L\+E\+\_\+U@{T\+T\+\_\+\+S\+C\+A\+L\+E\+\_\+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{T\+T\+\_\+\+S\+C\+A\+L\+E\+\_\+V@{T\+T\+\_\+\+S\+C\+A\+L\+E\+\_\+V}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!T\+T\+\_\+\+S\+C\+A\+L\+E\+\_\+V@{T\+T\+\_\+\+S\+C\+A\+L\+E\+\_\+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{T\+T\+\_\+\+R\+O\+T\+A\+TE@{T\+T\+\_\+\+R\+O\+T\+A\+TE}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!T\+T\+\_\+\+R\+O\+T\+A\+TE@{T\+T\+\_\+\+R\+O\+T\+A\+TE}}}\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_a47c5a9f4fc08159b99bdc51103bcf852}\label{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!Texture\+Addressing\+Mode@{Texture\+Addressing\+Mode}}
\index{Texture\+Addressing\+Mode@{Texture\+Addressing\+Mode}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{Texture\+Addressing\+Mode}{TextureAddressingMode}}
{\footnotesize\ttfamily enum \hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852}{Ogre\+::\+Texture\+Unit\+State\+::\+Texture\+Addressing\+Mode}}



\hyperlink{class_ogre_1_1_texture}{Texture} addressing modes -\/ default is T\+A\+M\+\_\+\+W\+R\+AP. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{T\+A\+M\+\_\+\+W\+R\+AP@{T\+A\+M\+\_\+\+W\+R\+AP}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!T\+A\+M\+\_\+\+W\+R\+AP@{T\+A\+M\+\_\+\+W\+R\+AP}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852a9421f7d4fa30994823c3a011ca693a8d}\label{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852a9421f7d4fa30994823c3a011ca693a8d}} 
T\+A\+M\+\_\+\+W\+R\+AP&Any value beyond 1.\+0 wraps back to 0.\+0. Texture is repeated. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{T\+A\+M\+\_\+\+M\+I\+R\+R\+OR@{T\+A\+M\+\_\+\+M\+I\+R\+R\+OR}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!T\+A\+M\+\_\+\+M\+I\+R\+R\+OR@{T\+A\+M\+\_\+\+M\+I\+R\+R\+OR}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852a2f132fdcdbeea6b30d8cb84f2fc50239}\label{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852a2f132fdcdbeea6b30d8cb84f2fc50239}} 
T\+A\+M\+\_\+\+M\+I\+R\+R\+OR&Texture flips every boundary, meaning texture is mirrored every 1.\+0 u or v \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{T\+A\+M\+\_\+\+C\+L\+A\+MP@{T\+A\+M\+\_\+\+C\+L\+A\+MP}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!T\+A\+M\+\_\+\+C\+L\+A\+MP@{T\+A\+M\+\_\+\+C\+L\+A\+MP}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852a01e4d16b7bc55a9718db2e5a3bf22378}\label{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852a01e4d16b7bc55a9718db2e5a3bf22378}} 
T\+A\+M\+\_\+\+C\+L\+A\+MP&Values beyond 1.\+0 are clamped to 1.\+0. Texture ’streaks’ beyond 1.\+0 since last line of pixels is used across the rest of the address space. Useful for textures which need exact coverage from 0.\+0 to 1.\+0 without the ’fuzzy edge’ wrap gives when combined with filtering. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{T\+A\+M\+\_\+\+B\+O\+R\+D\+ER@{T\+A\+M\+\_\+\+B\+O\+R\+D\+ER}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!T\+A\+M\+\_\+\+B\+O\+R\+D\+ER@{T\+A\+M\+\_\+\+B\+O\+R\+D\+ER}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852a4fe25e95df059a8d54bc3d9cf57986a0}\label{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852a4fe25e95df059a8d54bc3d9cf57986a0}} 
T\+A\+M\+\_\+\+B\+O\+R\+D\+ER&Texture coordinates outside the range \mbox{[}0.\+0, 1.\+0\mbox{]} are set to the border colour. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{T\+A\+M\+\_\+\+U\+N\+K\+N\+O\+WN@{T\+A\+M\+\_\+\+U\+N\+K\+N\+O\+WN}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!T\+A\+M\+\_\+\+U\+N\+K\+N\+O\+WN@{T\+A\+M\+\_\+\+U\+N\+K\+N\+O\+WN}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852ac9a0e6e319ed6487447cbc799550066e}\label{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852ac9a0e6e319ed6487447cbc799550066e}} 
T\+A\+M\+\_\+\+U\+N\+K\+N\+O\+WN&Unknown. \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3}\label{class_ogre_1_1_texture_unit_state_a2584766311cf6d0eaada7be28c287cc3}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!Texture\+Cube\+Face@{Texture\+Cube\+Face}}
\index{Texture\+Cube\+Face@{Texture\+Cube\+Face}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{Texture\+Cube\+Face}{TextureCubeFace}}
{\footnotesize\ttfamily enum \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{C\+U\+B\+E\+\_\+\+F\+R\+O\+NT@{C\+U\+B\+E\+\_\+\+F\+R\+O\+NT}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!C\+U\+B\+E\+\_\+\+F\+R\+O\+NT@{C\+U\+B\+E\+\_\+\+F\+R\+O\+NT}}}\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{C\+U\+B\+E\+\_\+\+B\+A\+CK@{C\+U\+B\+E\+\_\+\+B\+A\+CK}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!C\+U\+B\+E\+\_\+\+B\+A\+CK@{C\+U\+B\+E\+\_\+\+B\+A\+CK}}}\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{C\+U\+B\+E\+\_\+\+L\+E\+FT@{C\+U\+B\+E\+\_\+\+L\+E\+FT}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!C\+U\+B\+E\+\_\+\+L\+E\+FT@{C\+U\+B\+E\+\_\+\+L\+E\+FT}}}\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{C\+U\+B\+E\+\_\+\+R\+I\+G\+HT@{C\+U\+B\+E\+\_\+\+R\+I\+G\+HT}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!C\+U\+B\+E\+\_\+\+R\+I\+G\+HT@{C\+U\+B\+E\+\_\+\+R\+I\+G\+HT}}}\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{C\+U\+B\+E\+\_\+\+UP@{C\+U\+B\+E\+\_\+\+UP}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!C\+U\+B\+E\+\_\+\+UP@{C\+U\+B\+E\+\_\+\+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{C\+U\+B\+E\+\_\+\+D\+O\+WN@{C\+U\+B\+E\+\_\+\+D\+O\+WN}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!C\+U\+B\+E\+\_\+\+D\+O\+WN@{C\+U\+B\+E\+\_\+\+D\+O\+WN}}}\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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!Binding\+Type@{Binding\+Type}}
\index{Binding\+Type@{Binding\+Type}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{Binding\+Type}{BindingType}}
{\footnotesize\ttfamily enum \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[\hyperlink{deprecated__deprecated000157}{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{B\+T\+\_\+\+F\+R\+A\+G\+M\+E\+NT@{B\+T\+\_\+\+F\+R\+A\+G\+M\+E\+NT}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!B\+T\+\_\+\+F\+R\+A\+G\+M\+E\+NT@{B\+T\+\_\+\+F\+R\+A\+G\+M\+E\+NT}}}\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{B\+T\+\_\+\+V\+E\+R\+T\+EX@{B\+T\+\_\+\+V\+E\+R\+T\+EX}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!B\+T\+\_\+\+V\+E\+R\+T\+EX@{B\+T\+\_\+\+V\+E\+R\+T\+EX}}}\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

\raisebox{\heightof{T}}[0pt][0pt]{\index{B\+T\+\_\+\+G\+E\+O\+M\+E\+T\+RY@{B\+T\+\_\+\+G\+E\+O\+M\+E\+T\+RY}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!B\+T\+\_\+\+G\+E\+O\+M\+E\+T\+RY@{B\+T\+\_\+\+G\+E\+O\+M\+E\+T\+RY}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a44dd1976abdef621f899dbd5b07cf2a6}\label{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a44dd1976abdef621f899dbd5b07cf2a6}} 
B\+T\+\_\+\+G\+E\+O\+M\+E\+T\+RY&Geometry processing unit. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{B\+T\+\_\+\+T\+E\+S\+S\+E\+L\+L\+A\+T\+I\+O\+N\+\_\+\+H\+U\+LL@{B\+T\+\_\+\+T\+E\+S\+S\+E\+L\+L\+A\+T\+I\+O\+N\+\_\+\+H\+U\+LL}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!B\+T\+\_\+\+T\+E\+S\+S\+E\+L\+L\+A\+T\+I\+O\+N\+\_\+\+H\+U\+LL@{B\+T\+\_\+\+T\+E\+S\+S\+E\+L\+L\+A\+T\+I\+O\+N\+\_\+\+H\+U\+LL}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a64c2b3822fbb577f7ed8749e82b9119a}\label{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a64c2b3822fbb577f7ed8749e82b9119a}} 
B\+T\+\_\+\+T\+E\+S\+S\+E\+L\+L\+A\+T\+I\+O\+N\+\_\+\+H\+U\+LL&Tessellation control processing unit. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{B\+T\+\_\+\+T\+E\+S\+S\+E\+L\+L\+A\+T\+I\+O\+N\+\_\+\+D\+O\+M\+A\+IN@{B\+T\+\_\+\+T\+E\+S\+S\+E\+L\+L\+A\+T\+I\+O\+N\+\_\+\+D\+O\+M\+A\+IN}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!B\+T\+\_\+\+T\+E\+S\+S\+E\+L\+L\+A\+T\+I\+O\+N\+\_\+\+D\+O\+M\+A\+IN@{B\+T\+\_\+\+T\+E\+S\+S\+E\+L\+L\+A\+T\+I\+O\+N\+\_\+\+D\+O\+M\+A\+IN}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8ab49cb1270c042c02e106a0af5feb2627}\label{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8ab49cb1270c042c02e106a0af5feb2627}} 
B\+T\+\_\+\+T\+E\+S\+S\+E\+L\+L\+A\+T\+I\+O\+N\+\_\+\+D\+O\+M\+A\+IN&Tessellation evaluation processing unit. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{B\+T\+\_\+\+C\+O\+M\+P\+U\+TE@{B\+T\+\_\+\+C\+O\+M\+P\+U\+TE}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!B\+T\+\_\+\+C\+O\+M\+P\+U\+TE@{B\+T\+\_\+\+C\+O\+M\+P\+U\+TE}}}\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a0d13c803665b5063d1f2a9317bed2737}\label{class_ogre_1_1_texture_unit_state_a411bcf3e69280ce146f09ddc73d9e7e8a0d13c803665b5063d1f2a9317bed2737}} 
B\+T\+\_\+\+C\+O\+M\+P\+U\+TE&Compute processing unit. \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}\label{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!Content\+Type@{Content\+Type}}
\index{Content\+Type@{Content\+Type}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{Content\+Type}{ContentType}}
{\footnotesize\ttfamily enum \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{C\+O\+N\+T\+E\+N\+T\+\_\+\+N\+A\+M\+ED@{C\+O\+N\+T\+E\+N\+T\+\_\+\+N\+A\+M\+ED}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!C\+O\+N\+T\+E\+N\+T\+\_\+\+N\+A\+M\+ED@{C\+O\+N\+T\+E\+N\+T\+\_\+\+N\+A\+M\+ED}}}\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{C\+O\+N\+T\+E\+N\+T\+\_\+\+S\+H\+A\+D\+OW@{C\+O\+N\+T\+E\+N\+T\+\_\+\+S\+H\+A\+D\+OW}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!C\+O\+N\+T\+E\+N\+T\+\_\+\+S\+H\+A\+D\+OW@{C\+O\+N\+T\+E\+N\+T\+\_\+\+S\+H\+A\+D\+OW}}}\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{C\+O\+N\+T\+E\+N\+T\+\_\+\+C\+O\+M\+P\+O\+S\+I\+T\+OR@{C\+O\+N\+T\+E\+N\+T\+\_\+\+C\+O\+M\+P\+O\+S\+I\+T\+OR}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!C\+O\+N\+T\+E\+N\+T\+\_\+\+C\+O\+M\+P\+O\+S\+I\+T\+OR@{C\+O\+N\+T\+E\+N\+T\+\_\+\+C\+O\+M\+P\+O\+S\+I\+T\+OR}}}\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}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a310855c1a22c81688d276cbaf62bd1bb}\label{class_ogre_1_1_texture_unit_state_a310855c1a22c81688d276cbaf62bd1bb}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!Texture\+Unit\+State@{Texture\+Unit\+State}}
\index{Texture\+Unit\+State@{Texture\+Unit\+State}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{Texture\+Unit\+State()}{TextureUnitState()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily Ogre\+::\+Texture\+Unit\+State\+::\+Texture\+Unit\+State (\begin{DoxyParamCaption}\item[{\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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!Texture\+Unit\+State@{Texture\+Unit\+State}}
\index{Texture\+Unit\+State@{Texture\+Unit\+State}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{Texture\+Unit\+State()}{TextureUnitState()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily Ogre\+::\+Texture\+Unit\+State\+::\+Texture\+Unit\+State (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_pass}{Pass} $\ast$}]{parent,  }\item[{const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!````~Texture\+Unit\+State@{$\sim$\+Texture\+Unit\+State}}
\index{````~Texture\+Unit\+State@{$\sim$\+Texture\+Unit\+State}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{$\sim$\+Texture\+Unit\+State()}{~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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!Texture\+Unit\+State@{Texture\+Unit\+State}}
\index{Texture\+Unit\+State@{Texture\+Unit\+State}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{Texture\+Unit\+State()}{TextureUnitState()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily Ogre\+::\+Texture\+Unit\+State\+::\+Texture\+Unit\+State (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_pass}{Pass} $\ast$}]{parent,  }\item[{const \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}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_aba48cec6d1b8ce8973b0fa1dac2312b7}\label{class_ogre_1_1_texture_unit_state_aba48cec6d1b8ce8973b0fa1dac2312b7}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!operator=@{operator=}}
\index{operator=@{operator=}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State}\& Ogre\+::\+Texture\+Unit\+State\+::operator= (\begin{DoxyParamCaption}\item[{const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+Name@{get\+Texture\+Name}}
\index{get\+Texture\+Name@{get\+Texture\+Name}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+Name()}{getTextureName()}}
{\footnotesize\ttfamily const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Name@{set\+Texture\+Name}}
\index{set\+Texture\+Name@{set\+Texture\+Name}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Name()}{setTextureName()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Name (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{\hyperlink{group___resources_gae50520af6377ff8184cf79125cb9c4d7}{Texture\+Type}}]{ttype = {\ttfamily \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture@{set\+Texture}}
\index{set\+Texture@{set\+Texture}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture()}{setTexture()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture (\begin{DoxyParamCaption}\item[{const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Cubic\+Texture\+Name@{set\+Cubic\+Texture\+Name}}
\index{set\+Cubic\+Texture\+Name@{set\+Cubic\+Texture\+Name}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Cubic\+Texture\+Name()}{setCubicTextureName()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Cubic\+Texture\+Name (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{bool}]{for\+U\+VW = {\ttfamily false} }\end{DoxyParamCaption})}



Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube. 

Cubic textures are made up of 6 separate texture images. Each one of these is an orthogonal view of the world with a F\+OV of 90 degrees and an aspect ratio of 1\+:1. You can generate these from 3D Studio by rendering a scene to a reflection map of a transparent cube and saving the output files.

Cubic maps can be used either for skyboxes (complete wrap-\/around skies, like space) or as environment maps to simulate reflections. The system deals with these 2 scenarios in different ways\+: 
\begin{DoxyEnumerate}
\item 

for cubic environment maps, the 6 textures are combined into a single \textquotesingle{}cubic\textquotesingle{} texture map which is then addressed using 3D texture coordinates. This is required because you don\textquotesingle{}t know what face of the box you\textquotesingle{}re going to need to address when you render an object, and typically you need to reflect more than one face on the one object, so all 6 textures are needed to be \textquotesingle{}active\textquotesingle{} at once. Cubic environment maps are enabled by calling this method with the for\+U\+VW parameter set to true, and then calling set\+Environment\+Map(true). 



Note that not all cards support cubic environment mapping. 


\item 

for skyboxes, the 6 textures are kept separate and used independently for each face of the skybox. This is done because not all cards support 3D cubic maps and skyboxes do not need to use 3D texture coordinates so it is simpler to render each face of the box with 2D coordinates, changing texture between faces. 



Skyboxes are created by calling \hyperlink{class_ogre_1_1_scene_manager_a370c23fff9cc351b150632c707a46700}{Scene\+Manager\+::set\+Sky\+Box}. 


\end{DoxyEnumerate}
\begin{DoxyParams}{Parameters}
{\em name} & The basic name of the texture e.\+g. brickwall.\+jpg, stonefloor.\+png. There must be 6 versions of this texture with the suffixes \+\_\+fr, \+\_\+bk, \+\_\+up, \+\_\+dn, \+\_\+lf, and \+\_\+rt (before the extension) which make up the 6 sides of the box. The textures must all be the same size and be powers of 2 in width \& height. If you can\textquotesingle{}t make your texture names conform to this, use the alternative method of the same name which takes an array of texture names instead. \\
\hline
{\em for\+U\+VW} & Set to {\ttfamily true} if you want a single 3D texture addressable with 3D texture coordinates rather than 6 separate textures. Useful for cubic environment mapping. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ae19baf627a3dffd5795985bb16f4967b}\label{class_ogre_1_1_texture_unit_state_ae19baf627a3dffd5795985bb16f4967b}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Cubic\+Texture\+Name@{set\+Cubic\+Texture\+Name}}
\index{set\+Cubic\+Texture\+Name@{set\+Cubic\+Texture\+Name}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Cubic\+Texture\+Name()}{setCubicTextureName()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Cubic\+Texture\+Name (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} $\ast$const}]{names,  }\item[{bool}]{for\+U\+VW = {\ttfamily false} }\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} & The 6 names of the textures which make up the 6 sides of the box. The textures must all be the same size and be powers of 2 in width \& height. Must be an \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{Ogre\+::\+String} array with a length of 6 unless for\+U\+VW is set to {\ttfamily true}. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a9f64f66afe24fa8f6bbf0141d8602649}\label{class_ogre_1_1_texture_unit_state_a9f64f66afe24fa8f6bbf0141d8602649}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Cubic\+Texture@{set\+Cubic\+Texture}}
\index{set\+Cubic\+Texture@{set\+Cubic\+Texture}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Cubic\+Texture()}{setCubicTexture()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Cubic\+Texture (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr} $\ast$const}]{tex\+Ptrs,  }\item[{bool}]{for\+U\+VW = {\ttfamily false} }\end{DoxyParamCaption})}



Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube. 

Cubic textures are made up of 6 separate texture images. Each one of these is an orthogonal view of the world with a F\+OV of 90 degrees and an aspect ratio of 1\+:1. You can generate these from 3D Studio by rendering a scene to a reflection map of a transparent cube and saving the output files.

Cubic maps can be used either for skyboxes (complete wrap-\/around skies, like space) or as environment maps to simulate reflections. The system deals with these 2 scenarios in different ways\+: 
\begin{DoxyEnumerate}
\item 

for cubic environment maps, the 6 textures are combined into a single \textquotesingle{}cubic\textquotesingle{} texture map which is then addressed using 3D texture coordinates. This is required because you don\textquotesingle{}t know what face of the box you\textquotesingle{}re going to need to address when you render an object, and typically you need to reflect more than one face on the one object, so all 6 textures are needed to be \textquotesingle{}active\textquotesingle{} at once. Cubic environment maps are enabled by calling this method with the for\+U\+VW parameter set to true, and then calling set\+Environment\+Map(true). 



Note that not all cards support cubic environment mapping. 


\item 

for skyboxes, the 6 textures are kept separate and used independently for each face of the skybox. This is done because not all cards support 3D cubic maps and skyboxes do not need to use 3D texture coordinates so it is simpler to render each face of the box with 2D coordinates, changing texture between faces. 



Skyboxes are created by calling \hyperlink{class_ogre_1_1_scene_manager_a370c23fff9cc351b150632c707a46700}{Scene\+Manager\+::set\+Sky\+Box}. 


\end{DoxyEnumerate}
\begin{DoxyParams}{Parameters}
{\em name} & The basic name of the texture e.\+g. brickwall.\+jpg, stonefloor.\+png. There must be 6 versions of this texture with the suffixes \+\_\+fr, \+\_\+bk, \+\_\+up, \+\_\+dn, \+\_\+lf, and \+\_\+rt (before the extension) which make up the 6 sides of the box. The textures must all be the same size and be powers of 2 in width \& height. If you can\textquotesingle{}t make your texture names conform to this, use the alternative method of the same name which takes an array of texture names instead. \\
\hline
{\em for\+U\+VW} & Set to {\ttfamily true} if you want a single 3D texture addressable with 3D texture coordinates rather than 6 separate textures. Useful for cubic environment mapping. \\
\hline
{\em tex\+Ptrs} & The 6 pointers to the textures which make up the 6 sides of the box. The textures must all be the same size and be powers of 2 in width \& height. Must be an \hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Ogre\+::\+Texture\+Ptr} array with a length of 6 unless for\+U\+VW is set to {\ttfamily true}. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a50e1e1cd7feecd8b4c1f914b5c361413}\label{class_ogre_1_1_texture_unit_state_a50e1e1cd7feecd8b4c1f914b5c361413}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Animated\+Texture\+Name@{set\+Animated\+Texture\+Name}}
\index{set\+Animated\+Texture\+Name@{set\+Animated\+Texture\+Name}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Animated\+Texture\+Name()}{setAnimatedTextureName()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Animated\+Texture\+Name (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{unsigned int}]{num\+Frames,  }\item[{\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_a71b18f9c8f0bcfc7324b5ebbcee40ae3}\label{class_ogre_1_1_texture_unit_state_a71b18f9c8f0bcfc7324b5ebbcee40ae3}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Animated\+Texture\+Name@{set\+Animated\+Texture\+Name}}
\index{set\+Animated\+Texture\+Name@{set\+Animated\+Texture\+Name}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Animated\+Texture\+Name()}{setAnimatedTextureName()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Animated\+Texture\+Name (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} $\ast$const}]{names,  }\item[{unsigned int}]{num\+Frames,  }\item[{\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}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ab5264a89056790b0c74553b92e65b12e}\label{class_ogre_1_1_texture_unit_state_ab5264a89056790b0c74553b92e65b12e}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+Dimensions@{get\+Texture\+Dimensions}}
\index{get\+Texture\+Dimensions@{get\+Texture\+Dimensions}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+Dimensions()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Current\+Frame@{set\+Current\+Frame}}
\index{set\+Current\+Frame@{set\+Current\+Frame}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Current\+Frame()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Current\+Frame@{get\+Current\+Frame}}
\index{get\+Current\+Frame@{get\+Current\+Frame}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Current\+Frame()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Frame\+Texture\+Name@{get\+Frame\+Texture\+Name}}
\index{get\+Frame\+Texture\+Name@{get\+Frame\+Texture\+Name}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Frame\+Texture\+Name()}{getFrameTextureName()}}
{\footnotesize\ttfamily const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Frame\+Texture\+Name@{set\+Frame\+Texture\+Name}}
\index{set\+Frame\+Texture\+Name@{set\+Frame\+Texture\+Name}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Frame\+Texture\+Name()}{setFrameTextureName()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Frame\+Texture\+Name (\begin{DoxyParamCaption}\item[{const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!add\+Frame\+Texture\+Name@{add\+Frame\+Texture\+Name}}
\index{add\+Frame\+Texture\+Name@{add\+Frame\+Texture\+Name}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{add\+Frame\+Texture\+Name()}{addFrameTextureName()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::add\+Frame\+Texture\+Name (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Add a \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!delete\+Frame\+Texture\+Name@{delete\+Frame\+Texture\+Name}}
\index{delete\+Frame\+Texture\+Name@{delete\+Frame\+Texture\+Name}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{delete\+Frame\+Texture\+Name()}{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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Num\+Frames@{get\+Num\+Frames}}
\index{get\+Num\+Frames@{get\+Num\+Frames}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Num\+Frames()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Binding\+Type@{set\+Binding\+Type}}
\index{set\+Binding\+Type@{set\+Binding\+Type}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Binding\+Type()}{setBindingType()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Binding\+Type (\begin{DoxyParamCaption}\item[{\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[\hyperlink{deprecated__deprecated000158}{Deprecated}]see \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Binding\+Type@{get\+Binding\+Type}}
\index{get\+Binding\+Type@{get\+Binding\+Type}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Binding\+Type()}{getBindingType()}}
{\footnotesize\ttfamily \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. 

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000159}{Deprecated}]see \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Content\+Type@{set\+Content\+Type}}
\index{set\+Content\+Type@{set\+Content\+Type}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Content\+Type()}{setContentType()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Content\+Type (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_texture_unit_state_a35a108a68c71c8267af4af8c1a819030}{Content\+Type}}]{ct }\end{DoxyParamCaption})}



Set the type of content this \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Content\+Type@{get\+Content\+Type}}
\index{get\+Content\+Type@{get\+Content\+Type}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Content\+Type()}{getContentType()}}
{\footnotesize\ttfamily \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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!is\+Cubic@{is\+Cubic}}
\index{is\+Cubic@{is\+Cubic}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{is\+Cubic()}{isCubic()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::is\+Cubic (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns true if this texture unit is either a series of 6 2D textures, each in it\textquotesingle{}s own frame, or is a full 3D cube map. 

You can tell which by checking get\+Texture\+Type. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a6decf13e49ebeafb9556479fb2022286}\label{class_ogre_1_1_texture_unit_state_a6decf13e49ebeafb9556479fb2022286}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!is3D@{is3D}}
\index{is3D@{is3D}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{is3\+D()}{is3D()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::is3D (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns true if this texture layer uses a composite 3D cubic texture. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a702d2aee57c42cff6f34be00dc175fbc}\label{class_ogre_1_1_texture_unit_state_a702d2aee57c42cff6f34be00dc175fbc}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+Type@{get\+Texture\+Type}}
\index{get\+Texture\+Type@{get\+Texture\+Type}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+Type()}{getTextureType()}}
{\footnotesize\ttfamily \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Desired\+Format@{set\+Desired\+Format}}
\index{set\+Desired\+Format@{set\+Desired\+Format}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Desired\+Format()}{setDesiredFormat()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Desired\+Format (\begin{DoxyParamCaption}\item[{\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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Desired\+Format@{get\+Desired\+Format}}
\index{get\+Desired\+Format@{get\+Desired\+Format}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Desired\+Format()}{getDesiredFormat()}}
{\footnotesize\ttfamily \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Num\+Mipmaps@{set\+Num\+Mipmaps}}
\index{set\+Num\+Mipmaps@{set\+Num\+Mipmaps}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Num\+Mipmaps()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Num\+Mipmaps@{get\+Num\+Mipmaps}}
\index{get\+Num\+Mipmaps@{get\+Num\+Mipmaps}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Num\+Mipmaps()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Is\+Alpha@{set\+Is\+Alpha}}
\index{set\+Is\+Alpha@{set\+Is\+Alpha}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Is\+Alpha()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Is\+Alpha@{get\+Is\+Alpha}}
\index{get\+Is\+Alpha@{get\+Is\+Alpha}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Is\+Alpha()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Gamma@{get\+Gamma}}
\index{get\+Gamma@{get\+Gamma}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Gamma()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Gamma@{set\+Gamma}}
\index{set\+Gamma@{set\+Gamma}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Gamma()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Hardware\+Gamma\+Enabled@{set\+Hardware\+Gamma\+Enabled}}
\index{set\+Hardware\+Gamma\+Enabled@{set\+Hardware\+Gamma\+Enabled}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Hardware\+Gamma\+Enabled()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!is\+Hardware\+Gamma\+Enabled@{is\+Hardware\+Gamma\+Enabled}}
\index{is\+Hardware\+Gamma\+Enabled@{is\+Hardware\+Gamma\+Enabled}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{is\+Hardware\+Gamma\+Enabled()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+Coord\+Set@{get\+Texture\+Coord\+Set}}
\index{get\+Texture\+Coord\+Set@{get\+Texture\+Coord\+Set}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+Coord\+Set()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Coord\+Set@{set\+Texture\+Coord\+Set}}
\index{set\+Texture\+Coord\+Set@{set\+Texture\+Coord\+Set}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Coord\+Set()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Transform@{set\+Texture\+Transform}}
\index{set\+Texture\+Transform@{set\+Texture\+Transform}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Transform()}{setTextureTransform()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Transform (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_matrix4}{Matrix4} \&}]{xform }\end{DoxyParamCaption})}



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

\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}
\hyperlink{class_ogre_1_1_texture_unit_state_a354b3466d8c49e6f0057dea8206d3dd4}{Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Scroll} 

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

\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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+Transform@{get\+Texture\+Transform}}
\index{get\+Texture\+Transform@{get\+Texture\+Transform}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+Transform()}{getTextureTransform()}}
{\footnotesize\ttfamily const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Scroll@{set\+Texture\+Scroll}}
\index{set\+Texture\+Scroll@{set\+Texture\+Scroll}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Scroll()}{setTextureScroll()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Scroll (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{u,  }\item[{\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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+U\+Scroll@{set\+Texture\+U\+Scroll}}
\index{set\+Texture\+U\+Scroll@{set\+Texture\+U\+Scroll}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+U\+Scroll()}{setTextureUScroll()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+U\+Scroll (\begin{DoxyParamCaption}\item[{\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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+U\+Scroll@{get\+Texture\+U\+Scroll}}
\index{get\+Texture\+U\+Scroll@{get\+Texture\+U\+Scroll}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+U\+Scroll()}{getTextureUScroll()}}
{\footnotesize\ttfamily \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+V\+Scroll@{set\+Texture\+V\+Scroll}}
\index{set\+Texture\+V\+Scroll@{set\+Texture\+V\+Scroll}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+V\+Scroll()}{setTextureVScroll()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+V\+Scroll (\begin{DoxyParamCaption}\item[{\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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+V\+Scroll@{get\+Texture\+V\+Scroll}}
\index{get\+Texture\+V\+Scroll@{get\+Texture\+V\+Scroll}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+V\+Scroll()}{getTextureVScroll()}}
{\footnotesize\ttfamily \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+U\+Scale@{set\+Texture\+U\+Scale}}
\index{set\+Texture\+U\+Scale@{set\+Texture\+U\+Scale}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+U\+Scale()}{setTextureUScale()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+U\+Scale (\begin{DoxyParamCaption}\item[{\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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+U\+Scale@{get\+Texture\+U\+Scale}}
\index{get\+Texture\+U\+Scale@{get\+Texture\+U\+Scale}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+U\+Scale()}{getTextureUScale()}}
{\footnotesize\ttfamily \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+V\+Scale@{set\+Texture\+V\+Scale}}
\index{set\+Texture\+V\+Scale@{set\+Texture\+V\+Scale}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+V\+Scale()}{setTextureVScale()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+V\+Scale (\begin{DoxyParamCaption}\item[{\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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+V\+Scale@{get\+Texture\+V\+Scale}}
\index{get\+Texture\+V\+Scale@{get\+Texture\+V\+Scale}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+V\+Scale()}{getTextureVScale()}}
{\footnotesize\ttfamily \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Scale@{set\+Texture\+Scale}}
\index{set\+Texture\+Scale@{set\+Texture\+Scale}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Scale()}{setTextureScale()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Scale (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{u\+Scale,  }\item[{\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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Rotate@{set\+Texture\+Rotate}}
\index{set\+Texture\+Rotate@{set\+Texture\+Rotate}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Rotate()}{setTextureRotate()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Rotate (\begin{DoxyParamCaption}\item[{const \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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+Rotate@{get\+Texture\+Rotate}}
\index{get\+Texture\+Rotate@{get\+Texture\+Rotate}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+Rotate()}{getTextureRotate()}}
{\footnotesize\ttfamily const \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_adb1a4e022683d76dece058279be1c5d0}\label{class_ogre_1_1_texture_unit_state_adb1a4e022683d76dece058279be1c5d0}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+Addressing\+Mode@{get\+Texture\+Addressing\+Mode}}
\index{get\+Texture\+Addressing\+Mode@{get\+Texture\+Addressing\+Mode}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+Addressing\+Mode()}{getTextureAddressingMode()}}
{\footnotesize\ttfamily const \hyperlink{struct_ogre_1_1_texture_unit_state_1_1_u_v_w_addressing_mode}{U\+V\+W\+Addressing\+Mode}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Addressing\+Mode (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the texture addressing mode for a given coordinate, i.\+e. 

what happens at uv values above 1.\+0. \begin{DoxyNote}{Note}
The default is T\+A\+M\+\_\+\+W\+R\+AP i.\+e. the texture repeats over values of 1.\+0. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ac6116d92e9a3978aa367496c8b7bae5b}\label{class_ogre_1_1_texture_unit_state_ac6116d92e9a3978aa367496c8b7bae5b}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Addressing\+Mode@{set\+Texture\+Addressing\+Mode}}
\index{set\+Texture\+Addressing\+Mode@{set\+Texture\+Addressing\+Mode}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Addressing\+Mode()}{setTextureAddressingMode()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Addressing\+Mode (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852}{Texture\+Addressing\+Mode}}]{tam }\end{DoxyParamCaption})}



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_a23a5f83043eeaf14c41e9930b91eeb09}\label{class_ogre_1_1_texture_unit_state_a23a5f83043eeaf14c41e9930b91eeb09}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Addressing\+Mode@{set\+Texture\+Addressing\+Mode}}
\index{set\+Texture\+Addressing\+Mode@{set\+Texture\+Addressing\+Mode}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Addressing\+Mode()}{setTextureAddressingMode()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Addressing\+Mode (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852}{Texture\+Addressing\+Mode}}]{u,  }\item[{\hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852}{Texture\+Addressing\+Mode}}]{v,  }\item[{\hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852}{Texture\+Addressing\+Mode}}]{w }\end{DoxyParamCaption})}



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

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

The default is \hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852a9421f7d4fa30994823c3a011ca693a8d}{T\+A\+M\+\_\+\+W\+R\+AP} i.\+e. the texture repeats over values of 1.\+0. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a8de35701b96f52764d292c580aa345fb}\label{class_ogre_1_1_texture_unit_state_a8de35701b96f52764d292c580aa345fb}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Addressing\+Mode@{set\+Texture\+Addressing\+Mode}}
\index{set\+Texture\+Addressing\+Mode@{set\+Texture\+Addressing\+Mode}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Addressing\+Mode()}{setTextureAddressingMode()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Addressing\+Mode (\begin{DoxyParamCaption}\item[{const \hyperlink{struct_ogre_1_1_texture_unit_state_1_1_u_v_w_addressing_mode}{U\+V\+W\+Addressing\+Mode} \&}]{uvw }\end{DoxyParamCaption})}



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

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

The default is \hyperlink{class_ogre_1_1_texture_unit_state_a47c5a9f4fc08159b99bdc51103bcf852a9421f7d4fa30994823c3a011ca693a8d}{T\+A\+M\+\_\+\+W\+R\+AP} i.\+e. the texture repeats over values of 1.\+0. \mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a4685adfbadf451fd318b3ea900abfca2}\label{class_ogre_1_1_texture_unit_state_a4685adfbadf451fd318b3ea900abfca2}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Border\+Colour@{set\+Texture\+Border\+Colour}}
\index{set\+Texture\+Border\+Colour@{set\+Texture\+Border\+Colour}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Border\+Colour()}{setTextureBorderColour()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Border\+Colour (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value} \&}]{colour }\end{DoxyParamCaption})}



Sets the texture border colour. 

The default is \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_a98a26b14bc7315232b195c98d30cb7b2}\label{class_ogre_1_1_texture_unit_state_a98a26b14bc7315232b195c98d30cb7b2}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+Border\+Colour@{get\+Texture\+Border\+Colour}}
\index{get\+Texture\+Border\+Colour@{get\+Texture\+Border\+Colour}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+Border\+Colour()}{getTextureBorderColour()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}\& Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Border\+Colour (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Sets the texture border colour. 

The default is \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_a5f3994ce2f61c6c6fee6fe8f89c9e369}\label{class_ogre_1_1_texture_unit_state_a5f3994ce2f61c6c6fee6fe8f89c9e369}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Colour\+Operation\+Ex@{set\+Colour\+Operation\+Ex}}
\index{set\+Colour\+Operation\+Ex@{set\+Colour\+Operation\+Ex}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Colour\+Operation\+Ex()}{setColourOperationEx()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Colour\+Operation\+Ex (\begin{DoxyParamCaption}\item[{\hyperlink{group___materials_ga264ecab38a04d01e2c3158fa05ec1ee2}{Layer\+Blend\+Operation\+Ex}}]{op,  }\item[{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}}]{source1 = {\ttfamily \hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea45f1a14042993f460992b3253ce6ae80}{L\+B\+S\+\_\+\+T\+E\+X\+T\+U\+RE}},  }\item[{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}}]{source2 = {\ttfamily \hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea370f25da69381c74ca1fc51fde81e659}{L\+B\+S\+\_\+\+C\+U\+R\+R\+E\+NT}},  }\item[{const \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value} \&}]{arg1 = {\ttfamily \hyperlink{class_ogre_1_1_colour_value_a8eba66b2908f44f00f8d9c9ec25877de}{Colour\+Value\+::\+White}},  }\item[{const \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value} \&}]{arg2 = {\ttfamily \hyperlink{class_ogre_1_1_colour_value_a8eba66b2908f44f00f8d9c9ec25877de}{Colour\+Value\+::\+White}},  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{manual\+Blend = {\ttfamily 0.0} }\end{DoxyParamCaption})}



Setting advanced blending options. 

This is an extended version of the \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.

\hyperlink{class_ogre_1_1_texture}{Texture} colour operations determine how the final colour of the surface appears when rendered. \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 = \hyperlink{group___materials_gga264ecab38a04d01e2c3158fa05ec1ee2a985f2ec53a477d7c19b41700589cb519}{Ogre\+::\+L\+B\+X\+\_\+\+M\+O\+D\+U\+L\+A\+TE}
\item source1 = \hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea45f1a14042993f460992b3253ce6ae80}{Ogre\+::\+L\+B\+S\+\_\+\+T\+E\+X\+T\+U\+RE}
\item source2 = \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 \hyperlink{group___materials_gga264ecab38a04d01e2c3158fa05ec1ee2a83964282d9ea36a25f4718ae962f8d1c}{Ogre\+::\+L\+B\+X\+\_\+\+M\+O\+D\+U\+L\+A\+T\+E\+\_\+\+X2}. See the \hyperlink{group___materials_gabcbb38d1ac195e4be401f85b7ab0da8f}{Ogre\+::\+Layer\+Blend\+Operation} and \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 \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 \hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea9aad692ea2c7081237095c3ab4044f17}{Ogre\+::\+L\+B\+S\+\_\+\+M\+A\+N\+U\+AL} to the corresponding source, or use the \hyperlink{group___materials_gga264ecab38a04d01e2c3158fa05ec1ee2adbe5957a946513e0f8be8c571f9b73fe}{Ogre\+::\+L\+B\+X\+\_\+\+B\+L\+E\+N\+D\+\_\+\+M\+A\+N\+U\+AL} operation. \begin{DoxyWarning}{Warning}
\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 \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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Colour\+Operation@{set\+Colour\+Operation}}
\index{set\+Colour\+Operation@{set\+Colour\+Operation}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Colour\+Operation()}{setColourOperation()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Colour\+Operation (\begin{DoxyParamCaption}\item[{const \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 \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 \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 \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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Colour\+Op\+Multipass\+Fallback@{set\+Colour\+Op\+Multipass\+Fallback}}
\index{set\+Colour\+Op\+Multipass\+Fallback@{set\+Colour\+Op\+Multipass\+Fallback}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Colour\+Op\+Multipass\+Fallback()}{setColourOpMultipassFallback()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Colour\+Op\+Multipass\+Fallback (\begin{DoxyParamCaption}\item[{const \hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}]{source\+Factor,  }\item[{const \hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}]{dest\+Factor }\end{DoxyParamCaption})}



Sets the multipass fallback operation for this layer, if you used \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 \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) \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Colour\+Blend\+Mode@{get\+Colour\+Blend\+Mode}}
\index{get\+Colour\+Blend\+Mode@{get\+Colour\+Blend\+Mode}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Colour\+Blend\+Mode()}{getColourBlendMode()}}
{\footnotesize\ttfamily const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Alpha\+Blend\+Mode@{get\+Alpha\+Blend\+Mode}}
\index{get\+Alpha\+Blend\+Mode@{get\+Alpha\+Blend\+Mode}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Alpha\+Blend\+Mode()}{getAlphaBlendMode()}}
{\footnotesize\ttfamily const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Colour\+Blend\+Fallback\+Src@{get\+Colour\+Blend\+Fallback\+Src}}
\index{get\+Colour\+Blend\+Fallback\+Src@{get\+Colour\+Blend\+Fallback\+Src}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Colour\+Blend\+Fallback\+Src()}{getColourBlendFallbackSrc()}}
{\footnotesize\ttfamily \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Colour\+Blend\+Fallback\+Dest@{get\+Colour\+Blend\+Fallback\+Dest}}
\index{get\+Colour\+Blend\+Fallback\+Dest@{get\+Colour\+Blend\+Fallback\+Dest}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Colour\+Blend\+Fallback\+Dest()}{getColourBlendFallbackDest()}}
{\footnotesize\ttfamily \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Alpha\+Operation@{set\+Alpha\+Operation}}
\index{set\+Alpha\+Operation@{set\+Alpha\+Operation}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Alpha\+Operation()}{setAlphaOperation()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Alpha\+Operation (\begin{DoxyParamCaption}\item[{\hyperlink{group___materials_ga264ecab38a04d01e2c3158fa05ec1ee2}{Layer\+Blend\+Operation\+Ex}}]{op,  }\item[{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}}]{source1 = {\ttfamily \hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea45f1a14042993f460992b3253ce6ae80}{L\+B\+S\+\_\+\+T\+E\+X\+T\+U\+RE}},  }\item[{\hyperlink{group___materials_gae2ad78de344f35307ce35157c175625e}{Layer\+Blend\+Source}}]{source2 = {\ttfamily \hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea370f25da69381c74ca1fc51fde81e659}{L\+B\+S\+\_\+\+C\+U\+R\+R\+E\+NT}},  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{arg1 = {\ttfamily 1.0},  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{arg2 = {\ttfamily 1.0},  }\item[{\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 \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 = \hyperlink{group___materials_ggae2ad78de344f35307ce35157c175625ea9aad692ea2c7081237095c3ab4044f17}{Ogre\+::\+L\+B\+S\+\_\+\+M\+A\+N\+U\+AL}) \\
\hline
{\em arg2} & Manually supplied alpha value (only required if source2 = \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. \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!add\+Effect@{add\+Effect}}
\index{add\+Effect@{add\+Effect}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{add\+Effect()}{addEffect()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::add\+Effect (\begin{DoxyParamCaption}\item[{\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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Environment\+Map@{set\+Environment\+Map}}
\index{set\+Environment\+Map@{set\+Environment\+Map}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Environment\+Map()}{setEnvironmentMap()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Environment\+Map (\begin{DoxyParamCaption}\item[{bool}]{enable,  }\item[{\hyperlink{class_ogre_1_1_texture_unit_state_a72a88b1cf11053da98fa25f98689931e}{Env\+Map\+Type}}]{env\+Map\+Type = {\ttfamily \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}
\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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Scroll\+Animation@{set\+Scroll\+Animation}}
\index{set\+Scroll\+Animation@{set\+Scroll\+Animation}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Scroll\+Animation()}{setScrollAnimation()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Scroll\+Animation (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{u\+Speed,  }\item[{\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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Rotate\+Animation@{set\+Rotate\+Animation}}
\index{set\+Rotate\+Animation@{set\+Rotate\+Animation}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Rotate\+Animation()}{setRotateAnimation()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Rotate\+Animation (\begin{DoxyParamCaption}\item[{\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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Transform\+Animation@{set\+Transform\+Animation}}
\index{set\+Transform\+Animation@{set\+Transform\+Animation}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Transform\+Animation()}{setTransformAnimation()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Transform\+Animation (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_texture_unit_state_a942a1ce66d0909d29ed09c98e9e6d82d}{Texture\+Transform\+Type}}]{ttype,  }\item[{const \hyperlink{group___general_gabf2e0412a783a6f708ca1a58abb45c1b}{Waveform\+Type}}]{wave\+Type,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{base = {\ttfamily 0},  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{frequency = {\ttfamily 1},  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{phase = {\ttfamily 0},  }\item[{\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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Projective\+Texturing@{set\+Projective\+Texturing}}
\index{set\+Projective\+Texturing@{set\+Projective\+Texturing}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Projective\+Texturing()}{setProjectiveTexturing()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Projective\+Texturing (\begin{DoxyParamCaption}\item[{bool}]{enabled,  }\item[{const \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 \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 \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 \hyperlink{class_ogre_1_1_frustum}{Frustum} object you pass a pointer to remains in existence for as long as this \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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!remove\+All\+Effects@{remove\+All\+Effects}}
\index{remove\+All\+Effects@{remove\+All\+Effects}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{remove\+All\+Effects()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!remove\+Effect@{remove\+Effect}}
\index{remove\+Effect@{remove\+Effect}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{remove\+Effect()}{removeEffect()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::remove\+Effect (\begin{DoxyParamCaption}\item[{const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!is\+Blank@{is\+Blank}}
\index{is\+Blank@{is\+Blank}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{is\+Blank()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Blank@{set\+Blank}}
\index{set\+Blank@{set\+Blank}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Blank()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!is\+Texture\+Load\+Failing@{is\+Texture\+Load\+Failing}}
\index{is\+Texture\+Load\+Failing@{is\+Texture\+Load\+Failing}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{is\+Texture\+Load\+Failing()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!retry\+Texture\+Load@{retry\+Texture\+Load}}
\index{retry\+Texture\+Load@{retry\+Texture\+Load}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{retry\+Texture\+Load()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Effects@{get\+Effects}}
\index{get\+Effects@{get\+Effects}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Effects()}{getEffects()}}
{\footnotesize\ttfamily const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Animation\+Duration@{get\+Animation\+Duration}}
\index{get\+Animation\+Duration@{get\+Animation\+Duration}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Animation\+Duration()}{getAnimationDuration()}}
{\footnotesize\ttfamily \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_a30757c168b734902d03720e3f36c27d4}\label{class_ogre_1_1_texture_unit_state_a30757c168b734902d03720e3f36c27d4}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Filtering@{set\+Texture\+Filtering}}
\index{set\+Texture\+Filtering@{set\+Texture\+Filtering}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Filtering()}{setTextureFiltering()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Filtering (\begin{DoxyParamCaption}\item[{\hyperlink{group___general_ga21a0186392e9c9ce16d29c5568a773c5}{Texture\+Filter\+Options}}]{filter\+Type }\end{DoxyParamCaption})}



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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Filtering@{set\+Texture\+Filtering}}
\index{set\+Texture\+Filtering@{set\+Texture\+Filtering}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Filtering()}{setTextureFiltering()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Filtering (\begin{DoxyParamCaption}\item[{\hyperlink{group___general_gac1fc36ec2f4df4b2afa9fa39f9c66c06}{Filter\+Type}}]{ftype,  }\item[{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}}]{opts }\end{DoxyParamCaption})}



Set a single filtering option on this texture unit. 


\begin{DoxyParams}{Parameters}
{\em ftype} & The filtering type to set. \\
\hline
{\em opts} & The filtering option to set. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_afccaca77406c883c5bfe440b7ed3c3e4}\label{class_ogre_1_1_texture_unit_state_afccaca77406c883c5bfe440b7ed3c3e4}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Filtering@{set\+Texture\+Filtering}}
\index{set\+Texture\+Filtering@{set\+Texture\+Filtering}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Filtering()}{setTextureFiltering()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Filtering (\begin{DoxyParamCaption}\item[{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}}]{min\+Filter,  }\item[{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}}]{mag\+Filter,  }\item[{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}}]{mip\+Filter }\end{DoxyParamCaption})}



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 \hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3dad299986d6ba4f220cc628a1b9a4f6a52}{Ogre\+::\+F\+O\+\_\+\+P\+O\+I\+NT}, \hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3da6b0e1f92a9531879e2f0acfe5e5183c6}{Ogre\+::\+F\+O\+\_\+\+L\+I\+N\+E\+AR} or \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 \hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3dad299986d6ba4f220cc628a1b9a4f6a52}{Ogre\+::\+F\+O\+\_\+\+P\+O\+I\+NT}, \hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3da6b0e1f92a9531879e2f0acfe5e5183c6}{Ogre\+::\+F\+O\+\_\+\+L\+I\+N\+E\+AR} or \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 \hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3da0be36e268ed5d2d25fe91ba5b5f769b5}{Ogre\+::\+F\+O\+\_\+\+N\+O\+NE} (turns off mipmapping), \hyperlink{group___general_gga02306c6246268d35f45ad22278bd5d3dad299986d6ba4f220cc628a1b9a4f6a52}{Ogre\+::\+F\+O\+\_\+\+P\+O\+I\+NT} or \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_ad09c689a1e700047d203c27ab5510601}\label{class_ogre_1_1_texture_unit_state_ad09c689a1e700047d203c27ab5510601}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+Filtering@{get\+Texture\+Filtering}}
\index{get\+Texture\+Filtering@{get\+Texture\+Filtering}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+Filtering()}{getTextureFiltering()}}
{\footnotesize\ttfamily \hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options} Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Filtering (\begin{DoxyParamCaption}\item[{\hyperlink{group___general_gac1fc36ec2f4df4b2afa9fa39f9c66c06}{Filter\+Type}}]{ftpye }\end{DoxyParamCaption}) const}



Get the texture filtering for the given type. 

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a5bb9b54d2869c429591b36f64d4361c5}\label{class_ogre_1_1_texture_unit_state_a5bb9b54d2869c429591b36f64d4361c5}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!is\+Default\+Filtering@{is\+Default\+Filtering}}
\index{is\+Default\+Filtering@{is\+Default\+Filtering}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{is\+Default\+Filtering()}{isDefaultFiltering()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::is\+Default\+Filtering (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if texture filtering was not set explicitly and is determined by \hyperlink{class_ogre_1_1_material_manager}{Material\+Manager}. 

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

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_ac026c759650a1d3d1e340b1b6a0d4425}\label{class_ogre_1_1_texture_unit_state_ac026c759650a1d3d1e340b1b6a0d4425}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+Compare\+Enabled@{get\+Texture\+Compare\+Enabled}}
\index{get\+Texture\+Compare\+Enabled@{get\+Texture\+Compare\+Enabled}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+Compare\+Enabled()}{getTextureCompareEnabled()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Compare\+Enabled (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

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

\mbox{\Hypertarget{class_ogre_1_1_texture_unit_state_a2da1174c8d8a33eeae1bfc1ee9ba67ef}\label{class_ogre_1_1_texture_unit_state_a2da1174c8d8a33eeae1bfc1ee9ba67ef}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+Compare\+Function@{get\+Texture\+Compare\+Function}}
\index{get\+Texture\+Compare\+Function@{get\+Texture\+Compare\+Function}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+Compare\+Function()}{getTextureCompareFunction()}}
{\footnotesize\ttfamily \hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function} Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Compare\+Function (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

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



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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+Anisotropy@{get\+Texture\+Anisotropy}}
\index{get\+Texture\+Anisotropy@{get\+Texture\+Anisotropy}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+Anisotropy()}{getTextureAnisotropy()}}
{\footnotesize\ttfamily unsigned int Ogre\+::\+Texture\+Unit\+State\+::get\+Texture\+Anisotropy (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Mipmap\+Bias@{set\+Texture\+Mipmap\+Bias}}
\index{set\+Texture\+Mipmap\+Bias@{set\+Texture\+Mipmap\+Bias}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Mipmap\+Bias()}{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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+Mipmap\+Bias@{get\+Texture\+Mipmap\+Bias}}
\index{get\+Texture\+Mipmap\+Bias@{get\+Texture\+Mipmap\+Bias}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+Mipmap\+Bias()}{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}
\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_a0073a4465cc92944252d69b2671ea97d}\label{class_ogre_1_1_texture_unit_state_a0073a4465cc92944252d69b2671ea97d}} 
\index{Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Compositor\+Reference@{set\+Compositor\+Reference}}
\index{set\+Compositor\+Reference@{set\+Compositor\+Reference}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Compositor\+Reference()}{setCompositorReference()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Compositor\+Reference (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{compositor\+Name,  }\item[{const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Referenced\+Compositor\+Name@{get\+Referenced\+Compositor\+Name}}
\index{get\+Referenced\+Compositor\+Name@{get\+Referenced\+Compositor\+Name}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Referenced\+Compositor\+Name()}{getReferencedCompositorName()}}
{\footnotesize\ttfamily const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Referenced\+Texture\+Name@{get\+Referenced\+Texture\+Name}}
\index{get\+Referenced\+Texture\+Name@{get\+Referenced\+Texture\+Name}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Referenced\+Texture\+Name()}{getReferencedTextureName()}}
{\footnotesize\ttfamily const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Referenced\+M\+R\+T\+Index@{get\+Referenced\+M\+R\+T\+Index}}
\index{get\+Referenced\+M\+R\+T\+Index@{get\+Referenced\+M\+R\+T\+Index}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Referenced\+M\+R\+T\+Index()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Parent@{get\+Parent}}
\index{get\+Parent@{get\+Parent}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Parent()}{getParent()}}
{\footnotesize\ttfamily \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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!\+\_\+prepare@{\+\_\+prepare}}
\index{\+\_\+prepare@{\+\_\+prepare}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!\+\_\+unprepare@{\+\_\+unprepare}}
\index{\+\_\+unprepare@{\+\_\+unprepare}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!\+\_\+load@{\+\_\+load}}
\index{\+\_\+load@{\+\_\+load}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!\+\_\+unload@{\+\_\+unload}}
\index{\+\_\+unload@{\+\_\+unload}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!has\+View\+Relative\+Texture\+Coordinate\+Generation@{has\+View\+Relative\+Texture\+Coordinate\+Generation}}
\index{has\+View\+Relative\+Texture\+Coordinate\+Generation@{has\+View\+Relative\+Texture\+Coordinate\+Generation}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{has\+View\+Relative\+Texture\+Coordinate\+Generation()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!is\+Loaded@{is\+Loaded}}
\index{is\+Loaded@{is\+Loaded}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{is\+Loaded()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!\+\_\+notify\+Needs\+Recompile@{\+\_\+notify\+Needs\+Recompile}}
\index{\+\_\+notify\+Needs\+Recompile@{\+\_\+notify\+Needs\+Recompile}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Needs\+Recompile()}{\_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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Name@{set\+Name}}
\index{set\+Name@{set\+Name}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Name()}{setName()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Name (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



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

The name of the \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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Name@{get\+Name}}
\index{get\+Name@{get\+Name}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Name()}{getName()}}
{\footnotesize\ttfamily const \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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!set\+Texture\+Name\+Alias@{set\+Texture\+Name\+Alias}}
\index{set\+Texture\+Name\+Alias@{set\+Texture\+Name\+Alias}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{set\+Texture\+Name\+Alias()}{setTextureNameAlias()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::set\+Texture\+Name\+Alias (\begin{DoxyParamCaption}\item[{const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!get\+Texture\+Name\+Alias@{get\+Texture\+Name\+Alias}}
\index{get\+Texture\+Name\+Alias@{get\+Texture\+Name\+Alias}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{get\+Texture\+Name\+Alias()}{getTextureNameAlias()}}
{\footnotesize\ttfamily const \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 \hyperlink{class_ogre_1_1_texture}{Texture} Name Alias of the \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!apply\+Texture\+Aliases@{apply\+Texture\+Aliases}}
\index{apply\+Texture\+Aliases@{apply\+Texture\+Aliases}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{apply\+Texture\+Aliases()}{applyTextureAliases()}}
{\footnotesize\ttfamily bool Ogre\+::\+Texture\+Unit\+State\+::apply\+Texture\+Aliases (\begin{DoxyParamCaption}\item[{const \hyperlink{group___general_ga5dafc9e68bde8099ec5ad6c94e4cf19b}{Alias\+Texture\+Name\+Pair\+List} \&}]{alias\+List,  }\item[{const bool}]{apply = {\ttfamily true} }\end{DoxyParamCaption})}



Applies texture names to \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 \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 \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!\+\_\+notify\+Parent@{\+\_\+notify\+Parent}}
\index{\+\_\+notify\+Parent@{\+\_\+notify\+Parent}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Parent()}{\_notifyParent()}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::\+\_\+notify\+Parent (\begin{DoxyParamCaption}\item[{\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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!\+\_\+get\+Texture\+Ptr@{\+\_\+get\+Texture\+Ptr}}
\index{\+\_\+get\+Texture\+Ptr@{\+\_\+get\+Texture\+Ptr}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{\+\_\+get\+Texture\+Ptr()}{\_getTexturePtr()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!\+\_\+get\+Texture\+Ptr@{\+\_\+get\+Texture\+Ptr}}
\index{\+\_\+get\+Texture\+Ptr@{\+\_\+get\+Texture\+Ptr}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{\+\_\+get\+Texture\+Ptr()}{\_getTexturePtr()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!\+\_\+set\+Texture\+Ptr@{\+\_\+set\+Texture\+Ptr}}
\index{\+\_\+set\+Texture\+Ptr@{\+\_\+set\+Texture\+Ptr}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{\+\_\+set\+Texture\+Ptr()}{\_setTexturePtr()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::\+\_\+set\+Texture\+Ptr (\begin{DoxyParamCaption}\item[{const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!\+\_\+set\+Texture\+Ptr@{\+\_\+set\+Texture\+Ptr}}
\index{\+\_\+set\+Texture\+Ptr@{\+\_\+set\+Texture\+Ptr}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{\+\_\+set\+Texture\+Ptr()}{\_setTexturePtr()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Texture\+Unit\+State\+::\+\_\+set\+Texture\+Ptr (\begin{DoxyParamCaption}\item[{const \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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!calculate\+Size@{calculate\+Size}}
\index{calculate\+Size@{calculate\+Size}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{calculate\+Size()}{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!\+\_\+get\+Anim\+Controller@{\+\_\+get\+Anim\+Controller}}
\index{\+\_\+get\+Anim\+Controller@{\+\_\+get\+Anim\+Controller}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{\+\_\+get\+Anim\+Controller()}{\_getAnimController()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_controller}{Controller}$<$\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. 



\subsection{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\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}!Render\+System@{Render\+System}}
\index{Render\+System@{Render\+System}!Ogre\+::\+Texture\+Unit\+State@{Ogre\+::\+Texture\+Unit\+State}}
\subsubsection{\texorpdfstring{Render\+System}{RenderSystem}}
{\footnotesize\ttfamily friend class \hyperlink{class_ogre_1_1_render_system}{Render\+System}\hspace{0.3cm}{\ttfamily [friend]}}



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