\hypertarget{class_ogre_1_1_mesh}{}\section{Ogre\+:\+:Mesh Class Reference}
\label{class_ogre_1_1_mesh}\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}


\hyperlink{class_ogre_1_1_resource}{Resource} holding data about 3D mesh.  




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



Inheritance diagram for Ogre\+:\+:Mesh\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_mesh__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef \hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}$<$ \hyperlink{class_ogre_1_1_mesh_aed02a800a3f1fc668dd5da422a219ef8}{Vertex\+Bone\+Assignment\+List} $>$ \hyperlink{class_ogre_1_1_mesh_a87ffd99faf08ec80bd6932ac77381f3f}{Bone\+Assignment\+Iterator}
\item 
typedef \hyperlink{class_ogre_1_1_const_vector_iterator}{Const\+Vector\+Iterator}$<$ \hyperlink{group___animation_ga8f03b49c53cbcc1d22f4ef3abfb5b1eb}{Pose\+List} $>$ \hyperlink{class_ogre_1_1_mesh_a1c651712526bfe4999f27c6c18ded1d9}{Const\+Pose\+Iterator}
\item 
typedef std\+::vector$<$ unsigned short $>$ \hyperlink{class_ogre_1_1_mesh_a9394fdee4f4f3cc760d44fa165b088c2}{Index\+Map}
\item 
enum \hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Loading\+Flags} \{ \newline
\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ab49695ac949df3a7d2e2f9a03267097c}{L\+F\+\_\+\+D\+E\+F\+A\+U\+LT} = 0, 
\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94a6ee542226e1cf18df28ab88426be6809}{L\+F\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE} = 1, 
\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94a70589e0b87b09b0a4fd98ce490dc9782}{L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED} = 2, 
\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ae5f2eca654bd810da4c774570a5b4b77}{L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+E\+D\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE} = 3, 
\newline
\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ad83abf165de5cfa1a4c8e0cd5471ad2c}{L\+F\+\_\+\+P\+R\+E\+S\+E\+R\+V\+E\+\_\+\+S\+T\+A\+TE} = 4
 \}\begin{DoxyCompactList}\small\item\em Enum that allow to choose subset of unloaded/reloaded resources and to adjust reloading behavior. \end{DoxyCompactList}
\item 
enum \hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}{Loading\+State} \{ \newline
\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca28d463296cacdfc115dbc3fb02d00e94}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+ED}, 
\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caf138fc9087e0dc755bff08a83720cbb5}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+I\+NG}, 
\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caa38cbef7605fc4bff6da2f34599ace8f}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+ED}, 
\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca4228d390b3a9ed614001db177d1f441e}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+I\+NG}, 
\newline
\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca133a073b86c346096237063f99870fc1}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+ED}, 
\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572cab43c913411f4a96722902f17b88f10fb}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+I\+NG}
 \}\begin{DoxyCompactList}\small\item\em Enum identifying the loading state of the resource. \end{DoxyCompactList}
\item 
typedef std\+::vector$<$ \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} $>$ \hyperlink{class_ogre_1_1_mesh_a6c2d57227cf44de50edabb8f428c6785}{Lod\+Value\+List}
\item 
typedef std\+::vector$<$ \hyperlink{struct_ogre_1_1_mesh_lod_usage}{Mesh\+Lod\+Usage} $>$ \hyperlink{class_ogre_1_1_mesh_a5895cc4a48a728812531f3cc90e40412}{Mesh\+Lod\+Usage\+List}
\item 
typedef \hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}$<$ \hyperlink{group___animation_ga8f03b49c53cbcc1d22f4ef3abfb5b1eb}{Pose\+List} $>$ \hyperlink{class_ogre_1_1_mesh_a78f32e7c485e681dce9422b69186960f}{Pose\+Iterator}
\item 
typedef \hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}$<$ \hyperlink{class_ogre_1_1_mesh_aadf4f5fb8b74f46ca0fe5dfb530a5f64}{Sub\+Mesh\+List} $>$ \hyperlink{class_ogre_1_1_mesh_ac3955099a61b444cb9a2e7e111a1f271}{Sub\+Mesh\+Iterator}
\item 
typedef std\+::vector$<$ \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} $\ast$ $>$ \hyperlink{class_ogre_1_1_mesh_aadf4f5fb8b74f46ca0fe5dfb530a5f64}{Sub\+Mesh\+List}
\item 
typedef std\+::unordered\+\_\+map$<$ \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}, \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} $>$ \hyperlink{class_ogre_1_1_mesh_a65db044c9760efd26f839025ebfa7a98}{Sub\+Mesh\+Name\+Map}
\begin{DoxyCompactList}\small\item\em A hashmap used to store optional \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} names. \end{DoxyCompactList}\item 
typedef std\+::multimap$<$ size\+\_\+t, \hyperlink{group___animation_gaf7318ddaeea193a759de6349554ec3a4}{Vertex\+Bone\+Assignment} $>$ \hyperlink{class_ogre_1_1_mesh_aed02a800a3f1fc668dd5da422a219ef8}{Vertex\+Bone\+Assignment\+List}
\begin{DoxyCompactList}\small\item\em Multimap of vertex bone assignments (orders by vertex index). \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_mesh_a0066a7e921528c059b23ec09d97b2507}{Mesh} (\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} $\ast$creator, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, \hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle} handle, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group, bool is\+Manual=false, \hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader} $\ast$loader=0)
\begin{DoxyCompactList}\small\item\em Default constructor -\/ used by \hyperlink{class_ogre_1_1_mesh_manager}{Mesh\+Manager}. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_mesh_a4a5698435bfde9edd3f83db1b7fe6101}{$\sim$\+Mesh} ()
\item 
void \hyperlink{class_ogre_1_1_mesh_a085638dbd50713f5189d8cc59381c3aa}{\+\_\+calc\+Bounds\+From\+Vertex\+Buffer} (\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$vertex\+Data, \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&out\+A\+A\+BB, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \&out\+Radius, bool update\+Only=false)
\begin{DoxyCompactList}\small\item\em Calculates. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a3eb5c9c7643dbfdfbf4c0d53af4308ef}{\+\_\+compile\+Bone\+Assignments} (void)
\begin{DoxyCompactList}\small\item\em Internal method, be called once to compile bone assignments into geometry buffer. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a423366a565e2c03a3acb31627be23c32}{\+\_\+compute\+Bone\+Bounding\+Radius} ()
\begin{DoxyCompactList}\small\item\em Compute the bone bounding radius by looking at the vertices, vertex-\/bone-\/assignments, and skeleton bind pose. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_ad79899dc7b98696ada9e40e19093c9f2}{\+\_\+determine\+Animation\+Types} (void) const
\begin{DoxyCompactList}\small\item\em Internal method which, if animation types have not been determined, scans any vertex animations and determines the type for each set of vertex data (cannot have 2 different types). \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_afcb4a61b965600a67ca2c2f060821db9}{\+\_\+dirty\+State} ()
\begin{DoxyCompactList}\small\item\em Manually mark the state of this resource as having been changed. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_aa68664db6b8723dc198beef3d21d4ef5}{\+\_\+fire\+Loading\+Complete} (bool was\+Background\+Loaded)
\begin{DoxyCompactList}\small\item\em Firing of loading complete event. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_aaf63d096584ac7d97fe1d1b0226c9561}{\+\_\+fire\+Preparing\+Complete} (bool was\+Background\+Loaded)
\begin{DoxyCompactList}\small\item\em Firing of preparing complete event. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_aaf3746937cd11864f53bc1c3b4437541}{\+\_\+fire\+Unloading\+Complete} (void)
\begin{DoxyCompactList}\small\item\em Firing of unloading complete event. \end{DoxyCompactList}\item 
virtual \hyperlink{class_ogre_1_1_animation}{Animation} $\ast$ \hyperlink{class_ogre_1_1_mesh_a2d10fa0a49667fae266e9fdc9ad3f5ed}{\+\_\+get\+Animation\+Impl} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\begin{DoxyCompactList}\small\item\em Internal access to the named vertex \hyperlink{class_ogre_1_1_animation}{Animation} object -\/ returns null if it does not exist. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_mesh_a6dd33650de67a9e980e161b413dea610}{\+\_\+get\+Animation\+Types\+Dirty} (void) const
\begin{DoxyCompactList}\small\item\em Are the derived animation types out of date? \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} \hyperlink{class_ogre_1_1_mesh_a9f56b65e4c2579bf44345e70ad3d6fc9}{\+\_\+get\+Sub\+Mesh\+Index} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\begin{DoxyCompactList}\small\item\em Gets the index of a submesh with a given name. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a84fbf8773bc1438f26e98a244e4b88a7}{\+\_\+init\+Animation\+State} (\hyperlink{class_ogre_1_1_animation_state_set}{Animation\+State\+Set} $\ast$anim\+Set)
\begin{DoxyCompactList}\small\item\em Initialise an animation set suitable for use with this mesh. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_mesh_a066549b4e1d9ca17e60d97fb8d5a5a33}{\+\_\+is\+Manual\+Lod\+Level} (unsigned short level) const
\begin{DoxyCompactList}\small\item\em Internal methods for loading L\+OD, do not use. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_resource_a7e248a1cca0662418d4ab3f63c2e7cf6}{\+\_\+notify\+Origin} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&origin)
\begin{DoxyCompactList}\small\item\em Notify this resource of it\textquotesingle{}s origin. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a4445472a7c71fafe546d8108d3b121d6}{\+\_\+notify\+Skeleton} (\hyperlink{namespace_ogre_a4ea60aa36ac918eee430bd614be9d018}{Skeleton\+Ptr} \&p\+Skel)
\begin{DoxyCompactList}\small\item\em Internal notification, used to tell the \hyperlink{class_ogre_1_1_mesh}{Mesh} which \hyperlink{class_ogre_1_1_skeleton}{Skeleton} to use without loading it. \end{DoxyCompactList}\item 
unsigned short \hyperlink{class_ogre_1_1_mesh_a71ecbba89597f5b3138a5fde91362e27}{\+\_\+rationalise\+Bone\+Assignments} (size\+\_\+t vertex\+Count, \hyperlink{class_ogre_1_1_mesh_aed02a800a3f1fc668dd5da422a219ef8}{Vertex\+Bone\+Assignment\+List} \&assignments)
\begin{DoxyCompactList}\small\item\em Rationalises the passed in bone assignment list. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a76fc7c2a7118affafbbe7278aca8d3b9}{\+\_\+refresh\+Animation\+State} (\hyperlink{class_ogre_1_1_animation_state_set}{Animation\+State\+Set} $\ast$anim\+Set)
\begin{DoxyCompactList}\small\item\em Refresh an animation set suitable for use with this mesh. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_ac82f204a141bd90613fb38ed74f83c23}{\+\_\+set\+Bone\+Bounding\+Radius} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} radius)
\begin{DoxyCompactList}\small\item\em Manually set the bone bounding radius. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a536a5cf66af30c4be1752a76083950a1}{\+\_\+set\+Bounding\+Sphere\+Radius} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} radius)
\begin{DoxyCompactList}\small\item\em Manually set the bounding radius. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a8c40c34ec7c32009904c0cd730f68b5d}{\+\_\+set\+Bounds} (const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&bounds, bool pad=true)
\begin{DoxyCompactList}\small\item\em Manually set the bounding box for this \hyperlink{class_ogre_1_1_mesh}{Mesh}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_afb7b4cf2de4c641b5122ac88fdd47c97}{\+\_\+set\+Lod\+Info} (unsigned short num\+Levels)
\begin{DoxyCompactList}\small\item\em Internal methods for loading L\+OD, do not use. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a01761982dd11eba29ba0457dada3333b}{\+\_\+set\+Lod\+Usage} (unsigned short level, const \hyperlink{struct_ogre_1_1_mesh_lod_usage}{Mesh\+Lod\+Usage} \&usage)
\begin{DoxyCompactList}\small\item\em Internal methods for loading L\+OD, do not use. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a5fe1977e430d15bad166dbb405ad013b}{\+\_\+set\+Sub\+Mesh\+Lod\+Face\+List} (unsigned short sub\+Idx, unsigned short level, \hyperlink{class_ogre_1_1_index_data}{Index\+Data} $\ast$facedata)
\begin{DoxyCompactList}\small\item\em Internal methods for loading L\+OD, do not use. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a9345131a9086bfd19b2c3217bdea0b97}{\+\_\+update\+Bounds\+From\+Vertex\+Buffers} (bool pad=false)
\begin{DoxyCompactList}\small\item\em Automatically update the bounding radius and bounding box for this \hyperlink{class_ogre_1_1_mesh}{Mesh}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_ac074f9b704766962ad9ddf8bc6f0cb29}{\+\_\+update\+Compiled\+Bone\+Assignments} (void)
\begin{DoxyCompactList}\small\item\em Internal method, be called once to update the compiled bone assignments. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a05554a4e54cbb820a243f5b9f5967cc8}{add\+Bone\+Assignment} (const \hyperlink{group___animation_gaf7318ddaeea193a759de6349554ec3a4}{Vertex\+Bone\+Assignment} \&vert\+Bone\+Assign)
\begin{DoxyCompactList}\small\item\em Assigns a vertex to a bone with a given weight, for skeletal animation. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_a5513ffce404b14cff72846318b018d32}{add\+Listener} (\hyperlink{class_ogre_1_1_resource_1_1_listener}{Listener} $\ast$lis)
\begin{DoxyCompactList}\small\item\em Register a listener on this resource. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a3b18cd2008a447fe5fac98d06a541994}{build\+Edge\+List} (void)
\begin{DoxyCompactList}\small\item\em Builds an edge list for this mesh, which can be used for generating a shadow volume among other things. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_ab6390fa87d0109e9f1c7e44a5d602dbf}{build\+Tangent\+Vectors} (\hyperlink{group___render_system_ga0a62b3f2ede8992ff365bb013a8bc00d}{Vertex\+Element\+Semantic} target\+Semantic=\hyperlink{group___render_system_gga0a62b3f2ede8992ff365bb013a8bc00da57d43012049b3ec7b4240b207dd029f2}{V\+E\+S\+\_\+\+T\+A\+N\+G\+E\+NT}, unsigned short source\+Tex\+Coord\+Set=0, unsigned short index=0, bool split\+Mirrored=false, bool split\+Rotated=false, bool store\+Parity\+InW=false)
\begin{DoxyCompactList}\small\item\em This method builds a set of tangent vectors for a given mesh into a 3D texture coordinate buffer. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_aa5d6f3f7e73b77b233fc62b11f270e4d}{change\+Group\+Ownership} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&new\+Group)
\begin{DoxyCompactList}\small\item\em Change the resource group ownership of a \hyperlink{class_ogre_1_1_resource}{Resource}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_ae0e3489e56423f4643efcace44bb0172}{clear\+Bone\+Assignments} (void)
\begin{DoxyCompactList}\small\item\em Removes all bone assignments for this mesh. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_a5c4c0c56ea9f824c49e331f6fad33ddb}{Mesh\+Ptr} \hyperlink{class_ogre_1_1_mesh_af889e01f6ded554aa491bff2265dc963}{clone} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&new\+Name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&new\+Group=\hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG})
\begin{DoxyCompactList}\small\item\em Makes a copy of this mesh object and gives it a new name. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_string_interface_aad68d8b18faad14e8286a67527094654}{copy\+Parameters\+To} (\hyperlink{class_ogre_1_1_string_interface}{String\+Interface} $\ast$dest) const
\begin{DoxyCompactList}\small\item\em Method for copying this object\textquotesingle{}s parameters to another object. \end{DoxyCompactList}\item 
virtual \hyperlink{class_ogre_1_1_animation}{Animation} $\ast$ \hyperlink{class_ogre_1_1_mesh_a81f6bd4a02c67143c939da55bd35b1bc}{create\+Animation} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} length)
\begin{DoxyCompactList}\small\item\em Creates a new \hyperlink{class_ogre_1_1_animation}{Animation} object for vertex animating this mesh. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_pose}{Pose} $\ast$ \hyperlink{class_ogre_1_1_mesh_a490a63868920721ceffae1b8b75402e2}{create\+Pose} (\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} target, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name=\hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG})
\begin{DoxyCompactList}\small\item\em Create a new \hyperlink{class_ogre_1_1_pose}{Pose} for this mesh or one of its submeshes. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} $\ast$ \hyperlink{class_ogre_1_1_mesh_a23d5c021503b8fac8938be4ba956f2ce}{create\+Sub\+Mesh} (void)
\begin{DoxyCompactList}\small\item\em Creates a new \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} $\ast$ \hyperlink{class_ogre_1_1_mesh_a68b214fd444eafdf672bb45bd8e9b19a}{create\+Sub\+Mesh} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Creates a new \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} and gives it a name. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a27eeabd7eb8282be7115a6c5944b0b0e}{destroy\+Sub\+Mesh} (unsigned short index)
\begin{DoxyCompactList}\small\item\em Destroy a \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} with the given index. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_aa17c84354f568f0ecc2b44448dd5436f}{destroy\+Sub\+Mesh} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Destroy a \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} with the given name. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_a367f6fe60bb211cb4c32e3825ca67e4c}{escalate\+Loading} ()
\begin{DoxyCompactList}\small\item\em Escalates the loading of a background loaded resource. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_aeb87f5aedfc18527dc33ee2ab5e38e9c}{free\+Edge\+List} (void)
\begin{DoxyCompactList}\small\item\em Destroys and frees the edge lists this mesh has built. \end{DoxyCompactList}\item 
virtual \hyperlink{class_ogre_1_1_animation}{Animation} $\ast$ \hyperlink{class_ogre_1_1_mesh_a99c5e25a135daa032869c0e5f2c964b5}{get\+Animation} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\begin{DoxyCompactList}\small\item\em Returns the named vertex \hyperlink{class_ogre_1_1_animation}{Animation} object. \end{DoxyCompactList}\item 
virtual \hyperlink{class_ogre_1_1_animation}{Animation} $\ast$ \hyperlink{class_ogre_1_1_mesh_a6150f4e5003c669db5f057c6d56a2feb}{get\+Animation} (unsigned short index) const
\begin{DoxyCompactList}\small\item\em Gets a single morph animation by index. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_mesh_a822eb4b24327d48d1a2296ba2b45b01f}{get\+Auto\+Build\+Edge\+Lists} (void) const
\begin{DoxyCompactList}\small\item\em Sets whether or not this \hyperlink{class_ogre_1_1_mesh}{Mesh} should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_mesh_a87ffd99faf08ec80bd6932ac77381f3f}{Bone\+Assignment\+Iterator} \hyperlink{class_ogre_1_1_mesh_a723cb01be5d511247cdfd379246a64a0}{get\+Bone\+Assignment\+Iterator} (void)
\begin{DoxyCompactList}\small\item\em Gets an iterator for access all bone assignments. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_mesh_aed02a800a3f1fc668dd5da422a219ef8}{Vertex\+Bone\+Assignment\+List} \& \hyperlink{class_ogre_1_1_mesh_a02c5baa8bc5c7954519a1d4e3f806142}{get\+Bone\+Assignments} () const
\begin{DoxyCompactList}\small\item\em Gets a const reference to the list of bone assignments. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_mesh_adca70032c33851d494649d08a1db15a2}{get\+Bone\+Bounding\+Radius} () const
\begin{DoxyCompactList}\small\item\em Gets the radius used to inflate the bounding box around the bones. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_mesh_a643eccce735ca9edfbc85af7e30f86b8}{get\+Bounding\+Sphere\+Radius} (void) const
\begin{DoxyCompactList}\small\item\em Gets the radius of the bounding sphere surrounding this mesh. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \& \hyperlink{class_ogre_1_1_mesh_a0b2d859269862a86e4c889f8973fa1da}{get\+Bounds} (void) const
\begin{DoxyCompactList}\small\item\em Get the axis-\/aligned bounding box for this mesh. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} $\ast$ \hyperlink{class_ogre_1_1_resource_ab6e377a3964d566ea112fe63bf1d7678}{get\+Creator} (void)
\begin{DoxyCompactList}\small\item\em Gets the manager which created this resource. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_edge_data}{Edge\+Data} $\ast$ \hyperlink{class_ogre_1_1_mesh_a9b73149110ea686c407107dc4dfdf6b1}{get\+Edge\+List} (unsigned short lod\+Index=0)
\begin{DoxyCompactList}\small\item\em Return the edge list for this mesh, building it if required. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_edge_data}{Edge\+Data} $\ast$ \hyperlink{class_ogre_1_1_mesh_a01c03871718a7bad4dcde7ee1807f4e9}{get\+Edge\+List} (unsigned short lod\+Index=0) const
\begin{DoxyCompactList}\small\item\em Return the edge list for this mesh, building it if required. \end{DoxyCompactList}\item 
virtual const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_resource_a382919945c07a6a13136889ad3fbf578}{get\+Group} (void) const
\begin{DoxyCompactList}\small\item\em Gets the group which this resource is a member of. \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle} \hyperlink{class_ogre_1_1_resource_a2298551707debaf774d577e643ee856a}{get\+Handle} (void) const
\item 
\hyperlink{class_ogre_1_1_hardware_buffer_manager_base}{Hardware\+Buffer\+Manager\+Base} $\ast$ \hyperlink{class_ogre_1_1_mesh_a1be3adb33269e010e467eb8eb46f742b}{get\+Hardware\+Buffer\+Manager} ()
\item 
\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage} \hyperlink{class_ogre_1_1_mesh_af76cfb32787287070eefb7f42489f435}{get\+Index\+Buffer\+Usage} (void) const
\begin{DoxyCompactList}\small\item\em Gets the usage setting for this meshes index buffers. \end{DoxyCompactList}\item 
virtual \hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}{Loading\+State} \hyperlink{class_ogre_1_1_resource_a1e90ade99935ef70ec5b199243bf995b}{get\+Loading\+State} () const
\begin{DoxyCompactList}\small\item\em Returns the current loading state. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} \hyperlink{class_ogre_1_1_mesh_addf84210687e8814fd1afd90ba137d5c}{get\+Lod\+Index} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} value) const
\begin{DoxyCompactList}\small\item\em Retrieves the level of detail index for the given L\+OD value. \end{DoxyCompactList}\item 
const \hyperlink{struct_ogre_1_1_mesh_lod_usage}{Mesh\+Lod\+Usage} \& \hyperlink{class_ogre_1_1_mesh_ad7a30ca70b402dc3499a3b2085cf6c92}{get\+Lod\+Level} (\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} index) const
\begin{DoxyCompactList}\small\item\em Gets details of the numbered level of detail entry. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy} $\ast$ \hyperlink{class_ogre_1_1_mesh_a388a04209a76de3e9e3fafbc07d48683}{get\+Lod\+Strategy} () const
\begin{DoxyCompactList}\small\item\em Get L\+OD strategy used by this mesh. \end{DoxyCompactList}\item 
virtual const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_resource_a0646fba8aa0242c6b389d73f47ebe41b}{get\+Name} (void) const
\begin{DoxyCompactList}\small\item\em Gets resource name. \end{DoxyCompactList}\item 
virtual unsigned short \hyperlink{class_ogre_1_1_mesh_a8f8cad841ab891a46811361546105edb}{get\+Num\+Animations} (void) const
\begin{DoxyCompactList}\small\item\em Gets the number of morph animations in this mesh. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} \hyperlink{class_ogre_1_1_mesh_aed08ce0d838e8ecd4513e3cef9a825f4}{get\+Num\+Lod\+Levels} (void) const
\begin{DoxyCompactList}\small\item\em Returns the number of levels of detail that this mesh supports. \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{class_ogre_1_1_mesh_a49696b0d91f5606da5a1bf5b846142e6}{get\+Num\+Sub\+Meshes} (void) const
\begin{DoxyCompactList}\small\item\em Gets the number of sub meshes which comprise this mesh. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_resource_a13423fa7944d7f2339e78b9de026c3be}{get\+Origin} (void) const
\begin{DoxyCompactList}\small\item\em Get the origin of this resource, e.\+g. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_param_dictionary}{Param\+Dictionary} $\ast$ \hyperlink{class_ogre_1_1_string_interface_ae3e13925bde11db245f6c9bbf5031a93}{get\+Param\+Dictionary} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the parameter dictionary for this class. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_param_dictionary}{Param\+Dictionary} $\ast$ \hyperlink{class_ogre_1_1_string_interface_a0f55da0550a7e1ab70a1c8bf598a3e20}{get\+Param\+Dictionary} (void) const
\item 
\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \hyperlink{class_ogre_1_1_string_interface_a1d078304c38a9f85d483fc8ed0cdf1fe}{get\+Parameter} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\begin{DoxyCompactList}\small\item\em Generic parameter retrieval method. \end{DoxyCompactList}\item 
const \hyperlink{group___general_ga1838c2b0619ade1f5e29767062212872}{Parameter\+List} \& \hyperlink{class_ogre_1_1_string_interface_ad4b984bfbf148ddb3310b3d0ba8a9d5d}{get\+Parameters} (void) const
\begin{DoxyCompactList}\small\item\em Retrieves a list of parameters valid for this object. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_pose}{Pose} $\ast$ \hyperlink{class_ogre_1_1_mesh_a135a1975880adbefbc02397081891b72}{get\+Pose} (\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} index)
\begin{DoxyCompactList}\small\item\em Retrieve an existing \hyperlink{class_ogre_1_1_pose}{Pose} by index. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_pose}{Pose} $\ast$ \hyperlink{class_ogre_1_1_mesh_a1bdbcad27bb6dfc402bc0db8dbf0b3d2}{get\+Pose} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Retrieve an existing \hyperlink{class_ogre_1_1_pose}{Pose} by name. \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{class_ogre_1_1_mesh_a027e9a253ea697890d3a963214ebc875}{get\+Pose\+Count} (void) const
\begin{DoxyCompactList}\small\item\em Get the number of poses. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_mesh_a78f32e7c485e681dce9422b69186960f}{Pose\+Iterator} \hyperlink{class_ogre_1_1_mesh_a34437d0150cd4f97ee0080111ab5cb68}{get\+Pose\+Iterator} (void)
\begin{DoxyCompactList}\small\item\em Get an iterator over all the poses defined. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_mesh_a1c651712526bfe4999f27c6c18ded1d9}{Const\+Pose\+Iterator} \hyperlink{class_ogre_1_1_mesh_aa1ca4eb37999e299b18cc55c5861b584}{get\+Pose\+Iterator} (void) const
\begin{DoxyCompactList}\small\item\em Get an iterator over all the poses defined. \end{DoxyCompactList}\item 
const \hyperlink{group___animation_ga8f03b49c53cbcc1d22f4ef3abfb5b1eb}{Pose\+List} \& \hyperlink{class_ogre_1_1_mesh_aedcb8861f049c9cc8acfb41e0dd4e006}{get\+Pose\+List} (void) const
\begin{DoxyCompactList}\small\item\em Get pose list. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_mesh_ae1e3d5cc737c082595ebf61e2bdea693}{get\+Shared\+Vertex\+Data\+Animation\+Includes\+Normals} () const
\begin{DoxyCompactList}\small\item\em Returns whether animation on shared vertex data includes normals. \end{DoxyCompactList}\item 
virtual \hyperlink{group___animation_ga9046e6e0d12c46c57a9056987e9d158e}{Vertex\+Animation\+Type} \hyperlink{class_ogre_1_1_mesh_a22bcc255d120bdf3f98a94afc704dd16}{get\+Shared\+Vertex\+Data\+Animation\+Type} (void) const
\begin{DoxyCompactList}\small\item\em Gets the type of vertex animation the shared vertex data of this mesh supports. \end{DoxyCompactList}\item 
virtual size\+\_\+t \hyperlink{class_ogre_1_1_resource_a0617d9f04ca03bd25f4bde201e6ac13b}{get\+Size} (void) const
\begin{DoxyCompactList}\small\item\em Retrieves info about the size of the resource. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_a4ea60aa36ac918eee430bd614be9d018}{Skeleton\+Ptr} \& \hyperlink{class_ogre_1_1_mesh_a48ff9ffaffb6b7fdc990499df8c6d7bf}{get\+Skeleton} (void) const
\begin{DoxyCompactList}\small\item\em Gets a pointer to any linked \hyperlink{class_ogre_1_1_skeleton}{Skeleton}. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_mesh_a5fc9a950c850c09247ad07d44cfd88ac}{get\+Skeleton\+Name} (void) const
\begin{DoxyCompactList}\small\item\em Gets the name of any linked \hyperlink{class_ogre_1_1_skeleton}{Skeleton}. \end{DoxyCompactList}\item 
virtual size\+\_\+t \hyperlink{class_ogre_1_1_resource_ade85e4d5579519e4117a84789c0ae8fd}{get\+State\+Count} () const
\begin{DoxyCompactList}\small\item\em Returns the number of times this resource has changed state, which generally means the number of times it has been loaded. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} $\ast$ \hyperlink{class_ogre_1_1_mesh_a065af6f0cf1d1a19c99e0a62cd948628}{get\+Sub\+Mesh} (size\+\_\+t index) const
\begin{DoxyCompactList}\small\item\em Gets a pointer to the submesh indicated by the index. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} $\ast$ \hyperlink{class_ogre_1_1_mesh_a296b0321c2a02fa7ae3ee0aa36f66428}{get\+Sub\+Mesh} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\begin{DoxyCompactList}\small\item\em Gets a \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} by name. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_mesh_aadf4f5fb8b74f46ca0fe5dfb530a5f64}{Sub\+Mesh\+List} \& \hyperlink{class_ogre_1_1_mesh_ae698a8fa599193df36bafd93837ad01c}{get\+Sub\+Meshes} () const
\begin{DoxyCompactList}\small\item\em Gets the available submeshes. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_mesh_ac3955099a61b444cb9a2e7e111a1f271}{Sub\+Mesh\+Iterator} \hyperlink{class_ogre_1_1_mesh_a1891dd7442acc39c7edbf6a064e61b70}{get\+Sub\+Mesh\+Iterator} (void)
\begin{DoxyCompactList}\small\item\em Gets an iterator over the available submeshes. \end{DoxyCompactList}\item 
const \hyperlink{class_ogre_1_1_mesh_a65db044c9760efd26f839025ebfa7a98}{Sub\+Mesh\+Name\+Map} \& \hyperlink{class_ogre_1_1_mesh_a76e0ff1f11e7fe1856975879a26f830a}{get\+Sub\+Mesh\+Name\+Map} (void) const
\begin{DoxyCompactList}\small\item\em Gets a reference to the optional name assignments of the Sub\+Meshes. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage} \hyperlink{class_ogre_1_1_mesh_a76cda9fbd7ed49e6a4344b9789581d29}{get\+Vertex\+Buffer\+Usage} (void) const
\begin{DoxyCompactList}\small\item\em Gets the usage setting for this meshes vertex buffers. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$ \hyperlink{class_ogre_1_1_mesh_a01c6a616fc14e149a1419dbf879cb51f}{get\+Vertex\+Data\+By\+Track\+Handle} (unsigned short handle)
\begin{DoxyCompactList}\small\item\em Gets a pointer to a vertex data element based on a morph animation track handle. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ogre_1_1_mesh_a7c8b70b2c53108ebc963f08959855dde}{has\+Animation} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\begin{DoxyCompactList}\small\item\em Returns whether this mesh contains the named vertex animation. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_mesh_af61e6415074e7334ec45cbf9727e866e}{has\+Manual\+Lod\+Level} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this mesh has a manual L\+OD level. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_mesh_abda741ea76979cf0e4d43eced5dece25}{has\+Skeleton} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this \hyperlink{class_ogre_1_1_mesh}{Mesh} has a linked \hyperlink{class_ogre_1_1_skeleton}{Skeleton}. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_mesh_ac06306ffd97d1d7044f5e1ba5f093963}{has\+Vertex\+Animation} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether or not this mesh has some kind of vertex animation. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ogre_1_1_resource_a60ce96525ac730a0f7b466ed287beef3}{is\+Background\+Loaded} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether this \hyperlink{class_ogre_1_1_resource}{Resource} has been earmarked for background loading. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_mesh_a331fef3569b8bf34d28f245bcb61f531}{is\+Edge\+List\+Built} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether this mesh has an attached edge list. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_mesh_af37305346744be4480479e764036116f}{is\+Index\+Buffer\+Shadowed} (void) const
\begin{DoxyCompactList}\small\item\em Gets whether or not this meshes index buffers are shadowed. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ogre_1_1_resource_a74138c0203835513613af73cdb08890d}{is\+Loaded} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if the \hyperlink{class_ogre_1_1_resource}{Resource} has been loaded, false otherwise. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ogre_1_1_resource_a3af26f716731b64850ea50cfa4d2edef}{is\+Loading} () const
\begin{DoxyCompactList}\small\item\em Returns whether the resource is currently in the process of background loading. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ogre_1_1_resource_a8f541900f7e1f73f4c313a732199029a}{is\+Manually\+Loaded} (void) const
\begin{DoxyCompactList}\small\item\em Is this resource manually loaded? \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ogre_1_1_resource_a0779c46df96234b6619a5f57fbb36078}{is\+Prepared} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if the \hyperlink{class_ogre_1_1_resource}{Resource} has been prepared, false otherwise. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_mesh_a4c588b89a9bd8e6fada3f7f38186a22e}{is\+Prepared\+For\+Shadow\+Volumes} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether this mesh has already had it\textquotesingle{}s geometry prepared for use in rendering shadow volumes. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ogre_1_1_resource_a8eb34a9034aab62fd537c021a79e3366}{is\+Reloadable} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if the \hyperlink{class_ogre_1_1_resource}{Resource} is reloadable, false otherwise. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_mesh_a8fdfe3cf4cfd8023fd305306c73004aa}{is\+Vertex\+Buffer\+Shadowed} (void) const
\begin{DoxyCompactList}\small\item\em Gets whether or not this meshes vertex buffers are shadowed. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load} (bool background\+Thread=false)
\begin{DoxyCompactList}\small\item\em Loads the resource, if it is not already. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a9d9525a1266762908ba8327b2e8fa729}{merge\+Adjacent\+Texcoords} (unsigned short final\+Tex\+Coord\+Set, unsigned short tex\+Coord\+Set\+To\+Destroy)
\begin{DoxyCompactList}\small\item\em This method collapses two texcoords into one for all submeshes where this is possible. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a961a5ebb441004ca098a468eb5bd0369}{name\+Sub\+Mesh} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} index)
\begin{DoxyCompactList}\small\item\em Gives a name to a \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare} (bool background\+Thread=false)
\begin{DoxyCompactList}\small\item\em Prepares the resource for load, if it is not already. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a2bab941572b0c00817c50a769b63e241}{prepare\+For\+Shadow\+Volume} (void)
\begin{DoxyCompactList}\small\item\em This method prepares the mesh for generating a renderable shadow volume. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_adca1dc667f145d4a4132811eaadf324f}{reload} (\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Loading\+Flags} flags=\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ab49695ac949df3a7d2e2f9a03267097c}{L\+F\+\_\+\+D\+E\+F\+A\+U\+LT})
\begin{DoxyCompactList}\small\item\em Reloads the resource, if it is already loaded. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_mesh_ae1c65aa0e5a0e8f283392b8b814f2e7e}{remove\+All\+Animations} (void)
\begin{DoxyCompactList}\small\item\em Removes all morph Animations from this mesh. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a1e048f3a9183b6b371e31f1be79e3c06}{remove\+All\+Poses} (void)
\begin{DoxyCompactList}\small\item\em Destroy all poses. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_mesh_a4caff2592e1e2b223cfe9f62843c5153}{remove\+Animation} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Removes vertex \hyperlink{class_ogre_1_1_animation}{Animation} from this mesh. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_a3c49142f739ba8fb56d6e7b3db235fb7}{remove\+Listener} (\hyperlink{class_ogre_1_1_resource_1_1_listener}{Listener} $\ast$lis)
\begin{DoxyCompactList}\small\item\em Remove a listener on this resource. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a02d5ed61b0b9c6bc5d3426a5fa99ac90}{remove\+Lod\+Levels} (void)
\begin{DoxyCompactList}\small\item\em Removes all L\+OD data from this \hyperlink{class_ogre_1_1_mesh}{Mesh}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a8222622d55eed71d40f6dd614cc43635}{remove\+Pose} (\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} index)
\begin{DoxyCompactList}\small\item\em Destroy a pose by index. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a702ffd1c825abfb5c2d643bb1e304fc2}{remove\+Pose} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Destroy a pose by name. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_ac4f3cb35c7eebbe35d5734c8e3682c7d}{set\+Auto\+Build\+Edge\+Lists} (bool autobuild)
\begin{DoxyCompactList}\small\item\em Sets whether or not this \hyperlink{class_ogre_1_1_mesh}{Mesh} should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_ae0a0007de944eb3c2f933a372a752b35}{set\+Background\+Loaded} (bool bl)
\begin{DoxyCompactList}\small\item\em Tells the resource whether it is background loaded or not. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a9e0b552aa1bee96715a9d2eee4a295cd}{set\+Hardware\+Buffer\+Manager} (\hyperlink{class_ogre_1_1_hardware_buffer_manager_base}{Hardware\+Buffer\+Manager\+Base} $\ast$buffer\+Manager)
\begin{DoxyCompactList}\small\item\em Sets the manager for the vertex and index buffers to be used when loading this \hyperlink{class_ogre_1_1_mesh}{Mesh}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a59b3e51a70be90023f1adec878910e17}{set\+Index\+Buffer\+Policy} (\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage} usage, bool shadow\+Buffer=false)
\begin{DoxyCompactList}\small\item\em Sets the policy for the index buffers to be used when loading this \hyperlink{class_ogre_1_1_mesh}{Mesh}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a6e78a78bfa7e943cdfd88ad533a5a6c8}{set\+Lod\+Strategy} (\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy} $\ast$lod\+Strategy)
\begin{DoxyCompactList}\small\item\em Set the lod strategy used by this mesh. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_string_interface_a08d117bf25f011f96d81f1f4ecb25113}{set\+Parameter} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&value)
\begin{DoxyCompactList}\small\item\em Generic parameter setting method. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_string_interface_a9aac32f93bd149a34b809a57a9f01f8f}{set\+Parameter\+List} (const \hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List} \&param\+List)
\begin{DoxyCompactList}\small\item\em Generic multiple parameter setting method. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a234be061da55bc8435401b6875770214}{set\+Skeleton\+Name} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&skel\+Name)
\begin{DoxyCompactList}\small\item\em Sets the name of the skeleton this \hyperlink{class_ogre_1_1_mesh}{Mesh} uses for animation. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_ae128dc852bd40fa4ebdeced17ef60daa}{set\+Vertex\+Buffer\+Policy} (\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage} usage, bool shadow\+Buffer=false)
\begin{DoxyCompactList}\small\item\em Sets the policy for the vertex buffers to be used when loading this \hyperlink{class_ogre_1_1_mesh}{Mesh}. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_mesh_a6984c7229db58040770269710f5b2ac1}{suggest\+Tangent\+Vector\+Build\+Params} (\hyperlink{group___render_system_ga0a62b3f2ede8992ff365bb013a8bc00d}{Vertex\+Element\+Semantic} target\+Semantic, unsigned short \&out\+Source\+Coord\+Set, unsigned short \&out\+Index)
\begin{DoxyCompactList}\small\item\em Ask the mesh to suggest parameters to a future build\+Tangent\+Vectors call, should you wish to use texture coordinates to store the tangents. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_ae229b1f58092109adef55bfc6f864d79}{touch} (void)
\begin{DoxyCompactList}\small\item\em \textquotesingle{}Touches\textquotesingle{} the resource to indicate it has been used. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_resource_aa31bef1bfaa87731622e56f11b548e27}{unload} (void)
\begin{DoxyCompactList}\small\item\em Unloads the resource; this is not permanent, the resource can be reloaded later if required. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a682e7d93150b71e6a5b6a8d638729127}{unname\+Sub\+Mesh} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Removes a name from a \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_ad2a825a0fc90a2c1168d35f074cf077d}{update\+Manual\+Lod\+Level} (\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} index, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&mesh\+Name)
\begin{DoxyCompactList}\small\item\em Changes the alternate mesh to use as a manual L\+OD at the given index. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_mesh_a9eb681a705ada6268c567c553f897dbb}{update\+Material\+For\+All\+Sub\+Meshes} (void)
\begin{DoxyCompactList}\small\item\em Iterates through all submeshes and requests them to apply their texture aliases to the material they use. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{class_ogre_1_1_string_interface_a1bea65fa2b3c2ac5a9f3be59b46a80e8}{cleanup\+Dictionary} ()
\begin{DoxyCompactList}\small\item\em Cleans up the static \textquotesingle{}ms\+Dictionary\textquotesingle{} required to reset \hyperlink{namespace_ogre}{Ogre}, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} implementers (e.\+g. \end{DoxyCompactList}\item 
static void \hyperlink{class_ogre_1_1_mesh_a5219b5a94daa96cd93c9496b83ddab08}{prepare\+Matrices\+For\+Vertex\+Blend} (const \hyperlink{class_ogre_1_1_affine3}{Affine3} $\ast$$\ast$blend\+Matrices, const \hyperlink{class_ogre_1_1_affine3}{Affine3} $\ast$bone\+Matrices, const \hyperlink{class_ogre_1_1_mesh_a9394fdee4f4f3cc760d44fa165b088c2}{Index\+Map} \&index\+Map)
\begin{DoxyCompactList}\small\item\em Prepare matrices for software indexed vertex blend. \end{DoxyCompactList}\item 
static void \hyperlink{class_ogre_1_1_mesh_ae57798459c55a564d81097c2af35863a}{software\+Vertex\+Blend} (const \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$source\+Vertex\+Data, const \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$target\+Vertex\+Data, const \hyperlink{class_ogre_1_1_affine3}{Affine3} $\ast$const $\ast$blend\+Matrices, size\+\_\+t num\+Matrices, bool blend\+Normals)
\begin{DoxyCompactList}\small\item\em Performs a software indexed vertex blend, of the kind used for skeletal animation although it can be used for other purposes. \end{DoxyCompactList}\item 
static void \hyperlink{class_ogre_1_1_mesh_af6df6730f0559aa78ef6e8eaa67bbc36}{software\+Vertex\+Morph} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} t, const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&b1, const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&b2, \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$target\+Vertex\+Data)
\begin{DoxyCompactList}\small\item\em Performs a software vertex morph, of the kind used for morph animation although it can be used for other purposes. \end{DoxyCompactList}\item 
static void \hyperlink{class_ogre_1_1_mesh_a2401f255e53f67ad41c41aafbbe8dfe5}{software\+Vertex\+Pose\+Blend} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} weight, const std\+::map$<$ size\+\_\+t, \hyperlink{class_ogre_1_1_vector3}{Vector3} $>$ \&vertex\+Offset\+Map, const std\+::map$<$ size\+\_\+t, \hyperlink{class_ogre_1_1_vector3}{Vector3} $>$ \&normals\+Map, \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$target\+Vertex\+Data)
\begin{DoxyCompactList}\small\item\em Performs a software vertex pose blend, of the kind used for morph animation although it can be used for other purposes. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_resource_a104d9db8bfcff1f37b29157bbe070f7a}{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}
\item 
\hyperlink{class_ogre_1_1_mesh_a9394fdee4f4f3cc760d44fa165b088c2}{Index\+Map} \hyperlink{class_ogre_1_1_mesh_aa9a6fc00032943a35fd293b5c664929e}{shared\+Blend\+Index\+To\+Bone\+Index\+Map}
\begin{DoxyCompactList}\small\item\em Shared index map for translating blend index to bone index. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$ \hyperlink{class_ogre_1_1_mesh_a1fd9968ccd424f913a7f3f68639f3ecf}{shared\+Vertex\+Data}
\begin{DoxyCompactList}\small\item\em Shared vertex data. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{class_ogre_1_1_mesh_a48305c54a01e0c7a3376ea0a077c467f}{Mesh\+Serializer\+Impl}
\item 
class \hyperlink{class_ogre_1_1_mesh_aef9901d67ded13a151aa3d4fde3a7b17}{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+1}
\item 
class \hyperlink{class_ogre_1_1_mesh_ae60e96165c5d5495195fa0d49f031372}{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+2}
\item 
class \hyperlink{class_ogre_1_1_mesh_a670f31ebff5771e166c38a064836363e}{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+3}
\item 
class \hyperlink{class_ogre_1_1_mesh_a307213f805148c370557044b8f6b00fe}{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+4}
\item 
class \hyperlink{class_ogre_1_1_mesh_a3c0965927dcba841a012cf170ae91ecc}{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+8}
\item 
class \hyperlink{class_ogre_1_1_mesh_a1d5fbbc16bf26f6a94d018b087d4db7e}{Sub\+Mesh}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{class_ogre_1_1_resource}{Resource} holding data about 3D mesh. 

\begin{DoxyRemark}{Remarks}
This class holds the data used to represent a discrete 3-\/dimensional object. \hyperlink{class_ogre_1_1_mesh}{Mesh} data usually contains more than just vertices and triangle information; it also includes references to materials (and the faces which use them), level-\/of-\/detail reduction information, convex hull definition, skeleton/bones information, keyframe animation etc. However, it is important to note the emphasis on the word \textquotesingle{}discrete\textquotesingle{} here. This class does not cover the large-\/scale sprawling geometry found in level / landscape data. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Multiple world objects can (indeed should) be created from a single mesh object -\/ see the \hyperlink{class_ogre_1_1_entity}{Entity} class for more info. The mesh object will have it\textquotesingle{}s own default material properties, but potentially each world instance may wish to customise the materials from the original. When the object is instantiated into a scene node, the mesh material properties will be taken by default but may be changed. These properties are actually held at the \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} level since a single mesh may have parts with different materials. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{}
As described above, because the mesh may have sections of differing material properties, a mesh is inherently a compound construct, consisting of one or more \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} objects. However, it strongly \textquotesingle{}owns\textquotesingle{} it\textquotesingle{}s Sub\+Meshes such that they are loaded / unloaded at the same time. This is contrary to the approach taken to hierarchically related (but loosely owned) scene nodes, where data is loaded / unloaded separately. Note also that mesh sub-\/sections (when used in an instantiated object) share the same scene node as the parent. 
\end{DoxyParagraph}


\subsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a6c2d57227cf44de50edabb8f428c6785}\label{class_ogre_1_1_mesh_a6c2d57227cf44de50edabb8f428c6785}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Lod\+Value\+List@{Lod\+Value\+List}}
\index{Lod\+Value\+List@{Lod\+Value\+List}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Lod\+Value\+List}{LodValueList}}
{\footnotesize\ttfamily typedef std\+::vector$<$\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}$>$ \hyperlink{class_ogre_1_1_mesh_a6c2d57227cf44de50edabb8f428c6785}{Ogre\+::\+Mesh\+::\+Lod\+Value\+List}}

\mbox{\Hypertarget{class_ogre_1_1_mesh_a5895cc4a48a728812531f3cc90e40412}\label{class_ogre_1_1_mesh_a5895cc4a48a728812531f3cc90e40412}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Mesh\+Lod\+Usage\+List@{Mesh\+Lod\+Usage\+List}}
\index{Mesh\+Lod\+Usage\+List@{Mesh\+Lod\+Usage\+List}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Mesh\+Lod\+Usage\+List}{MeshLodUsageList}}
{\footnotesize\ttfamily typedef std\+::vector$<$\hyperlink{struct_ogre_1_1_mesh_lod_usage}{Mesh\+Lod\+Usage}$>$ \hyperlink{class_ogre_1_1_mesh_a5895cc4a48a728812531f3cc90e40412}{Ogre\+::\+Mesh\+::\+Mesh\+Lod\+Usage\+List}}

\mbox{\Hypertarget{class_ogre_1_1_mesh_aed02a800a3f1fc668dd5da422a219ef8}\label{class_ogre_1_1_mesh_aed02a800a3f1fc668dd5da422a219ef8}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Vertex\+Bone\+Assignment\+List@{Vertex\+Bone\+Assignment\+List}}
\index{Vertex\+Bone\+Assignment\+List@{Vertex\+Bone\+Assignment\+List}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Vertex\+Bone\+Assignment\+List}{VertexBoneAssignmentList}}
{\footnotesize\ttfamily typedef std\+::multimap$<$size\+\_\+t, \hyperlink{group___animation_gaf7318ddaeea193a759de6349554ec3a4}{Vertex\+Bone\+Assignment}$>$ \hyperlink{class_ogre_1_1_mesh_aed02a800a3f1fc668dd5da422a219ef8}{Ogre\+::\+Mesh\+::\+Vertex\+Bone\+Assignment\+List}}



Multimap of vertex bone assignments (orders by vertex index). 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a87ffd99faf08ec80bd6932ac77381f3f}\label{class_ogre_1_1_mesh_a87ffd99faf08ec80bd6932ac77381f3f}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Bone\+Assignment\+Iterator@{Bone\+Assignment\+Iterator}}
\index{Bone\+Assignment\+Iterator@{Bone\+Assignment\+Iterator}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Bone\+Assignment\+Iterator}{BoneAssignmentIterator}}
{\footnotesize\ttfamily typedef \hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}$<$\hyperlink{class_ogre_1_1_mesh_aed02a800a3f1fc668dd5da422a219ef8}{Vertex\+Bone\+Assignment\+List}$>$ \hyperlink{class_ogre_1_1_mesh_a87ffd99faf08ec80bd6932ac77381f3f}{Ogre\+::\+Mesh\+::\+Bone\+Assignment\+Iterator}}

\mbox{\Hypertarget{class_ogre_1_1_mesh_aadf4f5fb8b74f46ca0fe5dfb530a5f64}\label{class_ogre_1_1_mesh_aadf4f5fb8b74f46ca0fe5dfb530a5f64}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Sub\+Mesh\+List@{Sub\+Mesh\+List}}
\index{Sub\+Mesh\+List@{Sub\+Mesh\+List}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Sub\+Mesh\+List}{SubMeshList}}
{\footnotesize\ttfamily typedef std\+::vector$<$\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}$\ast$$>$ \hyperlink{class_ogre_1_1_mesh_aadf4f5fb8b74f46ca0fe5dfb530a5f64}{Ogre\+::\+Mesh\+::\+Sub\+Mesh\+List}}

\mbox{\Hypertarget{class_ogre_1_1_mesh_a9394fdee4f4f3cc760d44fa165b088c2}\label{class_ogre_1_1_mesh_a9394fdee4f4f3cc760d44fa165b088c2}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Index\+Map@{Index\+Map}}
\index{Index\+Map@{Index\+Map}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Index\+Map}{IndexMap}}
{\footnotesize\ttfamily typedef std\+::vector$<$unsigned short$>$ \hyperlink{class_ogre_1_1_mesh_a9394fdee4f4f3cc760d44fa165b088c2}{Ogre\+::\+Mesh\+::\+Index\+Map}}

\mbox{\Hypertarget{class_ogre_1_1_mesh_a65db044c9760efd26f839025ebfa7a98}\label{class_ogre_1_1_mesh_a65db044c9760efd26f839025ebfa7a98}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Sub\+Mesh\+Name\+Map@{Sub\+Mesh\+Name\+Map}}
\index{Sub\+Mesh\+Name\+Map@{Sub\+Mesh\+Name\+Map}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Sub\+Mesh\+Name\+Map}{SubMeshNameMap}}
{\footnotesize\ttfamily typedef std\+::unordered\+\_\+map$<$\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}, \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}$>$ \hyperlink{class_ogre_1_1_mesh_a65db044c9760efd26f839025ebfa7a98}{Ogre\+::\+Mesh\+::\+Sub\+Mesh\+Name\+Map}}



A hashmap used to store optional \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} names. 

Translates a name into \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} index. \mbox{\Hypertarget{class_ogre_1_1_mesh_ac3955099a61b444cb9a2e7e111a1f271}\label{class_ogre_1_1_mesh_ac3955099a61b444cb9a2e7e111a1f271}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Sub\+Mesh\+Iterator@{Sub\+Mesh\+Iterator}}
\index{Sub\+Mesh\+Iterator@{Sub\+Mesh\+Iterator}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Sub\+Mesh\+Iterator}{SubMeshIterator}}
{\footnotesize\ttfamily typedef \hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}$<$\hyperlink{class_ogre_1_1_mesh_aadf4f5fb8b74f46ca0fe5dfb530a5f64}{Sub\+Mesh\+List}$>$ \hyperlink{class_ogre_1_1_mesh_ac3955099a61b444cb9a2e7e111a1f271}{Ogre\+::\+Mesh\+::\+Sub\+Mesh\+Iterator}}

\mbox{\Hypertarget{class_ogre_1_1_mesh_a78f32e7c485e681dce9422b69186960f}\label{class_ogre_1_1_mesh_a78f32e7c485e681dce9422b69186960f}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Pose\+Iterator@{Pose\+Iterator}}
\index{Pose\+Iterator@{Pose\+Iterator}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Pose\+Iterator}{PoseIterator}}
{\footnotesize\ttfamily typedef \hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}$<$\hyperlink{group___animation_ga8f03b49c53cbcc1d22f4ef3abfb5b1eb}{Pose\+List}$>$ \hyperlink{class_ogre_1_1_mesh_a78f32e7c485e681dce9422b69186960f}{Ogre\+::\+Mesh\+::\+Pose\+Iterator}}

\mbox{\Hypertarget{class_ogre_1_1_mesh_a1c651712526bfe4999f27c6c18ded1d9}\label{class_ogre_1_1_mesh_a1c651712526bfe4999f27c6c18ded1d9}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Const\+Pose\+Iterator@{Const\+Pose\+Iterator}}
\index{Const\+Pose\+Iterator@{Const\+Pose\+Iterator}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Const\+Pose\+Iterator}{ConstPoseIterator}}
{\footnotesize\ttfamily typedef \hyperlink{class_ogre_1_1_const_vector_iterator}{Const\+Vector\+Iterator}$<$\hyperlink{group___animation_ga8f03b49c53cbcc1d22f4ef3abfb5b1eb}{Pose\+List}$>$ \hyperlink{class_ogre_1_1_mesh_a1c651712526bfe4999f27c6c18ded1d9}{Ogre\+::\+Mesh\+::\+Const\+Pose\+Iterator}}



\subsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Loading\+State@{Loading\+State}}
\index{Loading\+State@{Loading\+State}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Loading\+State}{LoadingState}}
{\footnotesize\ttfamily enum \hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}{Ogre\+::\+Resource\+::\+Loading\+State}\hspace{0.3cm}{\ttfamily [inherited]}}



Enum identifying the loading state of the resource. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+ED@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+ED}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+ED@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+ED}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca28d463296cacdfc115dbc3fb02d00e94}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca28d463296cacdfc115dbc3fb02d00e94}} 
L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+ED&Not loaded. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+I\+NG@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+I\+NG}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+I\+NG@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+I\+NG}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caf138fc9087e0dc755bff08a83720cbb5}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caf138fc9087e0dc755bff08a83720cbb5}} 
L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+I\+NG&Loading is in progress. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+ED@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+ED}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+ED@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+ED}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caa38cbef7605fc4bff6da2f34599ace8f}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caa38cbef7605fc4bff6da2f34599ace8f}} 
L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+ED&Fully loaded. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+I\+NG@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+I\+NG}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+I\+NG@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+I\+NG}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca4228d390b3a9ed614001db177d1f441e}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca4228d390b3a9ed614001db177d1f441e}} 
L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+I\+NG&Currently unloading. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+ED@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+ED}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+ED@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+ED}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca133a073b86c346096237063f99870fc1}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca133a073b86c346096237063f99870fc1}} 
L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+ED&Fully prepared. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+I\+NG@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+I\+NG}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+I\+NG@{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+I\+NG}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572cab43c913411f4a96722902f17b88f10fb}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572cab43c913411f4a96722902f17b88f10fb}} 
L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+I\+NG&Preparing is in progress. \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}\label{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Loading\+Flags@{Loading\+Flags}}
\index{Loading\+Flags@{Loading\+Flags}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Loading\+Flags}{LoadingFlags}}
{\footnotesize\ttfamily enum \hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Ogre\+::\+Resource\+::\+Loading\+Flags}\hspace{0.3cm}{\ttfamily [inherited]}}



Enum that allow to choose subset of unloaded/reloaded resources and to adjust reloading behavior. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{L\+F\+\_\+\+D\+E\+F\+A\+U\+LT@{L\+F\+\_\+\+D\+E\+F\+A\+U\+LT}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!L\+F\+\_\+\+D\+E\+F\+A\+U\+LT@{L\+F\+\_\+\+D\+E\+F\+A\+U\+LT}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ab49695ac949df3a7d2e2f9a03267097c}\label{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ab49695ac949df3a7d2e2f9a03267097c}} 
L\+F\+\_\+\+D\+E\+F\+A\+U\+LT&Only reloadable resources are processed, reload restores initial state. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{L\+F\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE@{L\+F\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!L\+F\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE@{L\+F\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94a6ee542226e1cf18df28ab88426be6809}\label{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94a6ee542226e1cf18df28ab88426be6809}} 
L\+F\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE&Process non-\/reloadable resources too. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED@{L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED@{L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94a70589e0b87b09b0a4fd98ce490dc9782}\label{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94a70589e0b87b09b0a4fd98ce490dc9782}} 
L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED&Process only resources which are not referenced by any other object. Usefull to reduce resource consumption. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+E\+D\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE@{L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+E\+D\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+E\+D\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE@{L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+E\+D\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ae5f2eca654bd810da4c774570a5b4b77}\label{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ae5f2eca654bd810da4c774570a5b4b77}} 
L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+E\+D\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE&Combination of L\+F\+\_\+\+O\+N\+L\+Y\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+ED and L\+F\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+N\+O\+N\+\_\+\+R\+E\+L\+O\+A\+D\+A\+B\+LE. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{L\+F\+\_\+\+P\+R\+E\+S\+E\+R\+V\+E\+\_\+\+S\+T\+A\+TE@{L\+F\+\_\+\+P\+R\+E\+S\+E\+R\+V\+E\+\_\+\+S\+T\+A\+TE}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!L\+F\+\_\+\+P\+R\+E\+S\+E\+R\+V\+E\+\_\+\+S\+T\+A\+TE@{L\+F\+\_\+\+P\+R\+E\+S\+E\+R\+V\+E\+\_\+\+S\+T\+A\+TE}}}\mbox{\Hypertarget{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ad83abf165de5cfa1a4c8e0cd5471ad2c}\label{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ad83abf165de5cfa1a4c8e0cd5471ad2c}} 
L\+F\+\_\+\+P\+R\+E\+S\+E\+R\+V\+E\+\_\+\+S\+T\+A\+TE&Preserve some states during reloading, for example stencil shadows prepareness for Meshes. \\
\hline

\end{DoxyEnumFields}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a0066a7e921528c059b23ec09d97b2507}\label{class_ogre_1_1_mesh_a0066a7e921528c059b23ec09d97b2507}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Mesh@{Mesh}}
\index{Mesh@{Mesh}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Mesh()}{Mesh()}}
{\footnotesize\ttfamily Ogre\+::\+Mesh\+::\+Mesh (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} $\ast$}]{creator,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}}]{handle,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group,  }\item[{bool}]{is\+Manual = {\ttfamily false},  }\item[{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader} $\ast$}]{loader = {\ttfamily 0} }\end{DoxyParamCaption})}



Default constructor -\/ used by \hyperlink{class_ogre_1_1_mesh_manager}{Mesh\+Manager}. 

\begin{DoxyWarning}{Warning}
Do not call this method directly. 
\end{DoxyWarning}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a4a5698435bfde9edd3f83db1b7fe6101}\label{class_ogre_1_1_mesh_a4a5698435bfde9edd3f83db1b7fe6101}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!````~Mesh@{$\sim$\+Mesh}}
\index{````~Mesh@{$\sim$\+Mesh}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{$\sim$\+Mesh()}{~Mesh()}}
{\footnotesize\ttfamily Ogre\+::\+Mesh\+::$\sim$\+Mesh (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a23d5c021503b8fac8938be4ba956f2ce}\label{class_ogre_1_1_mesh_a23d5c021503b8fac8938be4ba956f2ce}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!create\+Sub\+Mesh@{create\+Sub\+Mesh}}
\index{create\+Sub\+Mesh@{create\+Sub\+Mesh}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{create\+Sub\+Mesh()}{createSubMesh()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}$\ast$ Ogre\+::\+Mesh\+::create\+Sub\+Mesh (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Creates a new \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}. 

\begin{DoxyRemark}{Remarks}
Method for manually creating geometry for the mesh. Note -\/ use with extreme caution -\/ you must be sure that you have set up the geometry properly. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a68b214fd444eafdf672bb45bd8e9b19a}\label{class_ogre_1_1_mesh_a68b214fd444eafdf672bb45bd8e9b19a}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!create\+Sub\+Mesh@{create\+Sub\+Mesh}}
\index{create\+Sub\+Mesh@{create\+Sub\+Mesh}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{create\+Sub\+Mesh()}{createSubMesh()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}$\ast$ Ogre\+::\+Mesh\+::create\+Sub\+Mesh (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Creates a new \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} and gives it a name. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a961a5ebb441004ca098a468eb5bd0369}\label{class_ogre_1_1_mesh_a961a5ebb441004ca098a468eb5bd0369}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!name\+Sub\+Mesh@{name\+Sub\+Mesh}}
\index{name\+Sub\+Mesh@{name\+Sub\+Mesh}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{name\+Sub\+Mesh()}{nameSubMesh()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::name\+Sub\+Mesh (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{index }\end{DoxyParamCaption})}



Gives a name to a \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a682e7d93150b71e6a5b6a8d638729127}\label{class_ogre_1_1_mesh_a682e7d93150b71e6a5b6a8d638729127}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!unname\+Sub\+Mesh@{unname\+Sub\+Mesh}}
\index{unname\+Sub\+Mesh@{unname\+Sub\+Mesh}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{unname\+Sub\+Mesh()}{unnameSubMesh()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::unname\+Sub\+Mesh (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Removes a name from a \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a9f56b65e4c2579bf44345e70ad3d6fc9}\label{class_ogre_1_1_mesh_a9f56b65e4c2579bf44345e70ad3d6fc9}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+get\+Sub\+Mesh\+Index@{\+\_\+get\+Sub\+Mesh\+Index}}
\index{\+\_\+get\+Sub\+Mesh\+Index@{\+\_\+get\+Sub\+Mesh\+Index}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+get\+Sub\+Mesh\+Index()}{\_getSubMeshIndex()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} Ogre\+::\+Mesh\+::\+\_\+get\+Sub\+Mesh\+Index (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption}) const}



Gets the index of a submesh with a given name. 

\begin{DoxyRemark}{Remarks}
Useful if you identify the Sub\+Meshes by name (using name\+Sub\+Mesh) but wish to have faster repeat access. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a49696b0d91f5606da5a1bf5b846142e6}\label{class_ogre_1_1_mesh_a49696b0d91f5606da5a1bf5b846142e6}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Num\+Sub\+Meshes@{get\+Num\+Sub\+Meshes}}
\index{get\+Num\+Sub\+Meshes@{get\+Num\+Sub\+Meshes}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Num\+Sub\+Meshes()}{getNumSubMeshes()}}
{\footnotesize\ttfamily size\+\_\+t Ogre\+::\+Mesh\+::get\+Num\+Sub\+Meshes (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the number of sub meshes which comprise this mesh. 

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000072}{Deprecated}]use \hyperlink{class_ogre_1_1_mesh_ae698a8fa599193df36bafd93837ad01c}{get\+Sub\+Meshes()} instead \end{DoxyRefDesc}


Referenced by Ogre\+::\+Lod0\+Stripifier\+::\+Strip\+Lod0\+Vertices(), and Ogre\+::\+Lod0\+Stripifier\+::$\sim$\+Lod0\+Stripifier().

\mbox{\Hypertarget{class_ogre_1_1_mesh_a065af6f0cf1d1a19c99e0a62cd948628}\label{class_ogre_1_1_mesh_a065af6f0cf1d1a19c99e0a62cd948628}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Sub\+Mesh@{get\+Sub\+Mesh}}
\index{get\+Sub\+Mesh@{get\+Sub\+Mesh}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Sub\+Mesh()}{getSubMesh()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}$\ast$ Ogre\+::\+Mesh\+::get\+Sub\+Mesh (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{index }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets a pointer to the submesh indicated by the index. 

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000073}{Deprecated}]use \hyperlink{class_ogre_1_1_mesh_ae698a8fa599193df36bafd93837ad01c}{get\+Sub\+Meshes()} instead \end{DoxyRefDesc}


Referenced by Ogre\+::\+Lod0\+Stripifier\+::\+Strip\+Lod0\+Vertices(), and Ogre\+::\+Lod0\+Stripifier\+::$\sim$\+Lod0\+Stripifier().

\mbox{\Hypertarget{class_ogre_1_1_mesh_a296b0321c2a02fa7ae3ee0aa36f66428}\label{class_ogre_1_1_mesh_a296b0321c2a02fa7ae3ee0aa36f66428}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Sub\+Mesh@{get\+Sub\+Mesh}}
\index{get\+Sub\+Mesh@{get\+Sub\+Mesh}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Sub\+Mesh()}{getSubMesh()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}$\ast$ Ogre\+::\+Mesh\+::get\+Sub\+Mesh (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption}) const}



Gets a \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} by name. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a27eeabd7eb8282be7115a6c5944b0b0e}\label{class_ogre_1_1_mesh_a27eeabd7eb8282be7115a6c5944b0b0e}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!destroy\+Sub\+Mesh@{destroy\+Sub\+Mesh}}
\index{destroy\+Sub\+Mesh@{destroy\+Sub\+Mesh}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{destroy\+Sub\+Mesh()}{destroySubMesh()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::destroy\+Sub\+Mesh (\begin{DoxyParamCaption}\item[{unsigned short}]{index }\end{DoxyParamCaption})}



Destroy a \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} with the given index. 

\begin{DoxyNote}{Note}
This will invalidate the contents of any existing \hyperlink{class_ogre_1_1_entity}{Entity}, or any other object that is referring to the \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} list. \hyperlink{class_ogre_1_1_entity}{Entity} will detect this and reinitialise, but it is still a disruptive action. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_mesh_aa17c84354f568f0ecc2b44448dd5436f}\label{class_ogre_1_1_mesh_aa17c84354f568f0ecc2b44448dd5436f}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!destroy\+Sub\+Mesh@{destroy\+Sub\+Mesh}}
\index{destroy\+Sub\+Mesh@{destroy\+Sub\+Mesh}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{destroy\+Sub\+Mesh()}{destroySubMesh()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::destroy\+Sub\+Mesh (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Destroy a \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} with the given name. 

\begin{DoxyNote}{Note}
This will invalidate the contents of any existing \hyperlink{class_ogre_1_1_entity}{Entity}, or any other object that is referring to the \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} list. \hyperlink{class_ogre_1_1_entity}{Entity} will detect this and reinitialise, but it is still a disruptive action. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a1891dd7442acc39c7edbf6a064e61b70}\label{class_ogre_1_1_mesh_a1891dd7442acc39c7edbf6a064e61b70}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Sub\+Mesh\+Iterator@{get\+Sub\+Mesh\+Iterator}}
\index{get\+Sub\+Mesh\+Iterator@{get\+Sub\+Mesh\+Iterator}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Sub\+Mesh\+Iterator()}{getSubMeshIterator()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_mesh_ac3955099a61b444cb9a2e7e111a1f271}{Sub\+Mesh\+Iterator} Ogre\+::\+Mesh\+::get\+Sub\+Mesh\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Gets an iterator over the available submeshes. 

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000074}{Deprecated}]use \hyperlink{class_ogre_1_1_mesh_ae698a8fa599193df36bafd93837ad01c}{get\+Sub\+Meshes()} instead \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_mesh_ae698a8fa599193df36bafd93837ad01c}\label{class_ogre_1_1_mesh_ae698a8fa599193df36bafd93837ad01c}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Sub\+Meshes@{get\+Sub\+Meshes}}
\index{get\+Sub\+Meshes@{get\+Sub\+Meshes}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Sub\+Meshes()}{getSubMeshes()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_mesh_aadf4f5fb8b74f46ca0fe5dfb530a5f64}{Sub\+Mesh\+List}\& Ogre\+::\+Mesh\+::get\+Sub\+Meshes (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the available submeshes. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_af889e01f6ded554aa491bff2265dc963}\label{class_ogre_1_1_mesh_af889e01f6ded554aa491bff2265dc963}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!clone@{clone}}
\index{clone@{clone}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{clone()}{clone()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_a5c4c0c56ea9f824c49e331f6fad33ddb}{Mesh\+Ptr} Ogre\+::\+Mesh\+::clone (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{new\+Name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{new\+Group = {\ttfamily \hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG}} }\end{DoxyParamCaption})}



Makes a copy of this mesh object and gives it a new name. 

\begin{DoxyRemark}{Remarks}
This is useful if you want to tweak an existing mesh without affecting the original one. The newly cloned mesh is registered with the \hyperlink{class_ogre_1_1_mesh_manager}{Mesh\+Manager} under the new name. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em new\+Name} & The name to give the clone. \\
\hline
{\em new\+Group} & Optional name of the new group to assign the clone to; if you leave this blank, the clone will be assigned to the same group as this \hyperlink{class_ogre_1_1_mesh}{Mesh}. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_adca1dc667f145d4a4132811eaadf324f}\label{class_ogre_1_1_mesh_adca1dc667f145d4a4132811eaadf324f}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!reload@{reload}}
\index{reload@{reload}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{reload()}{reload()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::reload (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Loading\+Flags}}]{flags = {\ttfamily \hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ab49695ac949df3a7d2e2f9a03267097c}{L\+F\+\_\+\+D\+E\+F\+A\+U\+LT}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Reloads the resource, if it is already loaded. 

\begin{DoxyRemark}{Remarks}
Calls \hyperlink{class_ogre_1_1_resource_aa31bef1bfaa87731622e56f11b548e27}{unload()} and then \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} again, if the resource is already loaded. If it is not loaded already, then nothing happens. 
\end{DoxyRemark}


Reimplemented from \hyperlink{class_ogre_1_1_resource_a5016aec1762b026997ddd346775879ef}{Ogre\+::\+Resource}.

\mbox{\Hypertarget{class_ogre_1_1_mesh_a0b2d859269862a86e4c889f8973fa1da}\label{class_ogre_1_1_mesh_a0b2d859269862a86e4c889f8973fa1da}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Bounds@{get\+Bounds}}
\index{get\+Bounds@{get\+Bounds}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Bounds()}{getBounds()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box}\& Ogre\+::\+Mesh\+::get\+Bounds (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get the axis-\/aligned bounding box for this mesh. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a643eccce735ca9edfbc85af7e30f86b8}\label{class_ogre_1_1_mesh_a643eccce735ca9edfbc85af7e30f86b8}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Bounding\+Sphere\+Radius@{get\+Bounding\+Sphere\+Radius}}
\index{get\+Bounding\+Sphere\+Radius@{get\+Bounding\+Sphere\+Radius}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Bounding\+Sphere\+Radius()}{getBoundingSphereRadius()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Mesh\+::get\+Bounding\+Sphere\+Radius (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the radius of the bounding sphere surrounding this mesh. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_adca70032c33851d494649d08a1db15a2}\label{class_ogre_1_1_mesh_adca70032c33851d494649d08a1db15a2}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Bone\+Bounding\+Radius@{get\+Bone\+Bounding\+Radius}}
\index{get\+Bone\+Bounding\+Radius@{get\+Bone\+Bounding\+Radius}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Bone\+Bounding\+Radius()}{getBoneBoundingRadius()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Mesh\+::get\+Bone\+Bounding\+Radius (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Gets the radius used to inflate the bounding box around the bones. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a8c40c34ec7c32009904c0cd730f68b5d}\label{class_ogre_1_1_mesh_a8c40c34ec7c32009904c0cd730f68b5d}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+set\+Bounds@{\+\_\+set\+Bounds}}
\index{\+\_\+set\+Bounds@{\+\_\+set\+Bounds}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+set\+Bounds()}{\_setBounds()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+set\+Bounds (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&}]{bounds,  }\item[{bool}]{pad = {\ttfamily true} }\end{DoxyParamCaption})}



Manually set the bounding box for this \hyperlink{class_ogre_1_1_mesh}{Mesh}. 

\begin{DoxyRemark}{Remarks}
Calling this method is required when building manual meshes now, because O\+G\+RE can no longer update the bounds for you, because it cannot necessarily read vertex data back from the vertex buffers which this mesh uses (they very well might be write-\/only, and even if they are not, reading data from a hardware buffer is a bottleneck). 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em pad} & If true, a certain padding will be added to the bounding box to separate it from the mesh \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a536a5cf66af30c4be1752a76083950a1}\label{class_ogre_1_1_mesh_a536a5cf66af30c4be1752a76083950a1}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+set\+Bounding\+Sphere\+Radius@{\+\_\+set\+Bounding\+Sphere\+Radius}}
\index{\+\_\+set\+Bounding\+Sphere\+Radius@{\+\_\+set\+Bounding\+Sphere\+Radius}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+set\+Bounding\+Sphere\+Radius()}{\_setBoundingSphereRadius()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+set\+Bounding\+Sphere\+Radius (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{radius }\end{DoxyParamCaption})}



Manually set the bounding radius. 

\begin{DoxyRemark}{Remarks}
Calling this method is required when building manual meshes now, because O\+G\+RE can no longer update the bounds for you, because it cannot necessarily read vertex data back from the vertex buffers which this mesh uses (they very well might be write-\/only, and even if they are not, reading data from a hardware buffer is a bottleneck). 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_mesh_ac82f204a141bd90613fb38ed74f83c23}\label{class_ogre_1_1_mesh_ac82f204a141bd90613fb38ed74f83c23}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+set\+Bone\+Bounding\+Radius@{\+\_\+set\+Bone\+Bounding\+Radius}}
\index{\+\_\+set\+Bone\+Bounding\+Radius@{\+\_\+set\+Bone\+Bounding\+Radius}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+set\+Bone\+Bounding\+Radius()}{\_setBoneBoundingRadius()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+set\+Bone\+Bounding\+Radius (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{radius }\end{DoxyParamCaption})}



Manually set the bone bounding radius. 

\begin{DoxyRemark}{Remarks}
This value is normally computed automatically, however it can be overriden with this method. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a423366a565e2c03a3acb31627be23c32}\label{class_ogre_1_1_mesh_a423366a565e2c03a3acb31627be23c32}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+compute\+Bone\+Bounding\+Radius@{\+\_\+compute\+Bone\+Bounding\+Radius}}
\index{\+\_\+compute\+Bone\+Bounding\+Radius@{\+\_\+compute\+Bone\+Bounding\+Radius}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+compute\+Bone\+Bounding\+Radius()}{\_computeBoneBoundingRadius()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+compute\+Bone\+Bounding\+Radius (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Compute the bone bounding radius by looking at the vertices, vertex-\/bone-\/assignments, and skeleton bind pose. 

\begin{DoxyRemark}{Remarks}
This is automatically called by \hyperlink{class_ogre_1_1_entity}{Entity} if necessary. Only does something if the bone\+Bounding\+Radius is zero to begin with. Only works if vertex data is readable (i.\+e. not W\+R\+I\+T\+E\+\_\+\+O\+N\+LY). 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a9345131a9086bfd19b2c3217bdea0b97}\label{class_ogre_1_1_mesh_a9345131a9086bfd19b2c3217bdea0b97}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+update\+Bounds\+From\+Vertex\+Buffers@{\+\_\+update\+Bounds\+From\+Vertex\+Buffers}}
\index{\+\_\+update\+Bounds\+From\+Vertex\+Buffers@{\+\_\+update\+Bounds\+From\+Vertex\+Buffers}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+update\+Bounds\+From\+Vertex\+Buffers()}{\_updateBoundsFromVertexBuffers()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+update\+Bounds\+From\+Vertex\+Buffers (\begin{DoxyParamCaption}\item[{bool}]{pad = {\ttfamily false} }\end{DoxyParamCaption})}



Automatically update the bounding radius and bounding box for this \hyperlink{class_ogre_1_1_mesh}{Mesh}. 

\begin{DoxyRemark}{Remarks}
Calling this method is required when building manual meshes. However it is recommended to use \+\_\+set\+Bounds and \+\_\+set\+Bounding\+Sphere\+Radius instead, because the vertex buffer may not have a shadow copy in the memory. Reading back the buffer from video memory is very slow! 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em pad} & If true, a certain padding will be added to the bounding box to separate it from the mesh \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a085638dbd50713f5189d8cc59381c3aa}\label{class_ogre_1_1_mesh_a085638dbd50713f5189d8cc59381c3aa}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+calc\+Bounds\+From\+Vertex\+Buffer@{\+\_\+calc\+Bounds\+From\+Vertex\+Buffer}}
\index{\+\_\+calc\+Bounds\+From\+Vertex\+Buffer@{\+\_\+calc\+Bounds\+From\+Vertex\+Buffer}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+calc\+Bounds\+From\+Vertex\+Buffer()}{\_calcBoundsFromVertexBuffer()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+calc\+Bounds\+From\+Vertex\+Buffer (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$}]{vertex\+Data,  }\item[{\hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box} \&}]{out\+A\+A\+BB,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \&}]{out\+Radius,  }\item[{bool}]{update\+Only = {\ttfamily false} }\end{DoxyParamCaption})}



Calculates. 

\begin{DoxyRemark}{Remarks}
Calling this method is required when building manual meshes. However it is recommended to use \+\_\+set\+Bounds and \+\_\+set\+Bounding\+Sphere\+Radius instead, because the vertex buffer may not have a shadow copy in the memory. Reading back the buffer from video memory is very slow! 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a234be061da55bc8435401b6875770214}\label{class_ogre_1_1_mesh_a234be061da55bc8435401b6875770214}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!set\+Skeleton\+Name@{set\+Skeleton\+Name}}
\index{set\+Skeleton\+Name@{set\+Skeleton\+Name}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{set\+Skeleton\+Name()}{setSkeletonName()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::set\+Skeleton\+Name (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{skel\+Name }\end{DoxyParamCaption})}



Sets the name of the skeleton this \hyperlink{class_ogre_1_1_mesh}{Mesh} uses for animation. 

\begin{DoxyRemark}{Remarks}
Meshes can optionally be assigned a skeleton which can be used to animate the mesh through bone assignments. The default is for the \hyperlink{class_ogre_1_1_mesh}{Mesh} to use no skeleton. Calling this method with a valid skeleton filename will cause the skeleton to be loaded if it is not already (a single skeleton can be shared by many \hyperlink{class_ogre_1_1_mesh}{Mesh} objects). 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em skel\+Name} & The name of the .skeleton file to use, or an empty string to use no skeleton \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_abda741ea76979cf0e4d43eced5dece25}\label{class_ogre_1_1_mesh_abda741ea76979cf0e4d43eced5dece25}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!has\+Skeleton@{has\+Skeleton}}
\index{has\+Skeleton@{has\+Skeleton}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{has\+Skeleton()}{hasSkeleton()}}
{\footnotesize\ttfamily bool Ogre\+::\+Mesh\+::has\+Skeleton (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns true if this \hyperlink{class_ogre_1_1_mesh}{Mesh} has a linked \hyperlink{class_ogre_1_1_skeleton}{Skeleton}. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_ac06306ffd97d1d7044f5e1ba5f093963}\label{class_ogre_1_1_mesh_ac06306ffd97d1d7044f5e1ba5f093963}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!has\+Vertex\+Animation@{has\+Vertex\+Animation}}
\index{has\+Vertex\+Animation@{has\+Vertex\+Animation}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{has\+Vertex\+Animation()}{hasVertexAnimation()}}
{\footnotesize\ttfamily bool Ogre\+::\+Mesh\+::has\+Vertex\+Animation (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns whether or not this mesh has some kind of vertex animation. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a48ff9ffaffb6b7fdc990499df8c6d7bf}\label{class_ogre_1_1_mesh_a48ff9ffaffb6b7fdc990499df8c6d7bf}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Skeleton@{get\+Skeleton}}
\index{get\+Skeleton@{get\+Skeleton}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Skeleton()}{getSkeleton()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_a4ea60aa36ac918eee430bd614be9d018}{Skeleton\+Ptr}\& Ogre\+::\+Mesh\+::get\+Skeleton (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets a pointer to any linked \hyperlink{class_ogre_1_1_skeleton}{Skeleton}. 

\begin{DoxyReturn}{Returns}
Weak reference to the skeleton -\/ copy this if you want to hold a strong pointer. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a5fc9a950c850c09247ad07d44cfd88ac}\label{class_ogre_1_1_mesh_a5fc9a950c850c09247ad07d44cfd88ac}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Skeleton\+Name@{get\+Skeleton\+Name}}
\index{get\+Skeleton\+Name@{get\+Skeleton\+Name}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Skeleton\+Name()}{getSkeletonName()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Mesh\+::get\+Skeleton\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the name of any linked \hyperlink{class_ogre_1_1_skeleton}{Skeleton}. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a84fbf8773bc1438f26e98a244e4b88a7}\label{class_ogre_1_1_mesh_a84fbf8773bc1438f26e98a244e4b88a7}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+init\+Animation\+State@{\+\_\+init\+Animation\+State}}
\index{\+\_\+init\+Animation\+State@{\+\_\+init\+Animation\+State}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+init\+Animation\+State()}{\_initAnimationState()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+init\+Animation\+State (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_animation_state_set}{Animation\+State\+Set} $\ast$}]{anim\+Set }\end{DoxyParamCaption})}



Initialise an animation set suitable for use with this mesh. 

\begin{DoxyRemark}{Remarks}
Only recommended for use inside the engine, not by applications. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a76fc7c2a7118affafbbe7278aca8d3b9}\label{class_ogre_1_1_mesh_a76fc7c2a7118affafbbe7278aca8d3b9}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+refresh\+Animation\+State@{\+\_\+refresh\+Animation\+State}}
\index{\+\_\+refresh\+Animation\+State@{\+\_\+refresh\+Animation\+State}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+refresh\+Animation\+State()}{\_refreshAnimationState()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+refresh\+Animation\+State (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_animation_state_set}{Animation\+State\+Set} $\ast$}]{anim\+Set }\end{DoxyParamCaption})}



Refresh an animation set suitable for use with this mesh. 

\begin{DoxyRemark}{Remarks}
Only recommended for use inside the engine, not by applications. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a05554a4e54cbb820a243f5b9f5967cc8}\label{class_ogre_1_1_mesh_a05554a4e54cbb820a243f5b9f5967cc8}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!add\+Bone\+Assignment@{add\+Bone\+Assignment}}
\index{add\+Bone\+Assignment@{add\+Bone\+Assignment}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{add\+Bone\+Assignment()}{addBoneAssignment()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::add\+Bone\+Assignment (\begin{DoxyParamCaption}\item[{const \hyperlink{group___animation_gaf7318ddaeea193a759de6349554ec3a4}{Vertex\+Bone\+Assignment} \&}]{vert\+Bone\+Assign }\end{DoxyParamCaption})}



Assigns a vertex to a bone with a given weight, for skeletal animation. 

\begin{DoxyRemark}{Remarks}
This method is only valid after calling set\+Skeleton\+Name. Since this is a one-\/off process there exists only \textquotesingle{}add\+Bone\+Assignment\textquotesingle{} and \textquotesingle{}clear\+Bone\+Assignments\textquotesingle{} methods, no \textquotesingle{}edit\+Bone\+Assignment\textquotesingle{}. You should not need to modify bone assignments during rendering (only the positions of bones) and O\+G\+RE reserves the right to do some internal data reformatting of this information, depending on render system requirements. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
This method is for assigning weights to the shared geometry of the \hyperlink{class_ogre_1_1_mesh}{Mesh}. To assign weights to the per-\/\+Sub\+Mesh geometry, see the equivalent methods on \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_mesh_ae0e3489e56423f4643efcace44bb0172}\label{class_ogre_1_1_mesh_ae0e3489e56423f4643efcace44bb0172}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!clear\+Bone\+Assignments@{clear\+Bone\+Assignments}}
\index{clear\+Bone\+Assignments@{clear\+Bone\+Assignments}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{clear\+Bone\+Assignments()}{clearBoneAssignments()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::clear\+Bone\+Assignments (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Removes all bone assignments for this mesh. 

\begin{DoxyRemark}{Remarks}
This method is for modifying weights to the shared geometry of the \hyperlink{class_ogre_1_1_mesh}{Mesh}. To assign weights to the per-\/\+Sub\+Mesh geometry, see the equivalent methods on \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a4445472a7c71fafe546d8108d3b121d6}\label{class_ogre_1_1_mesh_a4445472a7c71fafe546d8108d3b121d6}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+notify\+Skeleton@{\+\_\+notify\+Skeleton}}
\index{\+\_\+notify\+Skeleton@{\+\_\+notify\+Skeleton}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Skeleton()}{\_notifySkeleton()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+notify\+Skeleton (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a4ea60aa36ac918eee430bd614be9d018}{Skeleton\+Ptr} \&}]{p\+Skel }\end{DoxyParamCaption})}



Internal notification, used to tell the \hyperlink{class_ogre_1_1_mesh}{Mesh} which \hyperlink{class_ogre_1_1_skeleton}{Skeleton} to use without loading it. 

\begin{DoxyRemark}{Remarks}
This is only here for unusual situation where you want to manually set up a \hyperlink{class_ogre_1_1_skeleton}{Skeleton}. Best to let O\+G\+RE deal with this, don\textquotesingle{}t call it yourself unless you really know what you\textquotesingle{}re doing. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a723cb01be5d511247cdfd379246a64a0}\label{class_ogre_1_1_mesh_a723cb01be5d511247cdfd379246a64a0}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Bone\+Assignment\+Iterator@{get\+Bone\+Assignment\+Iterator}}
\index{get\+Bone\+Assignment\+Iterator@{get\+Bone\+Assignment\+Iterator}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Bone\+Assignment\+Iterator()}{getBoneAssignmentIterator()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_mesh_a87ffd99faf08ec80bd6932ac77381f3f}{Bone\+Assignment\+Iterator} Ogre\+::\+Mesh\+::get\+Bone\+Assignment\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Gets an iterator for access all bone assignments. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a02c5baa8bc5c7954519a1d4e3f806142}\label{class_ogre_1_1_mesh_a02c5baa8bc5c7954519a1d4e3f806142}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Bone\+Assignments@{get\+Bone\+Assignments}}
\index{get\+Bone\+Assignments@{get\+Bone\+Assignments}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Bone\+Assignments()}{getBoneAssignments()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_mesh_aed02a800a3f1fc668dd5da422a219ef8}{Vertex\+Bone\+Assignment\+List}\& Ogre\+::\+Mesh\+::get\+Bone\+Assignments (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets a const reference to the list of bone assignments. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_aed08ce0d838e8ecd4513e3cef9a825f4}\label{class_ogre_1_1_mesh_aed08ce0d838e8ecd4513e3cef9a825f4}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Num\+Lod\+Levels@{get\+Num\+Lod\+Levels}}
\index{get\+Num\+Lod\+Levels@{get\+Num\+Lod\+Levels}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Num\+Lod\+Levels()}{getNumLodLevels()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} Ogre\+::\+Mesh\+::get\+Num\+Lod\+Levels (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns the number of levels of detail that this mesh supports. 

\begin{DoxyRemark}{Remarks}
This number includes the original model. 
\end{DoxyRemark}


Referenced by Ogre\+::\+Lod0\+Stripifier\+::\+Strip\+Lod0\+Vertices(), and Ogre\+::\+Lod0\+Stripifier\+::$\sim$\+Lod0\+Stripifier().

\mbox{\Hypertarget{class_ogre_1_1_mesh_ad7a30ca70b402dc3499a3b2085cf6c92}\label{class_ogre_1_1_mesh_ad7a30ca70b402dc3499a3b2085cf6c92}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Lod\+Level@{get\+Lod\+Level}}
\index{get\+Lod\+Level@{get\+Lod\+Level}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Lod\+Level()}{getLodLevel()}}
{\footnotesize\ttfamily const \hyperlink{struct_ogre_1_1_mesh_lod_usage}{Mesh\+Lod\+Usage}\& Ogre\+::\+Mesh\+::get\+Lod\+Level (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{index }\end{DoxyParamCaption}) const}



Gets details of the numbered level of detail entry. 



Referenced by Ogre\+::\+Lod0\+Stripifier\+::\+Strip\+Lod0\+Vertices().

\mbox{\Hypertarget{class_ogre_1_1_mesh_addf84210687e8814fd1afd90ba137d5c}\label{class_ogre_1_1_mesh_addf84210687e8814fd1afd90ba137d5c}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Lod\+Index@{get\+Lod\+Index}}
\index{get\+Lod\+Index@{get\+Lod\+Index}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Lod\+Index()}{getLodIndex()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} Ogre\+::\+Mesh\+::get\+Lod\+Index (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{value }\end{DoxyParamCaption}) const}



Retrieves the level of detail index for the given L\+OD value. 

\begin{DoxyNote}{Note}
The value passed in is the \textquotesingle{}transformed\textquotesingle{} value. If you are dealing with an original source value (e.\+g. distance), use \hyperlink{class_ogre_1_1_lod_strategy_a60e9908806b839380729aae13b9a959a}{Lod\+Strategy\+::transform\+User\+Value} to turn this into a lookup value. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_mesh_af61e6415074e7334ec45cbf9727e866e}\label{class_ogre_1_1_mesh_af61e6415074e7334ec45cbf9727e866e}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!has\+Manual\+Lod\+Level@{has\+Manual\+Lod\+Level}}
\index{has\+Manual\+Lod\+Level@{has\+Manual\+Lod\+Level}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{has\+Manual\+Lod\+Level()}{hasManualLodLevel()}}
{\footnotesize\ttfamily bool Ogre\+::\+Mesh\+::has\+Manual\+Lod\+Level (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns true if this mesh has a manual L\+OD level. 

\begin{DoxyRemark}{Remarks}
A mesh can either use automatically generated L\+OD, or it can use alternative meshes as provided by an artist. 
\end{DoxyRemark}


Referenced by Ogre\+::\+Lod0\+Stripifier\+::\+Strip\+Lod0\+Vertices().

\mbox{\Hypertarget{class_ogre_1_1_mesh_ad2a825a0fc90a2c1168d35f074cf077d}\label{class_ogre_1_1_mesh_ad2a825a0fc90a2c1168d35f074cf077d}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!update\+Manual\+Lod\+Level@{update\+Manual\+Lod\+Level}}
\index{update\+Manual\+Lod\+Level@{update\+Manual\+Lod\+Level}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{update\+Manual\+Lod\+Level()}{updateManualLodLevel()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::update\+Manual\+Lod\+Level (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{index,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{mesh\+Name }\end{DoxyParamCaption})}



Changes the alternate mesh to use as a manual L\+OD at the given index. 

\begin{DoxyRemark}{Remarks}
Note that the index of a L\+OD may change if you insert other L\+O\+Ds. If in doubt, use \hyperlink{class_ogre_1_1_mesh_addf84210687e8814fd1afd90ba137d5c}{get\+Lod\+Index()}. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em index} & The index of the level to be changed. \\
\hline
{\em mesh\+Name} & The name of the mesh which will be the lower level detail version. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_afb7b4cf2de4c641b5122ac88fdd47c97}\label{class_ogre_1_1_mesh_afb7b4cf2de4c641b5122ac88fdd47c97}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+set\+Lod\+Info@{\+\_\+set\+Lod\+Info}}
\index{\+\_\+set\+Lod\+Info@{\+\_\+set\+Lod\+Info}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+set\+Lod\+Info()}{\_setLodInfo()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+set\+Lod\+Info (\begin{DoxyParamCaption}\item[{unsigned short}]{num\+Levels }\end{DoxyParamCaption})}



Internal methods for loading L\+OD, do not use. 



Referenced by Ogre\+::\+Lod0\+Stripifier\+::\+Strip\+Lod0\+Vertices().

\mbox{\Hypertarget{class_ogre_1_1_mesh_a01761982dd11eba29ba0457dada3333b}\label{class_ogre_1_1_mesh_a01761982dd11eba29ba0457dada3333b}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+set\+Lod\+Usage@{\+\_\+set\+Lod\+Usage}}
\index{\+\_\+set\+Lod\+Usage@{\+\_\+set\+Lod\+Usage}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+set\+Lod\+Usage()}{\_setLodUsage()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+set\+Lod\+Usage (\begin{DoxyParamCaption}\item[{unsigned short}]{level,  }\item[{const \hyperlink{struct_ogre_1_1_mesh_lod_usage}{Mesh\+Lod\+Usage} \&}]{usage }\end{DoxyParamCaption})}



Internal methods for loading L\+OD, do not use. 



Referenced by Ogre\+::\+Lod0\+Stripifier\+::\+Strip\+Lod0\+Vertices().

\mbox{\Hypertarget{class_ogre_1_1_mesh_a5fe1977e430d15bad166dbb405ad013b}\label{class_ogre_1_1_mesh_a5fe1977e430d15bad166dbb405ad013b}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+set\+Sub\+Mesh\+Lod\+Face\+List@{\+\_\+set\+Sub\+Mesh\+Lod\+Face\+List}}
\index{\+\_\+set\+Sub\+Mesh\+Lod\+Face\+List@{\+\_\+set\+Sub\+Mesh\+Lod\+Face\+List}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+set\+Sub\+Mesh\+Lod\+Face\+List()}{\_setSubMeshLodFaceList()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+set\+Sub\+Mesh\+Lod\+Face\+List (\begin{DoxyParamCaption}\item[{unsigned short}]{sub\+Idx,  }\item[{unsigned short}]{level,  }\item[{\hyperlink{class_ogre_1_1_index_data}{Index\+Data} $\ast$}]{facedata }\end{DoxyParamCaption})}



Internal methods for loading L\+OD, do not use. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a066549b4e1d9ca17e60d97fb8d5a5a33}\label{class_ogre_1_1_mesh_a066549b4e1d9ca17e60d97fb8d5a5a33}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+is\+Manual\+Lod\+Level@{\+\_\+is\+Manual\+Lod\+Level}}
\index{\+\_\+is\+Manual\+Lod\+Level@{\+\_\+is\+Manual\+Lod\+Level}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+is\+Manual\+Lod\+Level()}{\_isManualLodLevel()}}
{\footnotesize\ttfamily bool Ogre\+::\+Mesh\+::\+\_\+is\+Manual\+Lod\+Level (\begin{DoxyParamCaption}\item[{unsigned short}]{level }\end{DoxyParamCaption}) const}



Internal methods for loading L\+OD, do not use. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a02d5ed61b0b9c6bc5d3426a5fa99ac90}\label{class_ogre_1_1_mesh_a02d5ed61b0b9c6bc5d3426a5fa99ac90}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!remove\+Lod\+Levels@{remove\+Lod\+Levels}}
\index{remove\+Lod\+Levels@{remove\+Lod\+Levels}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{remove\+Lod\+Levels()}{removeLodLevels()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::remove\+Lod\+Levels (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Removes all L\+OD data from this \hyperlink{class_ogre_1_1_mesh}{Mesh}. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a9e0b552aa1bee96715a9d2eee4a295cd}\label{class_ogre_1_1_mesh_a9e0b552aa1bee96715a9d2eee4a295cd}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!set\+Hardware\+Buffer\+Manager@{set\+Hardware\+Buffer\+Manager}}
\index{set\+Hardware\+Buffer\+Manager@{set\+Hardware\+Buffer\+Manager}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{set\+Hardware\+Buffer\+Manager()}{setHardwareBufferManager()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::set\+Hardware\+Buffer\+Manager (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base}{Hardware\+Buffer\+Manager\+Base} $\ast$}]{buffer\+Manager }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets the manager for the vertex and index buffers to be used when loading this \hyperlink{class_ogre_1_1_mesh}{Mesh}. 

\begin{DoxyRemark}{Remarks}
By default, when loading the \hyperlink{class_ogre_1_1_mesh}{Mesh}, static, write-\/only vertex and index buffers will be used where possible in order to improve rendering performance. However, such buffers cannot be manipulated on the fly by C\+PU code (although shader code can). If you wish to use the C\+PU to modify these buffers and will never use it with G\+PU, you should call this method. Note, however, that it only takes effect after the \hyperlink{class_ogre_1_1_mesh}{Mesh} has been reloaded. Note that you still have the option of manually repacing the buffers in this mesh with your own if you see fit too, in which case you don\textquotesingle{}t need to call this method since it only affects buffers created by the mesh itself. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
You can define the approach to a \hyperlink{class_ogre_1_1_mesh}{Mesh} by changing the default parameters to \hyperlink{class_ogre_1_1_mesh_manager_a07fd12eda070c66d93fe696ab3899492}{Mesh\+Manager\+::load} if you wish; this means the \hyperlink{class_ogre_1_1_mesh}{Mesh} is loaded with those options the first time instead of you having to reload the mesh after changing these options. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em buffer\+Manager} & If set to {\ttfamily \hyperlink{class_ogre_1_1_default_hardware_buffer_manager}{Default\+Hardware\+Buffer\+Manager}}, the buffers will be created in system memory only, without hardware counterparts. Such mesh could not be rendered, but L\+O\+Ds could be generated for such mesh, it could be cloned, transformed and serialized. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a1be3adb33269e010e467eb8eb46f742b}\label{class_ogre_1_1_mesh_a1be3adb33269e010e467eb8eb46f742b}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Hardware\+Buffer\+Manager@{get\+Hardware\+Buffer\+Manager}}
\index{get\+Hardware\+Buffer\+Manager@{get\+Hardware\+Buffer\+Manager}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Hardware\+Buffer\+Manager()}{getHardwareBufferManager()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_hardware_buffer_manager_base}{Hardware\+Buffer\+Manager\+Base}$\ast$ Ogre\+::\+Mesh\+::get\+Hardware\+Buffer\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_mesh_ae128dc852bd40fa4ebdeced17ef60daa}\label{class_ogre_1_1_mesh_ae128dc852bd40fa4ebdeced17ef60daa}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!set\+Vertex\+Buffer\+Policy@{set\+Vertex\+Buffer\+Policy}}
\index{set\+Vertex\+Buffer\+Policy@{set\+Vertex\+Buffer\+Policy}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{set\+Vertex\+Buffer\+Policy()}{setVertexBufferPolicy()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::set\+Vertex\+Buffer\+Policy (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}}]{usage,  }\item[{bool}]{shadow\+Buffer = {\ttfamily false} }\end{DoxyParamCaption})}



Sets the policy for the vertex buffers to be used when loading this \hyperlink{class_ogre_1_1_mesh}{Mesh}. 

\begin{DoxyRemark}{Remarks}
By default, when loading the \hyperlink{class_ogre_1_1_mesh}{Mesh}, static, write-\/only vertex and index buffers will be used where possible in order to improve rendering performance. However, such buffers cannot be manipulated on the fly by C\+PU code (although shader code can). If you wish to use the C\+PU to modify these buffers, you should call this method. Note, however, that it only takes effect after the \hyperlink{class_ogre_1_1_mesh}{Mesh} has been reloaded. Note that you still have the option of manually repacing the buffers in this mesh with your own if you see fit too, in which case you don\textquotesingle{}t need to call this method since it only affects buffers created by the mesh itself. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
You can define the approach to a \hyperlink{class_ogre_1_1_mesh}{Mesh} by changing the default parameters to \hyperlink{class_ogre_1_1_mesh_manager_a07fd12eda070c66d93fe696ab3899492}{Mesh\+Manager\+::load} if you wish; this means the \hyperlink{class_ogre_1_1_mesh}{Mesh} is loaded with those options the first time instead of you having to reload the mesh after changing these options. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em usage} & The usage flags, which by default are \hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a5ffbb339becd31435c5f616be4c28996}{Hardware\+Buffer\+::\+H\+B\+U\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY} \\
\hline
{\em shadow\+Buffer} & If set to {\ttfamily true}, the vertex buffers will be created with a system memory shadow buffer. You should set this if you want to be able to read from the buffer, because reading from a hardware buffer is a no-\/no. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a59b3e51a70be90023f1adec878910e17}\label{class_ogre_1_1_mesh_a59b3e51a70be90023f1adec878910e17}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!set\+Index\+Buffer\+Policy@{set\+Index\+Buffer\+Policy}}
\index{set\+Index\+Buffer\+Policy@{set\+Index\+Buffer\+Policy}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{set\+Index\+Buffer\+Policy()}{setIndexBufferPolicy()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::set\+Index\+Buffer\+Policy (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}}]{usage,  }\item[{bool}]{shadow\+Buffer = {\ttfamily false} }\end{DoxyParamCaption})}



Sets the policy for the index buffers to be used when loading this \hyperlink{class_ogre_1_1_mesh}{Mesh}. 

\begin{DoxyRemark}{Remarks}
By default, when loading the \hyperlink{class_ogre_1_1_mesh}{Mesh}, static, write-\/only vertex and index buffers will be used where possible in order to improve rendering performance. However, such buffers cannot be manipulated on the fly by C\+PU code (although shader code can). If you wish to use the C\+PU to modify these buffers, you should call this method. Note, however, that it only takes effect after the \hyperlink{class_ogre_1_1_mesh}{Mesh} has been reloaded. Note that you still have the option of manually repacing the buffers in this mesh with your own if you see fit too, in which case you don\textquotesingle{}t need to call this method since it only affects buffers created by the mesh itself. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
You can define the approach to a \hyperlink{class_ogre_1_1_mesh}{Mesh} by changing the default parameters to \hyperlink{class_ogre_1_1_mesh_manager_a07fd12eda070c66d93fe696ab3899492}{Mesh\+Manager\+::load} if you wish; this means the \hyperlink{class_ogre_1_1_mesh}{Mesh} is loaded with those options the first time instead of you having to reload the mesh after changing these options. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em usage} & The usage flags, which by default are \hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630a5ffbb339becd31435c5f616be4c28996}{Hardware\+Buffer\+::\+H\+B\+U\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+W\+R\+I\+T\+E\+\_\+\+O\+N\+LY} \\
\hline
{\em shadow\+Buffer} & If set to {\ttfamily true}, the index buffers will be created with a system memory shadow buffer. You should set this if you want to be able to read from the buffer, because reading from a hardware buffer is a no-\/no. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a76cda9fbd7ed49e6a4344b9789581d29}\label{class_ogre_1_1_mesh_a76cda9fbd7ed49e6a4344b9789581d29}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Vertex\+Buffer\+Usage@{get\+Vertex\+Buffer\+Usage}}
\index{get\+Vertex\+Buffer\+Usage@{get\+Vertex\+Buffer\+Usage}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Vertex\+Buffer\+Usage()}{getVertexBufferUsage()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage} Ogre\+::\+Mesh\+::get\+Vertex\+Buffer\+Usage (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the usage setting for this meshes vertex buffers. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_af76cfb32787287070eefb7f42489f435}\label{class_ogre_1_1_mesh_af76cfb32787287070eefb7f42489f435}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Index\+Buffer\+Usage@{get\+Index\+Buffer\+Usage}}
\index{get\+Index\+Buffer\+Usage@{get\+Index\+Buffer\+Usage}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Index\+Buffer\+Usage()}{getIndexBufferUsage()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage} Ogre\+::\+Mesh\+::get\+Index\+Buffer\+Usage (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the usage setting for this meshes index buffers. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a8fdfe3cf4cfd8023fd305306c73004aa}\label{class_ogre_1_1_mesh_a8fdfe3cf4cfd8023fd305306c73004aa}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!is\+Vertex\+Buffer\+Shadowed@{is\+Vertex\+Buffer\+Shadowed}}
\index{is\+Vertex\+Buffer\+Shadowed@{is\+Vertex\+Buffer\+Shadowed}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{is\+Vertex\+Buffer\+Shadowed()}{isVertexBufferShadowed()}}
{\footnotesize\ttfamily bool Ogre\+::\+Mesh\+::is\+Vertex\+Buffer\+Shadowed (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets whether or not this meshes vertex buffers are shadowed. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_af37305346744be4480479e764036116f}\label{class_ogre_1_1_mesh_af37305346744be4480479e764036116f}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!is\+Index\+Buffer\+Shadowed@{is\+Index\+Buffer\+Shadowed}}
\index{is\+Index\+Buffer\+Shadowed@{is\+Index\+Buffer\+Shadowed}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{is\+Index\+Buffer\+Shadowed()}{isIndexBufferShadowed()}}
{\footnotesize\ttfamily bool Ogre\+::\+Mesh\+::is\+Index\+Buffer\+Shadowed (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets whether or not this meshes index buffers are shadowed. 



References Ogre\+::\+V\+E\+S\+\_\+\+T\+A\+N\+G\+E\+NT.

\mbox{\Hypertarget{class_ogre_1_1_mesh_a71ecbba89597f5b3138a5fde91362e27}\label{class_ogre_1_1_mesh_a71ecbba89597f5b3138a5fde91362e27}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+rationalise\+Bone\+Assignments@{\+\_\+rationalise\+Bone\+Assignments}}
\index{\+\_\+rationalise\+Bone\+Assignments@{\+\_\+rationalise\+Bone\+Assignments}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+rationalise\+Bone\+Assignments()}{\_rationaliseBoneAssignments()}}
{\footnotesize\ttfamily unsigned short Ogre\+::\+Mesh\+::\+\_\+rationalise\+Bone\+Assignments (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{vertex\+Count,  }\item[{\hyperlink{class_ogre_1_1_mesh_aed02a800a3f1fc668dd5da422a219ef8}{Vertex\+Bone\+Assignment\+List} \&}]{assignments }\end{DoxyParamCaption})}



Rationalises the passed in bone assignment list. 

\begin{DoxyRemark}{Remarks}
O\+G\+RE supports up to 4 bone assignments per vertex. The reason for this limit is that this is the maximum number of assignments that can be passed into a hardware-\/assisted blending algorithm. This method identifies where there are more than 4 bone assignments for a given vertex, and eliminates the bone assignments with the lowest weights to reduce to this limit. The remaining weights are then re-\/balanced to ensure that they sum to 1.\+0. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em vertex\+Count} & The number of vertices. \\
\hline
{\em assignments} & The bone assignment list to rationalise. This list will be modified and entries will be removed where the limits are exceeded. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The maximum number of bone assignments per vertex found, clamped to \mbox{[}1-\/4\mbox{]} 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a3eb5c9c7643dbfdfbf4c0d53af4308ef}\label{class_ogre_1_1_mesh_a3eb5c9c7643dbfdfbf4c0d53af4308ef}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+compile\+Bone\+Assignments@{\+\_\+compile\+Bone\+Assignments}}
\index{\+\_\+compile\+Bone\+Assignments@{\+\_\+compile\+Bone\+Assignments}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+compile\+Bone\+Assignments()}{\_compileBoneAssignments()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+compile\+Bone\+Assignments (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Internal method, be called once to compile bone assignments into geometry buffer. 

\begin{DoxyRemark}{Remarks}
The O\+G\+RE engine calls this method automatically. It compiles the information submitted as bone assignments into a format usable in realtime. It also eliminates excessive bone assignments (max is O\+G\+R\+E\+\_\+\+M\+A\+X\+\_\+\+B\+L\+E\+N\+D\+\_\+\+W\+E\+I\+G\+H\+TS) and re-\/normalises the remaining assignments. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_mesh_ac074f9b704766962ad9ddf8bc6f0cb29}\label{class_ogre_1_1_mesh_ac074f9b704766962ad9ddf8bc6f0cb29}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+update\+Compiled\+Bone\+Assignments@{\+\_\+update\+Compiled\+Bone\+Assignments}}
\index{\+\_\+update\+Compiled\+Bone\+Assignments@{\+\_\+update\+Compiled\+Bone\+Assignments}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+update\+Compiled\+Bone\+Assignments()}{\_updateCompiledBoneAssignments()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+update\+Compiled\+Bone\+Assignments (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Internal method, be called once to update the compiled bone assignments. 

\begin{DoxyRemark}{Remarks}
The O\+G\+RE engine calls this method automatically. It updates the compiled bone assignments if requested. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a9d9525a1266762908ba8327b2e8fa729}\label{class_ogre_1_1_mesh_a9d9525a1266762908ba8327b2e8fa729}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!merge\+Adjacent\+Texcoords@{merge\+Adjacent\+Texcoords}}
\index{merge\+Adjacent\+Texcoords@{merge\+Adjacent\+Texcoords}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{merge\+Adjacent\+Texcoords()}{mergeAdjacentTexcoords()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::merge\+Adjacent\+Texcoords (\begin{DoxyParamCaption}\item[{unsigned short}]{final\+Tex\+Coord\+Set,  }\item[{unsigned short}]{tex\+Coord\+Set\+To\+Destroy }\end{DoxyParamCaption})}



This method collapses two texcoords into one for all submeshes where this is possible. 

\begin{DoxyRemark}{Remarks}
Often a submesh can have two tex. coords. (i.\+e. T\+E\+X\+C\+O\+O\+R\+D0 \& T\+E\+X\+C\+O\+O\+R\+D1), being both composed of two floats. There are many practical reasons why it would be more convenient to merge both of them into one T\+E\+X\+C\+O\+O\+R\+D0 of 4 floats. This function does exactly that The final\+Tex\+Coord\+Set must have enough space for the merge, or else the submesh will be skipped. (i.\+e. you can\textquotesingle{}t merge a tex. coord with 3 floats with one having 2 floats)
\end{DoxyRemark}
final\+Tex\+Coord\+Set \& tex\+Coord\+Set\+To\+Destroy must be in the same buffer source, and must be adjacent. 
\begin{DoxyParams}{Parameters}
{\em final\+Tex\+Coord\+Set} & The tex. coord index to merge to. Should have enough space to actually work. \\
\hline
{\em tex\+Coord\+Set\+To\+Destroy} & The texture coordinate index that will disappear on successful merges. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_ab6390fa87d0109e9f1c7e44a5d602dbf}\label{class_ogre_1_1_mesh_ab6390fa87d0109e9f1c7e44a5d602dbf}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!build\+Tangent\+Vectors@{build\+Tangent\+Vectors}}
\index{build\+Tangent\+Vectors@{build\+Tangent\+Vectors}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{build\+Tangent\+Vectors()}{buildTangentVectors()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::build\+Tangent\+Vectors (\begin{DoxyParamCaption}\item[{\hyperlink{group___render_system_ga0a62b3f2ede8992ff365bb013a8bc00d}{Vertex\+Element\+Semantic}}]{target\+Semantic = {\ttfamily \hyperlink{group___render_system_gga0a62b3f2ede8992ff365bb013a8bc00da57d43012049b3ec7b4240b207dd029f2}{V\+E\+S\+\_\+\+T\+A\+N\+G\+E\+NT}},  }\item[{unsigned short}]{source\+Tex\+Coord\+Set = {\ttfamily 0},  }\item[{unsigned short}]{index = {\ttfamily 0},  }\item[{bool}]{split\+Mirrored = {\ttfamily false},  }\item[{bool}]{split\+Rotated = {\ttfamily false},  }\item[{bool}]{store\+Parity\+InW = {\ttfamily false} }\end{DoxyParamCaption})}



This method builds a set of tangent vectors for a given mesh into a 3D texture coordinate buffer. 

\begin{DoxyRemark}{Remarks}
Tangent vectors are vectors representing the local \textquotesingle{}X\textquotesingle{} axis for a given vertex based on the orientation of the 2D texture on the geometry. They are built from a combination of existing normals, and from the 2D texture coordinates already baked into the model. They can be used for a number of things, but most of all they are useful for vertex and fragment programs, when you wish to arrive at a common space for doing per-\/pixel calculations. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
The prerequisites for calling this method include that the vertex data used by every \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} has both vertex normals and 2D texture coordinates. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em target\+Semantic} & The semantic to store the tangents in. Defaults to the explicit tangent binding, but note that this is only usable on more modern hardware (Shader Model 2), so if you need portability with older cards you should change this to a texture coordinate binding instead. \\
\hline
{\em source\+Tex\+Coord\+Set} & The texture coordinate index which should be used as the source of 2D texture coordinates, with which to calculate the tangents. \\
\hline
{\em index} & The element index, ie the texture coordinate set which should be used to store the 3D coordinates representing a tangent vector per vertex, if target\+Semantic is V\+E\+S\+\_\+\+T\+E\+X\+T\+U\+R\+E\+\_\+\+C\+O\+O\+R\+D\+I\+N\+A\+T\+ES. If this already exists, it will be overwritten. \\
\hline
{\em split\+Mirrored} & Sets whether or not to split vertices when a mirrored tangent space transition is detected (matrix parity differs). \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_tangent_space_calc_a43107313dd9e1fefb5a0f0760792ac45}{Tangent\+Space\+Calc\+::set\+Split\+Mirrored} 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em split\+Rotated} & Sets whether or not to split vertices when a rotated tangent space is detected. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_tangent_space_calc_a3b9ef4ec951f3a95e40697d7c6637a7d}{Tangent\+Space\+Calc\+::set\+Split\+Rotated} 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em store\+Parity\+InW} & If {\ttfamily true}, store tangents as a 4-\/vector and include parity in w. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a6984c7229db58040770269710f5b2ac1}\label{class_ogre_1_1_mesh_a6984c7229db58040770269710f5b2ac1}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!suggest\+Tangent\+Vector\+Build\+Params@{suggest\+Tangent\+Vector\+Build\+Params}}
\index{suggest\+Tangent\+Vector\+Build\+Params@{suggest\+Tangent\+Vector\+Build\+Params}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{suggest\+Tangent\+Vector\+Build\+Params()}{suggestTangentVectorBuildParams()}}
{\footnotesize\ttfamily bool Ogre\+::\+Mesh\+::suggest\+Tangent\+Vector\+Build\+Params (\begin{DoxyParamCaption}\item[{\hyperlink{group___render_system_ga0a62b3f2ede8992ff365bb013a8bc00d}{Vertex\+Element\+Semantic}}]{target\+Semantic,  }\item[{unsigned short \&}]{out\+Source\+Coord\+Set,  }\item[{unsigned short \&}]{out\+Index }\end{DoxyParamCaption})}



Ask the mesh to suggest parameters to a future build\+Tangent\+Vectors call, should you wish to use texture coordinates to store the tangents. 

\begin{DoxyRemark}{Remarks}
This helper method will suggest source and destination texture coordinate sets for a call to build\+Tangent\+Vectors. It will detect when there are inappropriate conditions (such as multiple geometry sets which don\textquotesingle{}t agree). Moreover, it will return \textquotesingle{}true\textquotesingle{} if it detects that there are aleady 3D coordinates in the mesh, and therefore tangents may have been prepared already. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em target\+Semantic} & The semantic you intend to use to store the tangents if they are not already present; most likely options are V\+E\+S\+\_\+\+T\+E\+X\+T\+U\+R\+E\+\_\+\+C\+O\+O\+R\+D\+I\+N\+A\+T\+ES or V\+E\+S\+\_\+\+T\+A\+N\+G\+E\+NT; you should use texture coordinates if you want compatibility with older, pre-\/\+S\+M2 graphics cards, and the tangent binding otherwise. \\
\hline
{\em out\+Source\+Coord\+Set} & Reference to a source texture coordinate set which will be populated. \\
\hline
{\em out\+Index} & Reference to a destination element index (e.\+g. texture coord set) which will be populated \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a3b18cd2008a447fe5fac98d06a541994}\label{class_ogre_1_1_mesh_a3b18cd2008a447fe5fac98d06a541994}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!build\+Edge\+List@{build\+Edge\+List}}
\index{build\+Edge\+List@{build\+Edge\+List}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{build\+Edge\+List()}{buildEdgeList()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::build\+Edge\+List (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Builds an edge list for this mesh, which can be used for generating a shadow volume among other things. 



Referenced by Ogre\+::\+Lod0\+Stripifier\+::\+Strip\+Lod0\+Vertices().

\mbox{\Hypertarget{class_ogre_1_1_mesh_aeb87f5aedfc18527dc33ee2ab5e38e9c}\label{class_ogre_1_1_mesh_aeb87f5aedfc18527dc33ee2ab5e38e9c}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!free\+Edge\+List@{free\+Edge\+List}}
\index{free\+Edge\+List@{free\+Edge\+List}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{free\+Edge\+List()}{freeEdgeList()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::free\+Edge\+List (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Destroys and frees the edge lists this mesh has built. 



Referenced by Ogre\+::\+Lod0\+Stripifier\+::\+Strip\+Lod0\+Vertices().

\mbox{\Hypertarget{class_ogre_1_1_mesh_a2bab941572b0c00817c50a769b63e241}\label{class_ogre_1_1_mesh_a2bab941572b0c00817c50a769b63e241}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!prepare\+For\+Shadow\+Volume@{prepare\+For\+Shadow\+Volume}}
\index{prepare\+For\+Shadow\+Volume@{prepare\+For\+Shadow\+Volume}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{prepare\+For\+Shadow\+Volume()}{prepareForShadowVolume()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::prepare\+For\+Shadow\+Volume (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



This method prepares the mesh for generating a renderable shadow volume. 

\begin{DoxyRemark}{Remarks}
Preparing a mesh to generate a shadow volume involves firstly ensuring that the vertex buffer containing the positions for the mesh is a standalone vertex buffer, with no other components in it. This method will therefore break apart any existing vertex buffers this mesh holds if position is sharing a vertex buffer. Secondly, it will double the size of this vertex buffer so that there are 2 copies of the position data for the mesh. The first half is used for the original, and the second half is used for the \textquotesingle{}extruded\textquotesingle{} version of the mesh. The vertex count of the main \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} used to render the mesh will remain the same though, so as not to add any overhead to regular rendering of the object. Both copies of the position are required in one buffer because shadow volumes stretch from the original mesh to the extruded version. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Because shadow volumes are rendered in turn, no additional index buffer space is allocated by this method, a shared index buffer allocated by the shadow rendering algorithm is used for addressing this extended vertex buffer. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a9b73149110ea686c407107dc4dfdf6b1}\label{class_ogre_1_1_mesh_a9b73149110ea686c407107dc4dfdf6b1}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Edge\+List@{get\+Edge\+List}}
\index{get\+Edge\+List@{get\+Edge\+List}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Edge\+List()}{getEdgeList()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_edge_data}{Edge\+Data}$\ast$ Ogre\+::\+Mesh\+::get\+Edge\+List (\begin{DoxyParamCaption}\item[{unsigned short}]{lod\+Index = {\ttfamily 0} }\end{DoxyParamCaption})}



Return the edge list for this mesh, building it if required. 

\begin{DoxyRemark}{Remarks}
You must ensure that the \hyperlink{class_ogre_1_1_mesh}{Mesh} as been prepared for shadow volume rendering if you intend to use this information for that purpose. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em lod\+Index} & The L\+OD at which to get the edge list, 0 being the highest. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a01c03871718a7bad4dcde7ee1807f4e9}\label{class_ogre_1_1_mesh_a01c03871718a7bad4dcde7ee1807f4e9}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Edge\+List@{get\+Edge\+List}}
\index{get\+Edge\+List@{get\+Edge\+List}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Edge\+List()}{getEdgeList()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_edge_data}{Edge\+Data}$\ast$ Ogre\+::\+Mesh\+::get\+Edge\+List (\begin{DoxyParamCaption}\item[{unsigned short}]{lod\+Index = {\ttfamily 0} }\end{DoxyParamCaption}) const}



Return the edge list for this mesh, building it if required. 

\begin{DoxyRemark}{Remarks}
You must ensure that the \hyperlink{class_ogre_1_1_mesh}{Mesh} as been prepared for shadow volume rendering if you intend to use this information for that purpose. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em lod\+Index} & The L\+OD at which to get the edge list, 0 being the highest. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a4c588b89a9bd8e6fada3f7f38186a22e}\label{class_ogre_1_1_mesh_a4c588b89a9bd8e6fada3f7f38186a22e}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!is\+Prepared\+For\+Shadow\+Volumes@{is\+Prepared\+For\+Shadow\+Volumes}}
\index{is\+Prepared\+For\+Shadow\+Volumes@{is\+Prepared\+For\+Shadow\+Volumes}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{is\+Prepared\+For\+Shadow\+Volumes()}{isPreparedForShadowVolumes()}}
{\footnotesize\ttfamily bool Ogre\+::\+Mesh\+::is\+Prepared\+For\+Shadow\+Volumes (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns whether this mesh has already had it\textquotesingle{}s geometry prepared for use in rendering shadow volumes. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a331fef3569b8bf34d28f245bcb61f531}\label{class_ogre_1_1_mesh_a331fef3569b8bf34d28f245bcb61f531}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!is\+Edge\+List\+Built@{is\+Edge\+List\+Built}}
\index{is\+Edge\+List\+Built@{is\+Edge\+List\+Built}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{is\+Edge\+List\+Built()}{isEdgeListBuilt()}}
{\footnotesize\ttfamily bool Ogre\+::\+Mesh\+::is\+Edge\+List\+Built (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns whether this mesh has an attached edge list. 



Referenced by Ogre\+::\+Lod0\+Stripifier\+::\+Strip\+Lod0\+Vertices().

\mbox{\Hypertarget{class_ogre_1_1_mesh_a5219b5a94daa96cd93c9496b83ddab08}\label{class_ogre_1_1_mesh_a5219b5a94daa96cd93c9496b83ddab08}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!prepare\+Matrices\+For\+Vertex\+Blend@{prepare\+Matrices\+For\+Vertex\+Blend}}
\index{prepare\+Matrices\+For\+Vertex\+Blend@{prepare\+Matrices\+For\+Vertex\+Blend}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{prepare\+Matrices\+For\+Vertex\+Blend()}{prepareMatricesForVertexBlend()}}
{\footnotesize\ttfamily static void Ogre\+::\+Mesh\+::prepare\+Matrices\+For\+Vertex\+Blend (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_affine3}{Affine3} $\ast$$\ast$}]{blend\+Matrices,  }\item[{const \hyperlink{class_ogre_1_1_affine3}{Affine3} $\ast$}]{bone\+Matrices,  }\item[{const \hyperlink{class_ogre_1_1_mesh_a9394fdee4f4f3cc760d44fa165b088c2}{Index\+Map} \&}]{index\+Map }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Prepare matrices for software indexed vertex blend. 

\begin{DoxyRemark}{Remarks}
This function organise bone indexed matrices to blend indexed matrices, so software vertex blending can access to the matrix via blend index directly. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em blend\+Matrices} & Pointer to an array of matrix pointers to store prepared results, which indexed by blend index. \\
\hline
{\em bone\+Matrices} & Pointer to an array of matrices to be used to blend, which indexed by bone index. \\
\hline
{\em index\+Map} & The index map used to translate blend index to bone index. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_ae57798459c55a564d81097c2af35863a}\label{class_ogre_1_1_mesh_ae57798459c55a564d81097c2af35863a}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!software\+Vertex\+Blend@{software\+Vertex\+Blend}}
\index{software\+Vertex\+Blend@{software\+Vertex\+Blend}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{software\+Vertex\+Blend()}{softwareVertexBlend()}}
{\footnotesize\ttfamily static void Ogre\+::\+Mesh\+::software\+Vertex\+Blend (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$}]{source\+Vertex\+Data,  }\item[{const \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$}]{target\+Vertex\+Data,  }\item[{const \hyperlink{class_ogre_1_1_affine3}{Affine3} $\ast$const $\ast$}]{blend\+Matrices,  }\item[{size\+\_\+t}]{num\+Matrices,  }\item[{bool}]{blend\+Normals }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Performs a software indexed vertex blend, of the kind used for skeletal animation although it can be used for other purposes. 

\begin{DoxyRemark}{Remarks}
This function is supplied to update vertex data with blends done in software, either because no hardware support is available, or that you need the results of the blend for some other C\+PU operations. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em source\+Vertex\+Data} & \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} class containing positions, normals, blend indices and blend weights. \\
\hline
{\em target\+Vertex\+Data} & \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} class containing target position and normal buffers which will be updated with the blended versions. Note that the layout of the source and target position / normal buffers must be identical, ie they must use the same buffer indexes \\
\hline
{\em blend\+Matrices} & Pointer to an array of matrix pointers to be used to blend, indexed by blend indices in the source\+Vertex\+Data \\
\hline
{\em num\+Matrices} & Number of matrices in the blend\+Matrices, it might be used as a hint for optimisation. \\
\hline
{\em blend\+Normals} & If {\ttfamily true}, normals are blended as well as positions. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_af6df6730f0559aa78ef6e8eaa67bbc36}\label{class_ogre_1_1_mesh_af6df6730f0559aa78ef6e8eaa67bbc36}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!software\+Vertex\+Morph@{software\+Vertex\+Morph}}
\index{software\+Vertex\+Morph@{software\+Vertex\+Morph}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{software\+Vertex\+Morph()}{softwareVertexMorph()}}
{\footnotesize\ttfamily static void Ogre\+::\+Mesh\+::software\+Vertex\+Morph (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{t,  }\item[{const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&}]{b1,  }\item[{const \hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr} \&}]{b2,  }\item[{\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$}]{target\+Vertex\+Data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Performs a software vertex morph, of the kind used for morph animation although it can be used for other purposes. 

\begin{DoxyRemark}{Remarks}
This function will linearly interpolate positions between two source buffers, into a third buffer. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em t} & Parametric distance between the start and end buffer positions. \\
\hline
{\em b1} & Vertex buffer containing V\+E\+T\+\_\+\+F\+L\+O\+A\+T3 entries for the start positions. \\
\hline
{\em b2} & Vertex buffer containing V\+E\+T\+\_\+\+F\+L\+O\+A\+T3 entries for the end positions. \\
\hline
{\em target\+Vertex\+Data} & \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} destination; assumed to have a separate position buffer already bound, and the number of vertices must agree with the number in start and end \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a2401f255e53f67ad41c41aafbbe8dfe5}\label{class_ogre_1_1_mesh_a2401f255e53f67ad41c41aafbbe8dfe5}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!software\+Vertex\+Pose\+Blend@{software\+Vertex\+Pose\+Blend}}
\index{software\+Vertex\+Pose\+Blend@{software\+Vertex\+Pose\+Blend}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{software\+Vertex\+Pose\+Blend()}{softwareVertexPoseBlend()}}
{\footnotesize\ttfamily static void Ogre\+::\+Mesh\+::software\+Vertex\+Pose\+Blend (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{weight,  }\item[{const std\+::map$<$ size\+\_\+t, \hyperlink{class_ogre_1_1_vector3}{Vector3} $>$ \&}]{vertex\+Offset\+Map,  }\item[{const std\+::map$<$ size\+\_\+t, \hyperlink{class_ogre_1_1_vector3}{Vector3} $>$ \&}]{normals\+Map,  }\item[{\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$}]{target\+Vertex\+Data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Performs a software vertex pose blend, of the kind used for morph animation although it can be used for other purposes. 

\begin{DoxyRemark}{Remarks}
This function will apply a weighted offset to the positions in the incoming vertex data (therefore this is a read/write operation, and if you expect to call it more than once with the same data, then you would be best to suppress hardware uploads of the position buffer for the duration). 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em weight} & Parametric weight to scale the offsets by. \\
\hline
{\em vertex\+Offset\+Map} & Potentially sparse map of vertex index -\/$>$ offset. \\
\hline
{\em normals\+Map} & Potentially sparse map of vertex index -\/$>$ normal. \\
\hline
{\em target\+Vertex\+Data} & \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} destination; assumed to have a separate position buffer already bound, and the number of vertices must agree with the number in start and end. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a76e0ff1f11e7fe1856975879a26f830a}\label{class_ogre_1_1_mesh_a76e0ff1f11e7fe1856975879a26f830a}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Sub\+Mesh\+Name\+Map@{get\+Sub\+Mesh\+Name\+Map}}
\index{get\+Sub\+Mesh\+Name\+Map@{get\+Sub\+Mesh\+Name\+Map}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Sub\+Mesh\+Name\+Map()}{getSubMeshNameMap()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_mesh_a65db044c9760efd26f839025ebfa7a98}{Sub\+Mesh\+Name\+Map}\& Ogre\+::\+Mesh\+::get\+Sub\+Mesh\+Name\+Map (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets a reference to the optional name assignments of the Sub\+Meshes. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_ac4f3cb35c7eebbe35d5734c8e3682c7d}\label{class_ogre_1_1_mesh_ac4f3cb35c7eebbe35d5734c8e3682c7d}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!set\+Auto\+Build\+Edge\+Lists@{set\+Auto\+Build\+Edge\+Lists}}
\index{set\+Auto\+Build\+Edge\+Lists@{set\+Auto\+Build\+Edge\+Lists}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{set\+Auto\+Build\+Edge\+Lists()}{setAutoBuildEdgeLists()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::set\+Auto\+Build\+Edge\+Lists (\begin{DoxyParamCaption}\item[{bool}]{autobuild }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets whether or not this \hyperlink{class_ogre_1_1_mesh}{Mesh} should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided. 

\begin{DoxyRemark}{Remarks}
This allows you to create meshes which do not have edge lists calculated, because you never want to use them. This value defaults to \textquotesingle{}true\textquotesingle{} for mesh formats which did not include edge data, and \textquotesingle{}false\textquotesingle{} for newer formats, where edge lists are expected to have been generated in advance. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a822eb4b24327d48d1a2296ba2b45b01f}\label{class_ogre_1_1_mesh_a822eb4b24327d48d1a2296ba2b45b01f}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Auto\+Build\+Edge\+Lists@{get\+Auto\+Build\+Edge\+Lists}}
\index{get\+Auto\+Build\+Edge\+Lists@{get\+Auto\+Build\+Edge\+Lists}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Auto\+Build\+Edge\+Lists()}{getAutoBuildEdgeLists()}}
{\footnotesize\ttfamily bool Ogre\+::\+Mesh\+::get\+Auto\+Build\+Edge\+Lists (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Sets whether or not this \hyperlink{class_ogre_1_1_mesh}{Mesh} should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a22bcc255d120bdf3f98a94afc704dd16}\label{class_ogre_1_1_mesh_a22bcc255d120bdf3f98a94afc704dd16}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Shared\+Vertex\+Data\+Animation\+Type@{get\+Shared\+Vertex\+Data\+Animation\+Type}}
\index{get\+Shared\+Vertex\+Data\+Animation\+Type@{get\+Shared\+Vertex\+Data\+Animation\+Type}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Shared\+Vertex\+Data\+Animation\+Type()}{getSharedVertexDataAnimationType()}}
{\footnotesize\ttfamily virtual \hyperlink{group___animation_ga9046e6e0d12c46c57a9056987e9d158e}{Vertex\+Animation\+Type} Ogre\+::\+Mesh\+::get\+Shared\+Vertex\+Data\+Animation\+Type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Gets the type of vertex animation the shared vertex data of this mesh supports. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_ae1e3d5cc737c082595ebf61e2bdea693}\label{class_ogre_1_1_mesh_ae1e3d5cc737c082595ebf61e2bdea693}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Shared\+Vertex\+Data\+Animation\+Includes\+Normals@{get\+Shared\+Vertex\+Data\+Animation\+Includes\+Normals}}
\index{get\+Shared\+Vertex\+Data\+Animation\+Includes\+Normals@{get\+Shared\+Vertex\+Data\+Animation\+Includes\+Normals}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Shared\+Vertex\+Data\+Animation\+Includes\+Normals()}{getSharedVertexDataAnimationIncludesNormals()}}
{\footnotesize\ttfamily bool Ogre\+::\+Mesh\+::get\+Shared\+Vertex\+Data\+Animation\+Includes\+Normals (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns whether animation on shared vertex data includes normals. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a81f6bd4a02c67143c939da55bd35b1bc}\label{class_ogre_1_1_mesh_a81f6bd4a02c67143c939da55bd35b1bc}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!create\+Animation@{create\+Animation}}
\index{create\+Animation@{create\+Animation}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{create\+Animation()}{createAnimation()}}
{\footnotesize\ttfamily virtual \hyperlink{class_ogre_1_1_animation}{Animation}$\ast$ Ogre\+::\+Mesh\+::create\+Animation (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{length }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Creates a new \hyperlink{class_ogre_1_1_animation}{Animation} object for vertex animating this mesh. 


\begin{DoxyParams}{Parameters}
{\em name} & The name of this animation. \\
\hline
{\em length} & The length of the animation in seconds. \\
\hline
\end{DoxyParams}


Implements \hyperlink{class_ogre_1_1_animation_container_ac1469c7aff1e39df3e99a69ba99ff61f}{Ogre\+::\+Animation\+Container}.

\mbox{\Hypertarget{class_ogre_1_1_mesh_a99c5e25a135daa032869c0e5f2c964b5}\label{class_ogre_1_1_mesh_a99c5e25a135daa032869c0e5f2c964b5}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Animation@{get\+Animation}}
\index{get\+Animation@{get\+Animation}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Animation()}{getAnimation()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual \hyperlink{class_ogre_1_1_animation}{Animation}$\ast$ Ogre\+::\+Mesh\+::get\+Animation (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Returns the named vertex \hyperlink{class_ogre_1_1_animation}{Animation} object. 


\begin{DoxyParams}{Parameters}
{\em name} & The name of the animation. \\
\hline
\end{DoxyParams}


Implements \hyperlink{class_ogre_1_1_animation_container_a26d1ef5239d4ac29f68e825f8a7e70e2}{Ogre\+::\+Animation\+Container}.



Referenced by Ogre\+::\+Lod0\+Stripifier\+::\+Strip\+Lod0\+Vertices().

\mbox{\Hypertarget{class_ogre_1_1_mesh_a2d10fa0a49667fae266e9fdc9ad3f5ed}\label{class_ogre_1_1_mesh_a2d10fa0a49667fae266e9fdc9ad3f5ed}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+get\+Animation\+Impl@{\+\_\+get\+Animation\+Impl}}
\index{\+\_\+get\+Animation\+Impl@{\+\_\+get\+Animation\+Impl}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+get\+Animation\+Impl()}{\_getAnimationImpl()}}
{\footnotesize\ttfamily virtual \hyperlink{class_ogre_1_1_animation}{Animation}$\ast$ Ogre\+::\+Mesh\+::\+\_\+get\+Animation\+Impl (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Internal access to the named vertex \hyperlink{class_ogre_1_1_animation}{Animation} object -\/ returns null if it does not exist. 


\begin{DoxyParams}{Parameters}
{\em name} & The name of the animation. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a7c8b70b2c53108ebc963f08959855dde}\label{class_ogre_1_1_mesh_a7c8b70b2c53108ebc963f08959855dde}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!has\+Animation@{has\+Animation}}
\index{has\+Animation@{has\+Animation}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{has\+Animation()}{hasAnimation()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Mesh\+::has\+Animation (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Returns whether this mesh contains the named vertex animation. 



Implements \hyperlink{class_ogre_1_1_animation_container_ae31ca8ef4dfaa0904a9f5aa05e12e455}{Ogre\+::\+Animation\+Container}.

\mbox{\Hypertarget{class_ogre_1_1_mesh_a4caff2592e1e2b223cfe9f62843c5153}\label{class_ogre_1_1_mesh_a4caff2592e1e2b223cfe9f62843c5153}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!remove\+Animation@{remove\+Animation}}
\index{remove\+Animation@{remove\+Animation}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{remove\+Animation()}{removeAnimation()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Mesh\+::remove\+Animation (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Removes vertex \hyperlink{class_ogre_1_1_animation}{Animation} from this mesh. 



Implements \hyperlink{class_ogre_1_1_animation_container_abf8658873fe91d6010482248819740e8}{Ogre\+::\+Animation\+Container}.

\mbox{\Hypertarget{class_ogre_1_1_mesh_a8f8cad841ab891a46811361546105edb}\label{class_ogre_1_1_mesh_a8f8cad841ab891a46811361546105edb}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Num\+Animations@{get\+Num\+Animations}}
\index{get\+Num\+Animations@{get\+Num\+Animations}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Num\+Animations()}{getNumAnimations()}}
{\footnotesize\ttfamily virtual unsigned short Ogre\+::\+Mesh\+::get\+Num\+Animations (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Gets the number of morph animations in this mesh. 



Implements \hyperlink{class_ogre_1_1_animation_container_aa9a928534a786e5f345cc0595ded694c}{Ogre\+::\+Animation\+Container}.



Referenced by Ogre\+::\+Lod0\+Stripifier\+::\+Strip\+Lod0\+Vertices().

\mbox{\Hypertarget{class_ogre_1_1_mesh_a6150f4e5003c669db5f057c6d56a2feb}\label{class_ogre_1_1_mesh_a6150f4e5003c669db5f057c6d56a2feb}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Animation@{get\+Animation}}
\index{get\+Animation@{get\+Animation}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Animation()}{getAnimation()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual \hyperlink{class_ogre_1_1_animation}{Animation}$\ast$ Ogre\+::\+Mesh\+::get\+Animation (\begin{DoxyParamCaption}\item[{unsigned short}]{index }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Gets a single morph animation by index. 



Implements \hyperlink{class_ogre_1_1_animation_container_ab1f763d5e833e2759c96de43f3bbdab7}{Ogre\+::\+Animation\+Container}.

\mbox{\Hypertarget{class_ogre_1_1_mesh_ae1c65aa0e5a0e8f283392b8b814f2e7e}\label{class_ogre_1_1_mesh_ae1c65aa0e5a0e8f283392b8b814f2e7e}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!remove\+All\+Animations@{remove\+All\+Animations}}
\index{remove\+All\+Animations@{remove\+All\+Animations}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{remove\+All\+Animations()}{removeAllAnimations()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Mesh\+::remove\+All\+Animations (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Removes all morph Animations from this mesh. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a01c6a616fc14e149a1419dbf879cb51f}\label{class_ogre_1_1_mesh_a01c6a616fc14e149a1419dbf879cb51f}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Vertex\+Data\+By\+Track\+Handle@{get\+Vertex\+Data\+By\+Track\+Handle}}
\index{get\+Vertex\+Data\+By\+Track\+Handle@{get\+Vertex\+Data\+By\+Track\+Handle}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Vertex\+Data\+By\+Track\+Handle()}{getVertexDataByTrackHandle()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data}$\ast$ Ogre\+::\+Mesh\+::get\+Vertex\+Data\+By\+Track\+Handle (\begin{DoxyParamCaption}\item[{unsigned short}]{handle }\end{DoxyParamCaption})}



Gets a pointer to a vertex data element based on a morph animation track handle. 

\begin{DoxyRemark}{Remarks}
0 means the shared vertex data, 1+ means a submesh vertex data (index+1) 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a9eb681a705ada6268c567c553f897dbb}\label{class_ogre_1_1_mesh_a9eb681a705ada6268c567c553f897dbb}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!update\+Material\+For\+All\+Sub\+Meshes@{update\+Material\+For\+All\+Sub\+Meshes}}
\index{update\+Material\+For\+All\+Sub\+Meshes@{update\+Material\+For\+All\+Sub\+Meshes}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{update\+Material\+For\+All\+Sub\+Meshes()}{updateMaterialForAllSubMeshes()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::update\+Material\+For\+All\+Sub\+Meshes (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Iterates through all submeshes and requests them to apply their texture aliases to the material they use. 

\begin{DoxyRemark}{Remarks}
The submesh will only apply texture aliases to the material if matching texture alias names are found in the material. If a match is found, the submesh will automatically clone the original material and then apply its texture to the new material. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
This method is normally called by the protected method load\+Impl when a mesh if first loaded. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_mesh_ad79899dc7b98696ada9e40e19093c9f2}\label{class_ogre_1_1_mesh_ad79899dc7b98696ada9e40e19093c9f2}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+determine\+Animation\+Types@{\+\_\+determine\+Animation\+Types}}
\index{\+\_\+determine\+Animation\+Types@{\+\_\+determine\+Animation\+Types}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+determine\+Animation\+Types()}{\_determineAnimationTypes()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+determine\+Animation\+Types (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Internal method which, if animation types have not been determined, scans any vertex animations and determines the type for each set of vertex data (cannot have 2 different types). 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a6dd33650de67a9e980e161b413dea610}\label{class_ogre_1_1_mesh_a6dd33650de67a9e980e161b413dea610}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+get\+Animation\+Types\+Dirty@{\+\_\+get\+Animation\+Types\+Dirty}}
\index{\+\_\+get\+Animation\+Types\+Dirty@{\+\_\+get\+Animation\+Types\+Dirty}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+get\+Animation\+Types\+Dirty()}{\_getAnimationTypesDirty()}}
{\footnotesize\ttfamily bool Ogre\+::\+Mesh\+::\+\_\+get\+Animation\+Types\+Dirty (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Are the derived animation types out of date? 



References Ogre\+::\+B\+L\+A\+N\+K\+S\+T\+R\+I\+NG.

\mbox{\Hypertarget{class_ogre_1_1_mesh_a490a63868920721ceffae1b8b75402e2}\label{class_ogre_1_1_mesh_a490a63868920721ceffae1b8b75402e2}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!create\+Pose@{create\+Pose}}
\index{create\+Pose@{create\+Pose}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{create\+Pose()}{createPose()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_pose}{Pose}$\ast$ Ogre\+::\+Mesh\+::create\+Pose (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{target,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name = {\ttfamily \hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG}} }\end{DoxyParamCaption})}



Create a new \hyperlink{class_ogre_1_1_pose}{Pose} for this mesh or one of its submeshes. 


\begin{DoxyParams}{Parameters}
{\em target} & The target geometry index; 0 is the shared \hyperlink{class_ogre_1_1_mesh}{Mesh} geometry, 1+ is the dedicated \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} geometry belonging to submesh index + 1. \\
\hline
{\em name} & Name to give the pose, which is optional. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new \hyperlink{class_ogre_1_1_pose}{Pose} ready for population. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a027e9a253ea697890d3a963214ebc875}\label{class_ogre_1_1_mesh_a027e9a253ea697890d3a963214ebc875}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Pose\+Count@{get\+Pose\+Count}}
\index{get\+Pose\+Count@{get\+Pose\+Count}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Pose\+Count()}{getPoseCount()}}
{\footnotesize\ttfamily size\+\_\+t Ogre\+::\+Mesh\+::get\+Pose\+Count (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the number of poses. 

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000075}{Deprecated}]use \hyperlink{class_ogre_1_1_mesh_aedcb8861f049c9cc8acfb41e0dd4e006}{get\+Pose\+List()} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a135a1975880adbefbc02397081891b72}\label{class_ogre_1_1_mesh_a135a1975880adbefbc02397081891b72}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Pose@{get\+Pose}}
\index{get\+Pose@{get\+Pose}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Pose()}{getPose()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_pose}{Pose}$\ast$ Ogre\+::\+Mesh\+::get\+Pose (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{index }\end{DoxyParamCaption})}



Retrieve an existing \hyperlink{class_ogre_1_1_pose}{Pose} by index. 

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000076}{Deprecated}]use \hyperlink{class_ogre_1_1_mesh_aedcb8861f049c9cc8acfb41e0dd4e006}{get\+Pose\+List()} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a1bdbcad27bb6dfc402bc0db8dbf0b3d2}\label{class_ogre_1_1_mesh_a1bdbcad27bb6dfc402bc0db8dbf0b3d2}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Pose@{get\+Pose}}
\index{get\+Pose@{get\+Pose}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Pose()}{getPose()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_pose}{Pose}$\ast$ Ogre\+::\+Mesh\+::get\+Pose (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Retrieve an existing \hyperlink{class_ogre_1_1_pose}{Pose} by name. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a8222622d55eed71d40f6dd614cc43635}\label{class_ogre_1_1_mesh_a8222622d55eed71d40f6dd614cc43635}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!remove\+Pose@{remove\+Pose}}
\index{remove\+Pose@{remove\+Pose}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{remove\+Pose()}{removePose()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::remove\+Pose (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{index }\end{DoxyParamCaption})}



Destroy a pose by index. 

\begin{DoxyNote}{Note}
This will invalidate any animation tracks referring to this pose or those after it. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a702ffd1c825abfb5c2d643bb1e304fc2}\label{class_ogre_1_1_mesh_a702ffd1c825abfb5c2d643bb1e304fc2}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!remove\+Pose@{remove\+Pose}}
\index{remove\+Pose@{remove\+Pose}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{remove\+Pose()}{removePose()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::remove\+Pose (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Destroy a pose by name. 

\begin{DoxyNote}{Note}
This will invalidate any animation tracks referring to this pose or those after it. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a1e048f3a9183b6b371e31f1be79e3c06}\label{class_ogre_1_1_mesh_a1e048f3a9183b6b371e31f1be79e3c06}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!remove\+All\+Poses@{remove\+All\+Poses}}
\index{remove\+All\+Poses@{remove\+All\+Poses}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{remove\+All\+Poses()}{removeAllPoses()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::remove\+All\+Poses (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Destroy all poses. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a34437d0150cd4f97ee0080111ab5cb68}\label{class_ogre_1_1_mesh_a34437d0150cd4f97ee0080111ab5cb68}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Pose\+Iterator@{get\+Pose\+Iterator}}
\index{get\+Pose\+Iterator@{get\+Pose\+Iterator}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Pose\+Iterator()}{getPoseIterator()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_mesh_a78f32e7c485e681dce9422b69186960f}{Pose\+Iterator} Ogre\+::\+Mesh\+::get\+Pose\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get an iterator over all the poses defined. 

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000077}{Deprecated}]use \hyperlink{class_ogre_1_1_mesh_aedcb8861f049c9cc8acfb41e0dd4e006}{get\+Pose\+List()} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_mesh_aa1ca4eb37999e299b18cc55c5861b584}\label{class_ogre_1_1_mesh_aa1ca4eb37999e299b18cc55c5861b584}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Pose\+Iterator@{get\+Pose\+Iterator}}
\index{get\+Pose\+Iterator@{get\+Pose\+Iterator}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Pose\+Iterator()}{getPoseIterator()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_mesh_a1c651712526bfe4999f27c6c18ded1d9}{Const\+Pose\+Iterator} Ogre\+::\+Mesh\+::get\+Pose\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get an iterator over all the poses defined. 

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000078}{Deprecated}]use \hyperlink{class_ogre_1_1_mesh_aedcb8861f049c9cc8acfb41e0dd4e006}{get\+Pose\+List()} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_mesh_aedcb8861f049c9cc8acfb41e0dd4e006}\label{class_ogre_1_1_mesh_aedcb8861f049c9cc8acfb41e0dd4e006}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Pose\+List@{get\+Pose\+List}}
\index{get\+Pose\+List@{get\+Pose\+List}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Pose\+List()}{getPoseList()}}
{\footnotesize\ttfamily const \hyperlink{group___animation_ga8f03b49c53cbcc1d22f4ef3abfb5b1eb}{Pose\+List}\& Ogre\+::\+Mesh\+::get\+Pose\+List (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get pose list. 



Referenced by Ogre\+::\+Lod0\+Stripifier\+::\+Strip\+Lod0\+Vertices().

\mbox{\Hypertarget{class_ogre_1_1_mesh_a388a04209a76de3e9e3fafbc07d48683}\label{class_ogre_1_1_mesh_a388a04209a76de3e9e3fafbc07d48683}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Lod\+Strategy@{get\+Lod\+Strategy}}
\index{get\+Lod\+Strategy@{get\+Lod\+Strategy}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Lod\+Strategy()}{getLodStrategy()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy}$\ast$ Ogre\+::\+Mesh\+::get\+Lod\+Strategy (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Get L\+OD strategy used by this mesh. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a6e78a78bfa7e943cdfd88ad533a5a6c8}\label{class_ogre_1_1_mesh_a6e78a78bfa7e943cdfd88ad533a5a6c8}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!set\+Lod\+Strategy@{set\+Lod\+Strategy}}
\index{set\+Lod\+Strategy@{set\+Lod\+Strategy}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{set\+Lod\+Strategy()}{setLodStrategy()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::set\+Lod\+Strategy (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy} $\ast$}]{lod\+Strategy }\end{DoxyParamCaption})}



Set the lod strategy used by this mesh. 

\mbox{\Hypertarget{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}\label{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!prepare@{prepare}}
\index{prepare@{prepare}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{prepare()}{prepare()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::prepare (\begin{DoxyParamCaption}\item[{bool}]{background\+Thread = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Prepares the resource for load, if it is not already. 

One can call \hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()} before \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}, but this is not required as \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} will call \hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()} itself, if needed. When O\+G\+R\+E\+\_\+\+T\+H\+R\+E\+A\+D\+\_\+\+S\+U\+P\+P\+O\+RT==1 both \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} and \hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()} are thread-\/safe. When O\+G\+R\+E\+\_\+\+T\+H\+R\+E\+A\+D\+\_\+\+S\+U\+P\+P\+O\+RT==2 however, only \hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()} is thread-\/safe. The reason for this function is to allow a background thread to do some of the loading work, without requiring the whole render system to be thread-\/safe. The background thread would call \hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()} while the main render loop would later call \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}. So long as \hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()} remains thread-\/safe, subclasses can arbitrarily split the work of loading a resource between \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} and \hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}. It is best to try and do as much work in \hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}, however, since this will leave less work for the main render thread to do and thus increase F\+PS. 
\begin{DoxyParams}{Parameters}
{\em background\+Thread} & Whether this is occurring in a background thread \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}\label{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!load@{load}}
\index{load@{load}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{load()}{load()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::load (\begin{DoxyParamCaption}\item[{bool}]{background\+Thread = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Loads the resource, if it is not already. 

\begin{DoxyRemark}{Remarks}
If the resource is loaded from a file, loading is automatic. If not, if for example this resource gained it\textquotesingle{}s data from procedural calls rather than loading from a file, then this resource will not reload on it\textquotesingle{}s own. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em background\+Thread} & Indicates whether the caller of this method is the background resource loading thread. \\
\hline
\end{DoxyParams}


Reimplemented in \hyperlink{class_ogre_1_1_unified_high_level_gpu_program_a39d8ef352a44619ef8cdd93e152c9b5c}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a8eb34a9034aab62fd537c021a79e3366}\label{class_ogre_1_1_resource_a8eb34a9034aab62fd537c021a79e3366}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!is\+Reloadable@{is\+Reloadable}}
\index{is\+Reloadable@{is\+Reloadable}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{is\+Reloadable()}{isReloadable()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Resource\+::is\+Reloadable (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns true if the \hyperlink{class_ogre_1_1_resource}{Resource} is reloadable, false otherwise. 



Reimplemented in \hyperlink{class_ogre_1_1_unified_high_level_gpu_program_a957204efc949b9ad55562b9f8f4371f3}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a8f541900f7e1f73f4c313a732199029a}\label{class_ogre_1_1_resource_a8f541900f7e1f73f4c313a732199029a}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!is\+Manually\+Loaded@{is\+Manually\+Loaded}}
\index{is\+Manually\+Loaded@{is\+Manually\+Loaded}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{is\+Manually\+Loaded()}{isManuallyLoaded()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Resource\+::is\+Manually\+Loaded (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Is this resource manually loaded? 

\mbox{\Hypertarget{class_ogre_1_1_resource_aa31bef1bfaa87731622e56f11b548e27}\label{class_ogre_1_1_resource_aa31bef1bfaa87731622e56f11b548e27}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!unload@{unload}}
\index{unload@{unload}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{unload()}{unload()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::unload (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Unloads the resource; this is not permanent, the resource can be reloaded later if required. 



Reimplemented in \hyperlink{class_ogre_1_1_unified_high_level_gpu_program_aa2afd5199e4fb4f9e071bcc3b5805d52}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a0617d9f04ca03bd25f4bde201e6ac13b}\label{class_ogre_1_1_resource_a0617d9f04ca03bd25f4bde201e6ac13b}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Size@{get\+Size}}
\index{get\+Size@{get\+Size}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Size()}{getSize()}}
{\footnotesize\ttfamily virtual size\+\_\+t Ogre\+::\+Resource\+::get\+Size (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Retrieves info about the size of the resource. 



Reimplemented in \hyperlink{class_ogre_1_1_cg_program_a65a86c6f911a8ac4b0c6d7366fb44f26}{Ogre\+::\+Cg\+Program}, and \hyperlink{class_ogre_1_1_unified_high_level_gpu_program_ad501229700788396f71417c19f4990ee}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}.

\mbox{\Hypertarget{class_ogre_1_1_resource_ae229b1f58092109adef55bfc6f864d79}\label{class_ogre_1_1_resource_ae229b1f58092109adef55bfc6f864d79}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!touch@{touch}}
\index{touch@{touch}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{touch()}{touch()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::touch (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



\textquotesingle{}Touches\textquotesingle{} the resource to indicate it has been used. 



Reimplemented in \hyperlink{class_ogre_1_1_material_a340e9c6140a5b0f3467596712aa122a9}{Ogre\+::\+Material}, \hyperlink{class_ogre_1_1_cg_program_aa448e3603f9f6cad8cfe40818888227a}{Ogre\+::\+Cg\+Program}, and \hyperlink{class_ogre_1_1_unified_high_level_gpu_program_a682949c30fe1718d4514b25df77774c2}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}.



Referenced by Ogre\+::\+Material\+::touch().

\mbox{\Hypertarget{class_ogre_1_1_resource_a0646fba8aa0242c6b389d73f47ebe41b}\label{class_ogre_1_1_resource_a0646fba8aa0242c6b389d73f47ebe41b}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Name@{get\+Name}}
\index{get\+Name@{get\+Name}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Name()}{getName()}}
{\footnotesize\ttfamily virtual const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Resource\+::get\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Gets resource name. 



Reimplemented in \hyperlink{class_ogre_1_1_skeleton_instance_a7a09701fea2d613b196932b1227dab47}{Ogre\+::\+Skeleton\+Instance}.



Referenced by Ogre\+::\+Gpu\+Program\+Usage\+::get\+Program\+Name(), and Ogre\+Bites\+::\+Tray\+Manager\+::resource\+Load\+Started().

\mbox{\Hypertarget{class_ogre_1_1_resource_a2298551707debaf774d577e643ee856a}\label{class_ogre_1_1_resource_a2298551707debaf774d577e643ee856a}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Handle@{get\+Handle}}
\index{get\+Handle@{get\+Handle}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Handle()}{getHandle()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle} Ogre\+::\+Resource\+::get\+Handle (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Reimplemented in \hyperlink{class_ogre_1_1_skeleton_instance_ae6e32b49e6ec3cc795fc74a41eb379ad}{Ogre\+::\+Skeleton\+Instance}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a0779c46df96234b6619a5f57fbb36078}\label{class_ogre_1_1_resource_a0779c46df96234b6619a5f57fbb36078}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!is\+Prepared@{is\+Prepared}}
\index{is\+Prepared@{is\+Prepared}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{is\+Prepared()}{isPrepared()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Resource\+::is\+Prepared (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns true if the \hyperlink{class_ogre_1_1_resource}{Resource} has been prepared, false otherwise. 

\mbox{\Hypertarget{class_ogre_1_1_resource_a74138c0203835513613af73cdb08890d}\label{class_ogre_1_1_resource_a74138c0203835513613af73cdb08890d}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!is\+Loaded@{is\+Loaded}}
\index{is\+Loaded@{is\+Loaded}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{is\+Loaded()}{isLoaded()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Resource\+::is\+Loaded (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns true if the \hyperlink{class_ogre_1_1_resource}{Resource} has been loaded, false otherwise. 



Reimplemented in \hyperlink{class_ogre_1_1_unified_high_level_gpu_program_ac8bfe1f64106637c89ab949dc2d6c59d}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a3af26f716731b64850ea50cfa4d2edef}\label{class_ogre_1_1_resource_a3af26f716731b64850ea50cfa4d2edef}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!is\+Loading@{is\+Loading}}
\index{is\+Loading@{is\+Loading}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{is\+Loading()}{isLoading()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Resource\+::is\+Loading (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns whether the resource is currently in the process of background loading. 



Reimplemented in \hyperlink{class_ogre_1_1_unified_high_level_gpu_program_a9f416e82992b3803108a52bd9460cfdf}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a1e90ade99935ef70ec5b199243bf995b}\label{class_ogre_1_1_resource_a1e90ade99935ef70ec5b199243bf995b}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Loading\+State@{get\+Loading\+State}}
\index{get\+Loading\+State@{get\+Loading\+State}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Loading\+State()}{getLoadingState()}}
{\footnotesize\ttfamily virtual \hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}{Loading\+State} Ogre\+::\+Resource\+::get\+Loading\+State (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns the current loading state. 



Reimplemented in \hyperlink{class_ogre_1_1_unified_high_level_gpu_program_aa5cb2174294127eefbd4b6343c8107d8}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a60ce96525ac730a0f7b466ed287beef3}\label{class_ogre_1_1_resource_a60ce96525ac730a0f7b466ed287beef3}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!is\+Background\+Loaded@{is\+Background\+Loaded}}
\index{is\+Background\+Loaded@{is\+Background\+Loaded}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{is\+Background\+Loaded()}{isBackgroundLoaded()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Resource\+::is\+Background\+Loaded (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns whether this \hyperlink{class_ogre_1_1_resource}{Resource} has been earmarked for background loading. 

\begin{DoxyRemark}{Remarks}
This option only makes sense when you have built \hyperlink{namespace_ogre}{Ogre} with thread support (O\+G\+R\+E\+\_\+\+T\+H\+R\+E\+A\+D\+\_\+\+S\+U\+P\+P\+O\+RT). If a resource has been marked for background loading, then it won\textquotesingle{}t load on demand like normal when \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} is called. Instead, it will ignore request to \hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()} except if the caller indicates it is the background loader. \hyperlink{class_ogre_1_1_any}{Any} other users of this resource should check \hyperlink{class_ogre_1_1_resource_a74138c0203835513613af73cdb08890d}{is\+Loaded()}, and if that returns false, don\textquotesingle{}t use the resource and come back later. 
\end{DoxyRemark}


Reimplemented in \hyperlink{class_ogre_1_1_unified_high_level_gpu_program_a43c95218aea772dc8ff85b2dd65b8b26}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}.

\mbox{\Hypertarget{class_ogre_1_1_resource_ae0a0007de944eb3c2f933a372a752b35}\label{class_ogre_1_1_resource_ae0a0007de944eb3c2f933a372a752b35}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!set\+Background\+Loaded@{set\+Background\+Loaded}}
\index{set\+Background\+Loaded@{set\+Background\+Loaded}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{set\+Background\+Loaded()}{setBackgroundLoaded()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::set\+Background\+Loaded (\begin{DoxyParamCaption}\item[{bool}]{bl }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Tells the resource whether it is background loaded or not. 

\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_resource_a60ce96525ac730a0f7b466ed287beef3}{Resource\+::is\+Background\+Loaded}. Note that calling this only defers the normal on-\/demand loading behaviour of a resource, it does not actually \hyperlink{struct_ogre_1_1set}{set} up a thread to make sure the resource gets loaded in the background. You should use Resource\+Background\+Loading\+Queue to manage the actual loading (which will call this method itself). 
\end{DoxySeeAlso}


Reimplemented in \hyperlink{class_ogre_1_1_unified_high_level_gpu_program_adba65f42995100300f2983555f7214cc}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a367f6fe60bb211cb4c32e3825ca67e4c}\label{class_ogre_1_1_resource_a367f6fe60bb211cb4c32e3825ca67e4c}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!escalate\+Loading@{escalate\+Loading}}
\index{escalate\+Loading@{escalate\+Loading}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{escalate\+Loading()}{escalateLoading()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::escalate\+Loading (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Escalates the loading of a background loaded resource. 

\begin{DoxyRemark}{Remarks}
If a resource is set to load in the background, but something needs it before it\textquotesingle{}s been loaded, there could be a problem. If the user of this resource really can\textquotesingle{}t wait, they can escalate the loading which basically pulls the loading into the current thread immediately. If the resource is already being loaded but just hasn\textquotesingle{}t quite finished then this method will simply wait until the background load is complete. 
\end{DoxyRemark}


Reimplemented in \hyperlink{class_ogre_1_1_unified_high_level_gpu_program_a8b5b9e6fec77dfc8d7fde8eb8bf07dd9}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a5513ffce404b14cff72846318b018d32}\label{class_ogre_1_1_resource_a5513ffce404b14cff72846318b018d32}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!add\+Listener@{add\+Listener}}
\index{add\+Listener@{add\+Listener}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{add\+Listener()}{addListener()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::add\+Listener (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_resource_1_1_listener}{Listener} $\ast$}]{lis }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Register a listener on this resource. 

\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_resource_1_1_listener}{Resource\+::\+Listener} 
\end{DoxySeeAlso}


Reimplemented in \hyperlink{class_ogre_1_1_unified_high_level_gpu_program_aedc4baffb56b8c6dce5bcfa80bc869fd}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a3c49142f739ba8fb56d6e7b3db235fb7}\label{class_ogre_1_1_resource_a3c49142f739ba8fb56d6e7b3db235fb7}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!remove\+Listener@{remove\+Listener}}
\index{remove\+Listener@{remove\+Listener}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{remove\+Listener()}{removeListener()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::remove\+Listener (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_resource_1_1_listener}{Listener} $\ast$}]{lis }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Remove a listener on this resource. 

\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_resource_1_1_listener}{Resource\+::\+Listener} 
\end{DoxySeeAlso}


Reimplemented in \hyperlink{class_ogre_1_1_unified_high_level_gpu_program_ae4bdd44833d44f794e420d87ea529346}{Ogre\+::\+Unified\+High\+Level\+Gpu\+Program}.

\mbox{\Hypertarget{class_ogre_1_1_resource_a382919945c07a6a13136889ad3fbf578}\label{class_ogre_1_1_resource_a382919945c07a6a13136889ad3fbf578}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Group@{get\+Group}}
\index{get\+Group@{get\+Group}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Group()}{getGroup()}}
{\footnotesize\ttfamily virtual const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Resource\+::get\+Group (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Gets the group which this resource is a member of. 



Reimplemented in \hyperlink{class_ogre_1_1_skeleton_instance_a99b3a28bfb04ed9c75952c663515fc35}{Ogre\+::\+Skeleton\+Instance}.

\mbox{\Hypertarget{class_ogre_1_1_resource_aa5d6f3f7e73b77b233fc62b11f270e4d}\label{class_ogre_1_1_resource_aa5d6f3f7e73b77b233fc62b11f270e4d}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!change\+Group\+Ownership@{change\+Group\+Ownership}}
\index{change\+Group\+Ownership@{change\+Group\+Ownership}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{change\+Group\+Ownership()}{changeGroupOwnership()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::change\+Group\+Ownership (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{new\+Group }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Change the resource group ownership of a \hyperlink{class_ogre_1_1_resource}{Resource}. 

\begin{DoxyRemark}{Remarks}
This method is generally reserved for internal use, although if you really know what you\textquotesingle{}re doing you can use it to move this resource from one group to another. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em new\+Group} & Name of the new group \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_ab6e377a3964d566ea112fe63bf1d7678}\label{class_ogre_1_1_resource_ab6e377a3964d566ea112fe63bf1d7678}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Creator@{get\+Creator}}
\index{get\+Creator@{get\+Creator}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Creator()}{getCreator()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}$\ast$ Ogre\+::\+Resource\+::get\+Creator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets the manager which created this resource. 

\mbox{\Hypertarget{class_ogre_1_1_resource_a13423fa7944d7f2339e78b9de026c3be}\label{class_ogre_1_1_resource_a13423fa7944d7f2339e78b9de026c3be}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Origin@{get\+Origin}}
\index{get\+Origin@{get\+Origin}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Origin()}{getOrigin()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Resource\+::get\+Origin (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Get the origin of this resource, e.\+g. 

a script file name. \begin{DoxyRemark}{Remarks}
This property will only contain something if the creator of this resource chose to populate it. Script loaders are advised to populate it. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_resource_a7e248a1cca0662418d4ab3f63c2e7cf6}\label{class_ogre_1_1_resource_a7e248a1cca0662418d4ab3f63c2e7cf6}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+notify\+Origin@{\+\_\+notify\+Origin}}
\index{\+\_\+notify\+Origin@{\+\_\+notify\+Origin}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Origin()}{\_notifyOrigin()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+::\+\_\+notify\+Origin (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{origin }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Notify this resource of it\textquotesingle{}s origin. 

\mbox{\Hypertarget{class_ogre_1_1_resource_ade85e4d5579519e4117a84789c0ae8fd}\label{class_ogre_1_1_resource_ade85e4d5579519e4117a84789c0ae8fd}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+State\+Count@{get\+State\+Count}}
\index{get\+State\+Count@{get\+State\+Count}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+State\+Count()}{getStateCount()}}
{\footnotesize\ttfamily virtual size\+\_\+t Ogre\+::\+Resource\+::get\+State\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns the number of times this resource has changed state, which generally means the number of times it has been loaded. 

Objects that build derived data based on the resource can check this value against a copy they kept last time they built this derived data, in order to know whether it needs rebuilding. This is a nice way of monitoring changes without having a tightly-\/bound callback. \mbox{\Hypertarget{class_ogre_1_1_resource_afcb4a61b965600a67ca2c2f060821db9}\label{class_ogre_1_1_resource_afcb4a61b965600a67ca2c2f060821db9}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+dirty\+State@{\+\_\+dirty\+State}}
\index{\+\_\+dirty\+State@{\+\_\+dirty\+State}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+dirty\+State()}{\_dirtyState()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::\+\_\+dirty\+State (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Manually mark the state of this resource as having been changed. 

\begin{DoxyRemark}{Remarks}
You only need to call this from outside if you explicitly want derived objects to think this object has changed. 
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_resource_ade85e4d5579519e4117a84789c0ae8fd}{get\+State\+Count}. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_resource_aa68664db6b8723dc198beef3d21d4ef5}\label{class_ogre_1_1_resource_aa68664db6b8723dc198beef3d21d4ef5}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+fire\+Loading\+Complete@{\+\_\+fire\+Loading\+Complete}}
\index{\+\_\+fire\+Loading\+Complete@{\+\_\+fire\+Loading\+Complete}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+fire\+Loading\+Complete()}{\_fireLoadingComplete()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+::\+\_\+fire\+Loading\+Complete (\begin{DoxyParamCaption}\item[{bool}]{was\+Background\+Loaded }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Firing of loading complete event. 

\begin{DoxyRemark}{Remarks}
You should call this from the thread that runs the main frame loop to avoid having to make the receivers of this event thread-\/safe. If you use \hyperlink{namespace_ogre}{Ogre}\textquotesingle{}s built in frame loop you don\textquotesingle{}t need to call this yourself. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em was\+Background\+Loaded} & Whether this was a background loaded event \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_aaf63d096584ac7d97fe1d1b0226c9561}\label{class_ogre_1_1_resource_aaf63d096584ac7d97fe1d1b0226c9561}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+fire\+Preparing\+Complete@{\+\_\+fire\+Preparing\+Complete}}
\index{\+\_\+fire\+Preparing\+Complete@{\+\_\+fire\+Preparing\+Complete}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+fire\+Preparing\+Complete()}{\_firePreparingComplete()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+::\+\_\+fire\+Preparing\+Complete (\begin{DoxyParamCaption}\item[{bool}]{was\+Background\+Loaded }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Firing of preparing complete event. 

\begin{DoxyRemark}{Remarks}
You should call this from the thread that runs the main frame loop to avoid having to make the receivers of this event thread-\/safe. If you use \hyperlink{namespace_ogre}{Ogre}\textquotesingle{}s built in frame loop you don\textquotesingle{}t need to call this yourself. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em was\+Background\+Loaded} & Whether this was a background loaded event \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_resource_aaf3746937cd11864f53bc1c3b4437541}\label{class_ogre_1_1_resource_aaf3746937cd11864f53bc1c3b4437541}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!\+\_\+fire\+Unloading\+Complete@{\+\_\+fire\+Unloading\+Complete}}
\index{\+\_\+fire\+Unloading\+Complete@{\+\_\+fire\+Unloading\+Complete}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{\+\_\+fire\+Unloading\+Complete()}{\_fireUnloadingComplete()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+::\+\_\+fire\+Unloading\+Complete (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Firing of unloading complete event. 

\begin{DoxyRemark}{Remarks}
You should call this from the thread that runs the main frame loop to avoid having to make the receivers of this event thread-\/safe. If you use \hyperlink{namespace_ogre}{Ogre}\textquotesingle{}s built in frame loop you don\textquotesingle{}t need to call this yourself. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_string_interface_ae3e13925bde11db245f6c9bbf5031a93}\label{class_ogre_1_1_string_interface_ae3e13925bde11db245f6c9bbf5031a93}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Param\+Dictionary@{get\+Param\+Dictionary}}
\index{get\+Param\+Dictionary@{get\+Param\+Dictionary}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Param\+Dictionary()}{getParamDictionary()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_param_dictionary}{Param\+Dictionary}$\ast$ Ogre\+::\+String\+Interface\+::get\+Param\+Dictionary (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Retrieves the parameter dictionary for this class. 

\begin{DoxyRemark}{Remarks}
Only valid to call this after create\+Param\+Dictionary. 
\end{DoxyRemark}
\begin{DoxyReturn}{Returns}
Pointer to \hyperlink{class_ogre_1_1_param_dictionary}{Param\+Dictionary} shared by all instances of this class which you can add parameters to, retrieve parameters etc. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_string_interface_a0f55da0550a7e1ab70a1c8bf598a3e20}\label{class_ogre_1_1_string_interface_a0f55da0550a7e1ab70a1c8bf598a3e20}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Param\+Dictionary@{get\+Param\+Dictionary}}
\index{get\+Param\+Dictionary@{get\+Param\+Dictionary}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Param\+Dictionary()}{getParamDictionary()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_param_dictionary}{Param\+Dictionary}$\ast$ Ogre\+::\+String\+Interface\+::get\+Param\+Dictionary (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_string_interface_ad4b984bfbf148ddb3310b3d0ba8a9d5d}\label{class_ogre_1_1_string_interface_ad4b984bfbf148ddb3310b3d0ba8a9d5d}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Parameters@{get\+Parameters}}
\index{get\+Parameters@{get\+Parameters}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Parameters()}{getParameters()}}
{\footnotesize\ttfamily const \hyperlink{group___general_ga1838c2b0619ade1f5e29767062212872}{Parameter\+List}\& Ogre\+::\+String\+Interface\+::get\+Parameters (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Retrieves a list of parameters valid for this object. 

\begin{DoxyReturn}{Returns}
A reference to a static list of \hyperlink{class_ogre_1_1_parameter_def}{Parameter\+Def} objects. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_string_interface_a08d117bf25f011f96d81f1f4ecb25113}\label{class_ogre_1_1_string_interface_a08d117bf25f011f96d81f1f4ecb25113}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!set\+Parameter@{set\+Parameter}}
\index{set\+Parameter@{set\+Parameter}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{set\+Parameter()}{setParameter()}}
{\footnotesize\ttfamily bool Ogre\+::\+String\+Interface\+::set\+Parameter (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Generic parameter setting method. 

\begin{DoxyRemark}{Remarks}
Call this method with the name of a parameter and a string version of the value to set. The implementor will convert the string to a native type internally. If in doubt, check the parameter definition in the list returned from \hyperlink{class_ogre_1_1_string_interface_ad4b984bfbf148ddb3310b3d0ba8a9d5d}{String\+Interface\+::get\+Parameters}. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em name} & The name of the parameter to set \\
\hline
{\em value} & String value. Must be in the right format for the type specified in the parameter definition. See the \hyperlink{class_ogre_1_1_string_converter}{String\+Converter} class for more information. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if set was successful, false otherwise (NB no exceptions thrown -\/ tolerant method) 
\end{DoxyReturn}


Referenced by Ogre\+::\+String\+Interface\+::copy\+Parameters\+To().

\mbox{\Hypertarget{class_ogre_1_1_string_interface_a9aac32f93bd149a34b809a57a9f01f8f}\label{class_ogre_1_1_string_interface_a9aac32f93bd149a34b809a57a9f01f8f}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!set\+Parameter\+List@{set\+Parameter\+List}}
\index{set\+Parameter\+List@{set\+Parameter\+List}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{set\+Parameter\+List()}{setParameterList()}}
{\footnotesize\ttfamily void Ogre\+::\+String\+Interface\+::set\+Parameter\+List (\begin{DoxyParamCaption}\item[{const \hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List} \&}]{param\+List }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Generic multiple parameter setting method. 

\begin{DoxyRemark}{Remarks}
Call this method with a list of name / value pairs to set. The implementor will convert the string to a native type internally. If in doubt, check the parameter definition in the list returned from \hyperlink{class_ogre_1_1_string_interface_ad4b984bfbf148ddb3310b3d0ba8a9d5d}{String\+Interface\+::get\+Parameters}. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em param\+List} & Name/value pair list \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_string_interface_a1d078304c38a9f85d483fc8ed0cdf1fe}\label{class_ogre_1_1_string_interface_a1d078304c38a9f85d483fc8ed0cdf1fe}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!get\+Parameter@{get\+Parameter}}
\index{get\+Parameter@{get\+Parameter}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{get\+Parameter()}{getParameter()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} Ogre\+::\+String\+Interface\+::get\+Parameter (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Generic parameter retrieval method. 

\begin{DoxyRemark}{Remarks}
Call this method with the name of a parameter to retrieve a string-\/format value of the parameter in question. If in doubt, check the parameter definition in the list returned from get\+Parameters for the type of this parameter. If you like you can use \hyperlink{class_ogre_1_1_string_converter}{String\+Converter} to convert this string back into a native type. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em name} & The name of the parameter to get \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
String value of parameter, blank if not found 
\end{DoxyReturn}


References Ogre\+::\+Param\+Command\+::do\+Get().

\mbox{\Hypertarget{class_ogre_1_1_string_interface_aad68d8b18faad14e8286a67527094654}\label{class_ogre_1_1_string_interface_aad68d8b18faad14e8286a67527094654}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!copy\+Parameters\+To@{copy\+Parameters\+To}}
\index{copy\+Parameters\+To@{copy\+Parameters\+To}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{copy\+Parameters\+To()}{copyParametersTo()}}
{\footnotesize\ttfamily void Ogre\+::\+String\+Interface\+::copy\+Parameters\+To (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_string_interface}{String\+Interface} $\ast$}]{dest }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Method for copying this object\textquotesingle{}s parameters to another object. 

\begin{DoxyRemark}{Remarks}
This method takes the values of all the object\textquotesingle{}s parameters and tries to set the same values on the destination object. This provides a completely type independent way to copy parameters to other objects. Note that because of the String manipulation involved, this should not be regarded as an efficient process and should be saved for times outside of the rendering loop. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
\hyperlink{class_ogre_1_1_any}{Any} unrecognised parameters will be ignored as with set\+Parameter method. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em dest} & Pointer to object to have it\textquotesingle{}s parameters set the same as this object. \\
\hline
\end{DoxyParams}


References Ogre\+::\+String\+Interface\+::set\+Parameter().

\mbox{\Hypertarget{class_ogre_1_1_string_interface_a1bea65fa2b3c2ac5a9f3be59b46a80e8}\label{class_ogre_1_1_string_interface_a1bea65fa2b3c2ac5a9f3be59b46a80e8}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!cleanup\+Dictionary@{cleanup\+Dictionary}}
\index{cleanup\+Dictionary@{cleanup\+Dictionary}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{cleanup\+Dictionary()}{cleanupDictionary()}}
{\footnotesize\ttfamily static void Ogre\+::\+String\+Interface\+::cleanup\+Dictionary (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}



Cleans up the static \textquotesingle{}ms\+Dictionary\textquotesingle{} required to reset \hyperlink{namespace_ogre}{Ogre}, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the \hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} implementers (e.\+g. 

\hyperlink{class_ogre_1_1_material_manager}{Material\+Manager}) initializes. 

\subsection{Friends And Related Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a1d5fbbc16bf26f6a94d018b087d4db7e}\label{class_ogre_1_1_mesh_a1d5fbbc16bf26f6a94d018b087d4db7e}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Sub\+Mesh@{Sub\+Mesh}}
\index{Sub\+Mesh@{Sub\+Mesh}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Sub\+Mesh}{SubMesh}}
{\footnotesize\ttfamily friend class \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}\hspace{0.3cm}{\ttfamily [friend]}}

\mbox{\Hypertarget{class_ogre_1_1_mesh_a48305c54a01e0c7a3376ea0a077c467f}\label{class_ogre_1_1_mesh_a48305c54a01e0c7a3376ea0a077c467f}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Mesh\+Serializer\+Impl@{Mesh\+Serializer\+Impl}}
\index{Mesh\+Serializer\+Impl@{Mesh\+Serializer\+Impl}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Mesh\+Serializer\+Impl}{MeshSerializerImpl}}
{\footnotesize\ttfamily friend class Mesh\+Serializer\+Impl\hspace{0.3cm}{\ttfamily [friend]}}

\mbox{\Hypertarget{class_ogre_1_1_mesh_a3c0965927dcba841a012cf170ae91ecc}\label{class_ogre_1_1_mesh_a3c0965927dcba841a012cf170ae91ecc}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Mesh\+Serializer\+Impl\+\_\+v1\+\_\+8@{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+8}}
\index{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+8@{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+8}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+8}{MeshSerializerImpl\_v1\_8}}
{\footnotesize\ttfamily friend class Mesh\+Serializer\+Impl\+\_\+v1\+\_\+8\hspace{0.3cm}{\ttfamily [friend]}}

\mbox{\Hypertarget{class_ogre_1_1_mesh_a307213f805148c370557044b8f6b00fe}\label{class_ogre_1_1_mesh_a307213f805148c370557044b8f6b00fe}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Mesh\+Serializer\+Impl\+\_\+v1\+\_\+4@{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+4}}
\index{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+4@{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+4}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+4}{MeshSerializerImpl\_v1\_4}}
{\footnotesize\ttfamily friend class Mesh\+Serializer\+Impl\+\_\+v1\+\_\+4\hspace{0.3cm}{\ttfamily [friend]}}

\mbox{\Hypertarget{class_ogre_1_1_mesh_a670f31ebff5771e166c38a064836363e}\label{class_ogre_1_1_mesh_a670f31ebff5771e166c38a064836363e}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Mesh\+Serializer\+Impl\+\_\+v1\+\_\+3@{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+3}}
\index{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+3@{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+3}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+3}{MeshSerializerImpl\_v1\_3}}
{\footnotesize\ttfamily friend class Mesh\+Serializer\+Impl\+\_\+v1\+\_\+3\hspace{0.3cm}{\ttfamily [friend]}}

\mbox{\Hypertarget{class_ogre_1_1_mesh_ae60e96165c5d5495195fa0d49f031372}\label{class_ogre_1_1_mesh_ae60e96165c5d5495195fa0d49f031372}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Mesh\+Serializer\+Impl\+\_\+v1\+\_\+2@{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+2}}
\index{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+2@{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+2}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+2}{MeshSerializerImpl\_v1\_2}}
{\footnotesize\ttfamily friend class Mesh\+Serializer\+Impl\+\_\+v1\+\_\+2\hspace{0.3cm}{\ttfamily [friend]}}

\mbox{\Hypertarget{class_ogre_1_1_mesh_aef9901d67ded13a151aa3d4fde3a7b17}\label{class_ogre_1_1_mesh_aef9901d67ded13a151aa3d4fde3a7b17}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!Mesh\+Serializer\+Impl\+\_\+v1\+\_\+1@{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+1}}
\index{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+1@{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+1}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+1}{MeshSerializerImpl\_v1\_1}}
{\footnotesize\ttfamily friend class Mesh\+Serializer\+Impl\+\_\+v1\+\_\+1\hspace{0.3cm}{\ttfamily [friend]}}



\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a1fd9968ccd424f913a7f3f68639f3ecf}\label{class_ogre_1_1_mesh_a1fd9968ccd424f913a7f3f68639f3ecf}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!shared\+Vertex\+Data@{shared\+Vertex\+Data}}
\index{shared\+Vertex\+Data@{shared\+Vertex\+Data}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{shared\+Vertex\+Data}{sharedVertexData}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data}$\ast$ Ogre\+::\+Mesh\+::shared\+Vertex\+Data}



Shared vertex data. 

\begin{DoxyRemark}{Remarks}
This vertex data can be shared among multiple submeshes. Sub\+Meshes may not have their own \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data}, they may share this one. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
The use of shared or non-\/shared buffers is determined when model data is converted to the O\+G\+RE .mesh format. 
\end{DoxyParagraph}


Referenced by Ogre\+::\+Lod0\+Stripifier\+::\+Strip\+Lod0\+Vertices(), and Ogre\+::\+Lod0\+Stripifier\+::$\sim$\+Lod0\+Stripifier().

\mbox{\Hypertarget{class_ogre_1_1_mesh_aa9a6fc00032943a35fd293b5c664929e}\label{class_ogre_1_1_mesh_aa9a6fc00032943a35fd293b5c664929e}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!shared\+Blend\+Index\+To\+Bone\+Index\+Map@{shared\+Blend\+Index\+To\+Bone\+Index\+Map}}
\index{shared\+Blend\+Index\+To\+Bone\+Index\+Map@{shared\+Blend\+Index\+To\+Bone\+Index\+Map}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{shared\+Blend\+Index\+To\+Bone\+Index\+Map}{sharedBlendIndexToBoneIndexMap}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_mesh_a9394fdee4f4f3cc760d44fa165b088c2}{Index\+Map} Ogre\+::\+Mesh\+::shared\+Blend\+Index\+To\+Bone\+Index\+Map}



Shared index map for translating blend index to bone index. 

\begin{DoxyRemark}{Remarks}
This index map can be shared among multiple submeshes. Sub\+Meshes might not have their own Index\+Map, they might share this one. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
We collect actually used bones of all bone assignments, and build the blend index in \textquotesingle{}packed\textquotesingle{} form, then the range of the blend index in vertex data V\+E\+S\+\_\+\+B\+L\+E\+N\+D\+\_\+\+I\+N\+D\+I\+C\+ES element is continuous, with no gaps. Thus, by minimising the world matrix array constants passing to G\+PU, we can support more bones for a mesh when hardware skinning is used. The hardware skinning support limit is applied to each set of vertex data in the mesh, in other words, the hardware skinning support limit is applied only to the actually used bones of each Sub\+Meshes, not all bones across the entire \hyperlink{class_ogre_1_1_mesh}{Mesh}. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{}
Because the blend index is different to the bone index, therefore, we use the index map to translate the blend index to bone index. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{}
The use of shared or non-\/shared index map is determined when model data is converted to the O\+G\+RE .mesh format. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_resource_a104d9db8bfcff1f37b29157bbe070f7a}\label{class_ogre_1_1_resource_a104d9db8bfcff1f37b29157bbe070f7a}} 
\index{Ogre\+::\+Mesh@{Ogre\+::\+Mesh}!O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX@{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}}
\index{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX@{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}!Ogre\+::\+Mesh@{Ogre\+::\+Mesh}}
\subsubsection{\texorpdfstring{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}{OGRE\_AUTO\_MUTEX}}
{\footnotesize\ttfamily Ogre\+::\+Resource\+::\+O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX\hspace{0.3cm}{\ttfamily [inherited]}}



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