\hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory}{}\section{Ogre\+:\+:R\+T\+Shader\+:\+:Texture\+Atlas\+Sampler\+Factory Class Reference}
\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory}\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}


A factory that enables creation of \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler}{Texture\+Atlas\+Sampler} instances.  




{\ttfamily \#include $<$Ogre\+Shader\+Ex\+Texture\+Atlas\+Sampler.\+h$>$}



Inheritance diagram for Ogre\+:\+:R\+T\+Shader\+:\+:Texture\+Atlas\+Sampler\+Factory\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory__inherit__graph}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_1_1_texture_atlas_attib}{Texture\+Atlas\+Attib}
\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a041b52bd88c674b0ee08f71104255b82}{Index\+Position\+Mode} \{ \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a041b52bd88c674b0ee08f71104255b82a85c0a09b9010c2eb959f6cac47d495d6}{ipm\+Relative}, 
\hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a041b52bd88c674b0ee08f71104255b82af0c09a9a9b283b43436aadc23ae6891d}{ipm\+Absolute}
 \}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_aecf70f6c8cd27a00a908cde455bed349}{Texture\+Atlas\+Sampler\+Factory} ()
\item 
bool \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ae31815d0e9825e7fb4b46ddf49f48655}{add\+Texutre\+Atlas\+Definition} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{Ogre\+::\+String} \&filename, \hyperlink{group___r_t_shader_gae2dbb18ab17e09a77a17429beac98115}{Texture\+Atlas\+Table\+Ptr} texture\+Atlas\+Table=\hyperlink{group___r_t_shader_gae2dbb18ab17e09a77a17429beac98115}{Texture\+Atlas\+Table\+Ptr}())
\begin{DoxyCompactList}\small\item\em Adds a texture atlas definition from a stream. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a0b9c87db6768def43ccc98361afdd56b}{add\+Texutre\+Atlas\+Definition} (\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr} stream, \hyperlink{group___r_t_shader_gae2dbb18ab17e09a77a17429beac98115}{Texture\+Atlas\+Table\+Ptr} texture\+Atlas\+Table=\hyperlink{group___r_t_shader_gae2dbb18ab17e09a77a17429beac98115}{Texture\+Atlas\+Table\+Ptr}())
\item 
virtual \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} $\ast$ \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a14ce88a3c6833585ec73b77b7536b441}{create\+Instance} () \hyperlink{_ogre_platform_8h_a11162eebee0099930c48076229cc6f04}{O\+G\+R\+E\+\_\+\+N\+O\+D\+I\+S\+C\+A\+RD}
\begin{DoxyCompactList}\small\item\em Create an instance of the \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} sub class it suppose to create. \end{DoxyCompactList}\item 
virtual \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} $\ast$ \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ae1478cf71297ae57d26114b79e7610c0}{create\+Instance} (\hyperlink{class_ogre_1_1_script_compiler}{Script\+Compiler} $\ast$compiler, \hyperlink{class_ogre_1_1_property_abstract_node}{Property\+Abstract\+Node} $\ast$prop, \hyperlink{class_ogre_1_1_pass}{Pass} $\ast$pass, \hyperlink{class_ogre_1_1_r_t_shader_1_1_s_g_script_translator}{S\+G\+Script\+Translator} $\ast$translator)
\item 
virtual \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} $\ast$ \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a57deb4c224e304fa290247c56e74890e}{create\+Instance} (\hyperlink{class_ogre_1_1_script_compiler}{Script\+Compiler} $\ast$compiler, \hyperlink{class_ogre_1_1_property_abstract_node}{Property\+Abstract\+Node} $\ast$prop, \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} $\ast$tex\+State, \hyperlink{class_ogre_1_1_r_t_shader_1_1_s_g_script_translator}{S\+G\+Script\+Translator} $\ast$translator) \hyperlink{_ogre_platform_8h_a11162eebee0099930c48076229cc6f04}{O\+G\+R\+E\+\_\+\+N\+O\+D\+I\+S\+C\+A\+RD}
\begin{DoxyCompactList}\small\item\em Create an instance of the \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} based on script properties. \end{DoxyCompactList}\item 
virtual \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} $\ast$ \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a54a6f6eba1624fef1de9c20eb7b0a6b5}{create\+Or\+Retrieve\+Instance} (\hyperlink{class_ogre_1_1_r_t_shader_1_1_s_g_script_translator}{S\+G\+Script\+Translator} $\ast$translator)
\begin{DoxyCompactList}\small\item\em Retrieve the previous instance the S\+RS in the script translator or create a new instance if not found. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_ab89670718152dcb35f2428cf5909ed99}{destroy\+All\+Instances} ()
\begin{DoxyCompactList}\small\item\em Destroy all the instances that created by this factory. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a23839e5fc35257e4ffb9076e2aaf9409}{destroy\+Instance} (\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} $\ast$sub\+Render\+State)
\begin{DoxyCompactList}\small\item\em Destroy the given instance. \end{DoxyCompactList}\item 
const \hyperlink{struct_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_1_1_texture_atlas_attib}{Texture\+Atlas\+Attib} \& \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ac4b309d3acaa022e400e956ca9416a0c}{get\+Default\+Atlasing\+Attributes} () const
\begin{DoxyCompactList}\small\item\em Returns the default attributes of texture atlas processing. \end{DoxyCompactList}\item 
const \hyperlink{group___r_t_shader_gae2dbb18ab17e09a77a17429beac98115}{Texture\+Atlas\+Table\+Ptr} \& \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a9319cf6c65c5de4ad0eb07d1284b90b7}{get\+Texture\+Atlas\+Table} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&texture\+Name) const
\begin{DoxyCompactList}\small\item\em Retrieve the texture atlas table information for a given texture. \end{DoxyCompactList}\item 
virtual const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ac84da356c2b4cbac8cf4b1232c942e16}{get\+Type} () const
\item 
bool \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a3c9fc685c61b67d3e258ab584b1fa24a}{has\+Material\+Atlasing\+Attributes} (\hyperlink{class_ogre_1_1_material}{Ogre\+::\+Material} $\ast$material, \hyperlink{struct_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_1_1_texture_atlas_attib}{Texture\+Atlas\+Attib} $\ast$attrib=N\+U\+LL) const
\begin{DoxyCompactList}\small\item\em Tells whether a specific material has atlas attributes associated with it. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a08f5fe9225028e81cdc8d7c6bbc703b0}{remove\+All\+Texture\+Atlas\+Tables} ()
\begin{DoxyCompactList}\small\item\em Removes all texture atlas table information. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a6d37cc267e18a241625ac6bbf7f1b8bc}{remove\+Texture\+Atlas\+Table} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&texture\+Name)
\begin{DoxyCompactList}\small\item\em Removes the texture atlas information from a given texture. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_aad469e872e87011f2f1b8240b5babf85}{set\+Default\+Atlasing\+Attributes} (\hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a041b52bd88c674b0ee08f71104255b82}{Index\+Position\+Mode} mode, \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} offset, bool auto\+Adjust\+Borders)
\begin{DoxyCompactList}\small\item\em Set the default attributes concerning atlas texture processing. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a00cb3fe33d98ee3dab5319108c4420c7}{set\+Material\+Atlasing\+Attributes} (\hyperlink{class_ogre_1_1_material}{Ogre\+::\+Material} $\ast$material, \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a041b52bd88c674b0ee08f71104255b82}{Index\+Position\+Mode} mode, \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} offset, bool auto\+Adjust\+Borders)
\begin{DoxyCompactList}\small\item\em Set the default attributes concerning atlas texture processing for a specific material. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a280560966e75ca1d42e378fccbe16e46}{set\+Texture\+Atlas\+Table} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&texture\+Name, const \hyperlink{group___r_t_shader_gae2dbb18ab17e09a77a17429beac98115}{Texture\+Atlas\+Table\+Ptr} \&atlas\+Data, bool auto\+Border\+Adjust=true)
\begin{DoxyCompactList}\small\item\em Set the texture atlas information for a given texture. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ac222dd44e1ee51a691d939f2f41508de}{write\+Instance} (\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer} $\ast$ser, \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} $\ast$sub\+Render\+State, \hyperlink{class_ogre_1_1_pass}{Pass} $\ast$src\+Pass, \hyperlink{class_ogre_1_1_pass}{Pass} $\ast$dst\+Pass)
\item 
virtual void \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a10b565ec536c0539e44fb1147ef777a4}{write\+Instance} (\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer} $\ast$ser, \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} $\ast$sub\+Render\+State, const \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} $\ast$src\+Texture\+Unit, const \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} $\ast$dst\+Texture\+Unit)
\begin{DoxyCompactList}\small\item\em Write the given sub-\/render state instance using the material serializer. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory}{Texture\+Atlas\+Sampler\+Factory} \& \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a5f6e45582f72e86e195c967bb052c001}{get\+Singleton} (void)
\item 
static \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory}{Texture\+Atlas\+Sampler\+Factory} $\ast$ \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a68cc8d5137e49f871040a963e9cabf93}{get\+Singleton\+Ptr} (void)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
A factory that enables creation of \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler}{Texture\+Atlas\+Sampler} instances. 

\begin{DoxyRemark}{Remarks}
Sub class of \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory}{Sub\+Render\+State\+Factory} 
\end{DoxyRemark}


\subsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a041b52bd88c674b0ee08f71104255b82}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a041b52bd88c674b0ee08f71104255b82}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!Index\+Position\+Mode@{Index\+Position\+Mode}}
\index{Index\+Position\+Mode@{Index\+Position\+Mode}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{Index\+Position\+Mode}{IndexPositionMode}}
{\footnotesize\ttfamily enum \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a041b52bd88c674b0ee08f71104255b82}{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::\+Index\+Position\+Mode}}

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ipm\+Relative@{ipm\+Relative}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!ipm\+Relative@{ipm\+Relative}}}\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a041b52bd88c674b0ee08f71104255b82a85c0a09b9010c2eb959f6cac47d495d6}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a041b52bd88c674b0ee08f71104255b82a85c0a09b9010c2eb959f6cac47d495d6}} 
ipm\+Relative&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ipm\+Absolute@{ipm\+Absolute}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!ipm\+Absolute@{ipm\+Absolute}}}\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a041b52bd88c674b0ee08f71104255b82af0c09a9a9b283b43436aadc23ae6891d}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a041b52bd88c674b0ee08f71104255b82af0c09a9a9b283b43436aadc23ae6891d}} 
ipm\+Absolute&\\
\hline

\end{DoxyEnumFields}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_aecf70f6c8cd27a00a908cde455bed349}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_aecf70f6c8cd27a00a908cde455bed349}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!Texture\+Atlas\+Sampler\+Factory@{Texture\+Atlas\+Sampler\+Factory}}
\index{Texture\+Atlas\+Sampler\+Factory@{Texture\+Atlas\+Sampler\+Factory}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{Texture\+Atlas\+Sampler\+Factory()}{TextureAtlasSamplerFactory()}}
{\footnotesize\ttfamily Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::\+Texture\+Atlas\+Sampler\+Factory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a68cc8d5137e49f871040a963e9cabf93}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a68cc8d5137e49f871040a963e9cabf93}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!get\+Singleton\+Ptr@{get\+Singleton\+Ptr}}
\index{get\+Singleton\+Ptr@{get\+Singleton\+Ptr}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{get\+Singleton\+Ptr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory}{Texture\+Atlas\+Sampler\+Factory}$\ast$ Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::get\+Singleton\+Ptr (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a5f6e45582f72e86e195c967bb052c001}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a5f6e45582f72e86e195c967bb052c001}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!get\+Singleton@{get\+Singleton}}
\index{get\+Singleton@{get\+Singleton}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{get\+Singleton()}{getSingleton()}}
{\footnotesize\ttfamily static \hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory}{Texture\+Atlas\+Sampler\+Factory}\& Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::get\+Singleton (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ac84da356c2b4cbac8cf4b1232c942e16}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ac84da356c2b4cbac8cf4b1232c942e16}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!get\+Type@{get\+Type}}
\index{get\+Type@{get\+Type}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{get\+Type()}{getType()}}
{\footnotesize\ttfamily virtual const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::get\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}

\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a62346d71416d91a03f429ed7404ca450}{Sub\+Render\+State\+Factory\+::get\+Type}. 
\end{DoxySeeAlso}


Implements \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a62346d71416d91a03f429ed7404ca450}{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Factory}.

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ae1478cf71297ae57d26114b79e7610c0}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ae1478cf71297ae57d26114b79e7610c0}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!create\+Instance@{create\+Instance}}
\index{create\+Instance@{create\+Instance}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{create\+Instance()}{createInstance()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily virtual \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}$\ast$ Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::create\+Instance (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_script_compiler}{Script\+Compiler} $\ast$}]{compiler,  }\item[{\hyperlink{class_ogre_1_1_property_abstract_node}{Property\+Abstract\+Node} $\ast$}]{prop,  }\item[{\hyperlink{class_ogre_1_1_pass}{Pass} $\ast$}]{pass,  }\item[{\hyperlink{class_ogre_1_1_r_t_shader_1_1_s_g_script_translator}{S\+G\+Script\+Translator} $\ast$}]{translator }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a14ce88a3c6833585ec73b77b7536b441}{Sub\+Render\+State\+Factory\+::create\+Instance}. 
\end{DoxySeeAlso}


Reimplemented from \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_af417d9241d5ff0ed4d4bb2aa835b872e}{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Factory}.

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ac222dd44e1ee51a691d939f2f41508de}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ac222dd44e1ee51a691d939f2f41508de}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!write\+Instance@{write\+Instance}}
\index{write\+Instance@{write\+Instance}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{write\+Instance()}{writeInstance()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::write\+Instance (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer} $\ast$}]{ser,  }\item[{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} $\ast$}]{sub\+Render\+State,  }\item[{\hyperlink{class_ogre_1_1_pass}{Pass} $\ast$}]{src\+Pass,  }\item[{\hyperlink{class_ogre_1_1_pass}{Pass} $\ast$}]{dst\+Pass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_ada31909080bae96784504be42d9bd77c}{Sub\+Render\+State\+Factory\+::write\+Instance}. 
\end{DoxySeeAlso}


Reimplemented from \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_ada31909080bae96784504be42d9bd77c}{Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Factory}.

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ae31815d0e9825e7fb4b46ddf49f48655}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ae31815d0e9825e7fb4b46ddf49f48655}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!add\+Texutre\+Atlas\+Definition@{add\+Texutre\+Atlas\+Definition}}
\index{add\+Texutre\+Atlas\+Definition@{add\+Texutre\+Atlas\+Definition}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{add\+Texutre\+Atlas\+Definition()}{addTexutreAtlasDefinition()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::add\+Texutre\+Atlas\+Definition (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{Ogre\+::\+String} \&}]{filename,  }\item[{\hyperlink{group___r_t_shader_gae2dbb18ab17e09a77a17429beac98115}{Texture\+Atlas\+Table\+Ptr}}]{texture\+Atlas\+Table = {\ttfamily \hyperlink{group___r_t_shader_gae2dbb18ab17e09a77a17429beac98115}{Texture\+Atlas\+Table\+Ptr}()} }\end{DoxyParamCaption})}



Adds a texture atlas definition from a stream. 

This function loads a texture atlas definition file from a stream. The accepted format for this file is the N\+Vidia \hyperlink{class_ogre_1_1_texture}{Texture} Atlas Tools \char`\"{}.\+tai\char`\"{} file format. This file as

The \char`\"{}.\+tai\char`\"{} format consist of lines, where each line corresponds to a specific texture in the texture atlas. Each line has the following format\+: \begin{DoxyVerb}<original texture filename>/t/t<atlas filename>, <atlas idx>, <atlas type>, <woffset>, <hoffset>, <depth offset>, <width>, <height>
\end{DoxyVerb}



\begin{DoxyParams}{Parameters}
{\em filename} & The full path to the file containing a \char`\"{}.\+tai\char`\"{} format data. \\
\hline
{\em texture\+Atlas\+Table} & A table into which the data in the stream will be filled. This parameter will be filled only if it is not null. The system factory keeps a copy of this information in any case.\\
\hline
\end{DoxyParams}
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 stream} & A stream to a file containing \char`\"{}.\+tai\char`\"{} format data \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a0b9c87db6768def43ccc98361afdd56b}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a0b9c87db6768def43ccc98361afdd56b}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!add\+Texutre\+Atlas\+Definition@{add\+Texutre\+Atlas\+Definition}}
\index{add\+Texutre\+Atlas\+Definition@{add\+Texutre\+Atlas\+Definition}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{add\+Texutre\+Atlas\+Definition()}{addTexutreAtlasDefinition()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::add\+Texutre\+Atlas\+Definition (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a8a2a961b4205aacff9c01e81e08d7781}{Data\+Stream\+Ptr}}]{stream,  }\item[{\hyperlink{group___r_t_shader_gae2dbb18ab17e09a77a17429beac98115}{Texture\+Atlas\+Table\+Ptr}}]{texture\+Atlas\+Table = {\ttfamily \hyperlink{group___r_t_shader_gae2dbb18ab17e09a77a17429beac98115}{Texture\+Atlas\+Table\+Ptr}()} }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a280560966e75ca1d42e378fccbe16e46}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a280560966e75ca1d42e378fccbe16e46}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!set\+Texture\+Atlas\+Table@{set\+Texture\+Atlas\+Table}}
\index{set\+Texture\+Atlas\+Table@{set\+Texture\+Atlas\+Table}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{set\+Texture\+Atlas\+Table()}{setTextureAtlasTable()}}
{\footnotesize\ttfamily void Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::set\+Texture\+Atlas\+Table (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{texture\+Name,  }\item[{const \hyperlink{group___r_t_shader_gae2dbb18ab17e09a77a17429beac98115}{Texture\+Atlas\+Table\+Ptr} \&}]{atlas\+Data,  }\item[{bool}]{auto\+Border\+Adjust = {\ttfamily true} }\end{DoxyParamCaption})}



Set the texture atlas information for a given texture. 


\begin{DoxyParams}{Parameters}
{\em texture\+Name} & Name of an atlas texture \\
\hline
{\em atlas\+Data} & A list of records containing the position and size of each texture in the atlas \\
\hline
{\em auto\+Border\+Adjust} & Sets whether to automatically adjust the image polling area for border issues.\+See the Border issues paragraph under the class documentation for more information. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a6d37cc267e18a241625ac6bbf7f1b8bc}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a6d37cc267e18a241625ac6bbf7f1b8bc}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!remove\+Texture\+Atlas\+Table@{remove\+Texture\+Atlas\+Table}}
\index{remove\+Texture\+Atlas\+Table@{remove\+Texture\+Atlas\+Table}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{remove\+Texture\+Atlas\+Table()}{removeTextureAtlasTable()}}
{\footnotesize\ttfamily void Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::remove\+Texture\+Atlas\+Table (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{texture\+Name }\end{DoxyParamCaption})}



Removes the texture atlas information from a given texture. 


\begin{DoxyParams}{Parameters}
{\em texture\+Name} & Name of an atlas texture \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a08f5fe9225028e81cdc8d7c6bbc703b0}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a08f5fe9225028e81cdc8d7c6bbc703b0}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!remove\+All\+Texture\+Atlas\+Tables@{remove\+All\+Texture\+Atlas\+Tables}}
\index{remove\+All\+Texture\+Atlas\+Tables@{remove\+All\+Texture\+Atlas\+Tables}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{remove\+All\+Texture\+Atlas\+Tables()}{removeAllTextureAtlasTables()}}
{\footnotesize\ttfamily void Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::remove\+All\+Texture\+Atlas\+Tables (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Removes all texture atlas table information. 

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a9319cf6c65c5de4ad0eb07d1284b90b7}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a9319cf6c65c5de4ad0eb07d1284b90b7}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!get\+Texture\+Atlas\+Table@{get\+Texture\+Atlas\+Table}}
\index{get\+Texture\+Atlas\+Table@{get\+Texture\+Atlas\+Table}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{get\+Texture\+Atlas\+Table()}{getTextureAtlasTable()}}
{\footnotesize\ttfamily const \hyperlink{group___r_t_shader_gae2dbb18ab17e09a77a17429beac98115}{Texture\+Atlas\+Table\+Ptr}\& Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::get\+Texture\+Atlas\+Table (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{texture\+Name }\end{DoxyParamCaption}) const}



Retrieve the texture atlas table information for a given texture. 


\begin{DoxyParams}{Parameters}
{\em texture\+Name} & Name of an atlas texture \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_aad469e872e87011f2f1b8240b5babf85}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_aad469e872e87011f2f1b8240b5babf85}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!set\+Default\+Atlasing\+Attributes@{set\+Default\+Atlasing\+Attributes}}
\index{set\+Default\+Atlasing\+Attributes@{set\+Default\+Atlasing\+Attributes}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{set\+Default\+Atlasing\+Attributes()}{setDefaultAtlasingAttributes()}}
{\footnotesize\ttfamily void Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::set\+Default\+Atlasing\+Attributes (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a041b52bd88c674b0ee08f71104255b82}{Index\+Position\+Mode}}]{mode,  }\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{offset,  }\item[{bool}]{auto\+Adjust\+Borders }\end{DoxyParamCaption})}



Set the default attributes concerning atlas texture processing. 


\begin{DoxyParams}{Parameters}
{\em mode} & The index positioning mode. Tells relative to where the the texture coordinates containing the atlas image to use are positioned. \\
\hline
{\em offset} & The index positioning offset. Tells the offset relative to the index positioning mode. \\
\hline
{\em auto\+Adjust\+Borders} & Tells whether to automatically adjust the polled area in the texture relative to the used mipmap level. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler}{Texture\+Atlas\+Sampler} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ac4b309d3acaa022e400e956ca9416a0c}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_ac4b309d3acaa022e400e956ca9416a0c}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!get\+Default\+Atlasing\+Attributes@{get\+Default\+Atlasing\+Attributes}}
\index{get\+Default\+Atlasing\+Attributes@{get\+Default\+Atlasing\+Attributes}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{get\+Default\+Atlasing\+Attributes()}{getDefaultAtlasingAttributes()}}
{\footnotesize\ttfamily const \hyperlink{struct_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_1_1_texture_atlas_attib}{Texture\+Atlas\+Attib}\& Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::get\+Default\+Atlasing\+Attributes (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Returns the default attributes of texture atlas processing. 

\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_aad469e872e87011f2f1b8240b5babf85}{set\+Default\+Atlasing\+Attributes} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a00cb3fe33d98ee3dab5319108c4420c7}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a00cb3fe33d98ee3dab5319108c4420c7}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!set\+Material\+Atlasing\+Attributes@{set\+Material\+Atlasing\+Attributes}}
\index{set\+Material\+Atlasing\+Attributes@{set\+Material\+Atlasing\+Attributes}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{set\+Material\+Atlasing\+Attributes()}{setMaterialAtlasingAttributes()}}
{\footnotesize\ttfamily void Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::set\+Material\+Atlasing\+Attributes (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_material}{Ogre\+::\+Material} $\ast$}]{material,  }\item[{\hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a041b52bd88c674b0ee08f71104255b82}{Index\+Position\+Mode}}]{mode,  }\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{offset,  }\item[{bool}]{auto\+Adjust\+Borders }\end{DoxyParamCaption})}



Set the default attributes concerning atlas texture processing for a specific material. 


\begin{DoxyParams}{Parameters}
{\em material} & The material to which to add the information \\
\hline
{\em mode} & The index positioning mode. Tells relative to where the the texture coordinates containing the atlas image to use are positioned. \\
\hline
{\em offset} & The index positioning offset. Tells the offset relative to the index positioning mode. \\
\hline
{\em auto\+Adjust\+Borders} & Tells whether to automatically adjust the polled area in the texture relative to the used mipmap level. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler}{Texture\+Atlas\+Sampler} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a3c9fc685c61b67d3e258ab584b1fa24a}\label{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a3c9fc685c61b67d3e258ab584b1fa24a}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!has\+Material\+Atlasing\+Attributes@{has\+Material\+Atlasing\+Attributes}}
\index{has\+Material\+Atlasing\+Attributes@{has\+Material\+Atlasing\+Attributes}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{has\+Material\+Atlasing\+Attributes()}{hasMaterialAtlasingAttributes()}}
{\footnotesize\ttfamily bool Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory\+::has\+Material\+Atlasing\+Attributes (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_material}{Ogre\+::\+Material} $\ast$}]{material,  }\item[{\hyperlink{struct_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_1_1_texture_atlas_attib}{Texture\+Atlas\+Attib} $\ast$}]{attrib = {\ttfamily NULL} }\end{DoxyParamCaption}) const}



Tells whether a specific material has atlas attributes associated with it. 

And returns the attributes to be used. \begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_r_t_shader_1_1_texture_atlas_sampler_factory_a00cb3fe33d98ee3dab5319108c4420c7}{set\+Material\+Atlasing\+Attributes} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a14ce88a3c6833585ec73b77b7536b441}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a14ce88a3c6833585ec73b77b7536b441}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!create\+Instance@{create\+Instance}}
\index{create\+Instance@{create\+Instance}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{create\+Instance()}{createInstance()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily virtual \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}$\ast$ Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Factory\+::create\+Instance (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Create an instance of the \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} sub class it suppose to create. 

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a57deb4c224e304fa290247c56e74890e}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a57deb4c224e304fa290247c56e74890e}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!create\+Instance@{create\+Instance}}
\index{create\+Instance@{create\+Instance}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{create\+Instance()}{createInstance()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily virtual \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}$\ast$ Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Factory\+::create\+Instance (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_script_compiler}{Script\+Compiler} $\ast$}]{compiler,  }\item[{\hyperlink{class_ogre_1_1_property_abstract_node}{Property\+Abstract\+Node} $\ast$}]{prop,  }\item[{\hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} $\ast$}]{tex\+State,  }\item[{\hyperlink{class_ogre_1_1_r_t_shader_1_1_s_g_script_translator}{S\+G\+Script\+Translator} $\ast$}]{translator }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Create an instance of the \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} based on script properties. 

This method is called in the context of script parsing and let this factory the opportunity to create custom \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} instances based on extended script properties. 
\begin{DoxyParams}{Parameters}
{\em compiler} & The compiler instance. \\
\hline
{\em prop} & The abstract property node. \\
\hline
{\em tex\+State} & The pass that is the parent context of this node. \\
\hline
{\em translator} & The translator instance holding existing scripts. \\
\hline
\end{DoxyParams}


Reimplemented in \hyperlink{class_ogre_1_1_r_t_shader_1_1_layered_blending_factory_a6a40cb7ee8dfafc528d9d35cd04dba69}{Ogre\+::\+R\+T\+Shader\+::\+Layered\+Blending\+Factory}.

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a54a6f6eba1624fef1de9c20eb7b0a6b5}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a54a6f6eba1624fef1de9c20eb7b0a6b5}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!create\+Or\+Retrieve\+Instance@{create\+Or\+Retrieve\+Instance}}
\index{create\+Or\+Retrieve\+Instance@{create\+Or\+Retrieve\+Instance}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{create\+Or\+Retrieve\+Instance()}{createOrRetrieveInstance()}}
{\footnotesize\ttfamily virtual \hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State}$\ast$ Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Factory\+::create\+Or\+Retrieve\+Instance (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_r_t_shader_1_1_s_g_script_translator}{S\+G\+Script\+Translator} $\ast$}]{translator }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Retrieve the previous instance the S\+RS in the script translator or create a new instance if not found. 


\begin{DoxyParams}{Parameters}
{\em translator} & The translator instance holding existing scripts. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a23839e5fc35257e4ffb9076e2aaf9409}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a23839e5fc35257e4ffb9076e2aaf9409}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!destroy\+Instance@{destroy\+Instance}}
\index{destroy\+Instance@{destroy\+Instance}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{destroy\+Instance()}{destroyInstance()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Factory\+::destroy\+Instance (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} $\ast$}]{sub\+Render\+State }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Destroy the given instance. 


\begin{DoxyParams}{Parameters}
{\em sub\+Render\+State} & The instance to destroy. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_ab89670718152dcb35f2428cf5909ed99}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_ab89670718152dcb35f2428cf5909ed99}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!destroy\+All\+Instances@{destroy\+All\+Instances}}
\index{destroy\+All\+Instances@{destroy\+All\+Instances}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{destroy\+All\+Instances()}{destroyAllInstances()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Factory\+::destroy\+All\+Instances (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Destroy all the instances that created by this factory. 

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a10b565ec536c0539e44fb1147ef777a4}\label{class_ogre_1_1_r_t_shader_1_1_sub_render_state_factory_a10b565ec536c0539e44fb1147ef777a4}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}!write\+Instance@{write\+Instance}}
\index{write\+Instance@{write\+Instance}!Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory@{Ogre\+::\+R\+T\+Shader\+::\+Texture\+Atlas\+Sampler\+Factory}}
\subsubsection{\texorpdfstring{write\+Instance()}{writeInstance()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Ogre\+::\+R\+T\+Shader\+::\+Sub\+Render\+State\+Factory\+::write\+Instance (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_material_serializer}{Material\+Serializer} $\ast$}]{ser,  }\item[{\hyperlink{class_ogre_1_1_r_t_shader_1_1_sub_render_state}{Sub\+Render\+State} $\ast$}]{sub\+Render\+State,  }\item[{const \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} $\ast$}]{src\+Texture\+Unit,  }\item[{const \hyperlink{class_ogre_1_1_texture_unit_state}{Texture\+Unit\+State} $\ast$}]{dst\+Texture\+Unit }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Write the given sub-\/render state instance using the material serializer. 

This method is called in the context of material serialization. It is useful for integrating into bigger context of material exporters from various environment that want to take advantage of the RT Shader System. Sub classes of this interface should override in case they need to write custom properties into the script context. 
\begin{DoxyParams}{Parameters}
{\em ser} & The material serializer instance. \\
\hline
{\em sub\+Render\+State} & The sub render state instance to write down. \\
\hline
{\em src\+Texture\+Unit} & The source texture unit state. \\
\hline
{\em dst\+Texture\+Unit} & The generated shader based texture unit state. \\
\hline
\end{DoxyParams}


Reimplemented in \hyperlink{class_ogre_1_1_r_t_shader_1_1_layered_blending_factory_a8aee377a93249d8bd462f2986018fb04}{Ogre\+::\+R\+T\+Shader\+::\+Layered\+Blending\+Factory}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_shader_ex_texture_atlas_sampler_8h}{Ogre\+Shader\+Ex\+Texture\+Atlas\+Sampler.\+h}\end{DoxyCompactItemize}
