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


\mbox{\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}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef \mbox{\hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}}$<$ \mbox{\hyperlink{class_ogre_1_1_mesh_aed02a800a3f1fc668dd5da422a219ef8}{Vertex\+Bone\+Assignment\+List}} $>$ \mbox{\hyperlink{class_ogre_1_1_mesh_a87ffd99faf08ec80bd6932ac77381f3f}{Bone\+Assignment\+Iterator}}
\item 
typedef \mbox{\hyperlink{class_ogre_1_1_const_vector_iterator}{Const\+Vector\+Iterator}}$<$ \mbox{\hyperlink{group___animation_ga8f03b49c53cbcc1d22f4ef3abfb5b1eb}{Pose\+List}} $>$ \mbox{\hyperlink{class_ogre_1_1_mesh_a1c651712526bfe4999f27c6c18ded1d9}{Const\+Pose\+Iterator}}
\item 
typedef std\+::vector$<$ unsigned short $>$ \mbox{\hyperlink{class_ogre_1_1_mesh_a9394fdee4f4f3cc760d44fa165b088c2}{Index\+Map}}
\item 
enum \mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Loading\+Flags}} \{ \newline
\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94ab49695ac949df3a7d2e2f9a03267097c}{L\+F\+\_\+\+D\+E\+F\+A\+U\+LT}} = 0, 
\mbox{\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, 
\mbox{\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, 
\mbox{\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
\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}{Loading\+State}} \{ \newline
\mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca28d463296cacdfc115dbc3fb02d00e94}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+U\+N\+L\+O\+A\+D\+ED}}, 
\mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caf138fc9087e0dc755bff08a83720cbb5}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+I\+NG}}, 
\mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572caa38cbef7605fc4bff6da2f34599ace8f}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+L\+O\+A\+D\+ED}}, 
\mbox{\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
\mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572ca133a073b86c346096237063f99870fc1}{L\+O\+A\+D\+S\+T\+A\+T\+E\+\_\+\+P\+R\+E\+P\+A\+R\+ED}}, 
\mbox{\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$<$ \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} $>$ \mbox{\hyperlink{class_ogre_1_1_mesh_a6c2d57227cf44de50edabb8f428c6785}{Lod\+Value\+List}}
\item 
typedef std\+::vector$<$ \mbox{\hyperlink{struct_ogre_1_1_mesh_lod_usage}{Mesh\+Lod\+Usage}} $>$ \mbox{\hyperlink{class_ogre_1_1_mesh_a5895cc4a48a728812531f3cc90e40412}{Mesh\+Lod\+Usage\+List}}
\item 
typedef \mbox{\hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}}$<$ \mbox{\hyperlink{group___animation_ga8f03b49c53cbcc1d22f4ef3abfb5b1eb}{Pose\+List}} $>$ \mbox{\hyperlink{class_ogre_1_1_mesh_a78f32e7c485e681dce9422b69186960f}{Pose\+Iterator}}
\item 
typedef \mbox{\hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}}$<$ \mbox{\hyperlink{class_ogre_1_1_mesh_aadf4f5fb8b74f46ca0fe5dfb530a5f64}{Sub\+Mesh\+List}} $>$ \mbox{\hyperlink{class_ogre_1_1_mesh_ac3955099a61b444cb9a2e7e111a1f271}{Sub\+Mesh\+Iterator}}
\item 
typedef std\+::vector$<$ \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}} $\ast$ $>$ \mbox{\hyperlink{class_ogre_1_1_mesh_aadf4f5fb8b74f46ca0fe5dfb530a5f64}{Sub\+Mesh\+List}}
\item 
typedef std\+::unordered\+\_\+map$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}, \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} $>$ \mbox{\hyperlink{class_ogre_1_1_mesh_a65db044c9760efd26f839025ebfa7a98}{Sub\+Mesh\+Name\+Map}}
\begin{DoxyCompactList}\small\item\em A hashmap used to store optional \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}} names. \end{DoxyCompactList}\item 
typedef std\+::multimap$<$ size\+\_\+t, \mbox{\hyperlink{group___animation_gaf7318ddaeea193a759de6349554ec3a4}{Vertex\+Bone\+Assignment}} $>$ \mbox{\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}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_mesh_a0066a7e921528c059b23ec09d97b2507}{Mesh}} (\mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} $\ast$creator, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, \mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}} handle, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&group, bool is\+Manual=false, \mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$loader=0)
\begin{DoxyCompactList}\small\item\em Default constructor -\/ used by \mbox{\hyperlink{class_ogre_1_1_mesh_manager}{Mesh\+Manager}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_mesh_a4a5698435bfde9edd3f83db1b7fe6101}{$\sim$\+Mesh}} ()
\item 
void \mbox{\hyperlink{class_ogre_1_1_mesh_a085638dbd50713f5189d8cc59381c3aa}{\+\_\+calc\+Bounds\+From\+Vertex\+Buffer}} (\mbox{\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data}} $\ast$vertex\+Data, \mbox{\hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box}} \&out\+A\+A\+BB, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \&out\+Radius, bool update\+Only=false)
\begin{DoxyCompactList}\small\item\em Calculates. \end{DoxyCompactList}\item 
void \mbox{\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 \mbox{\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 \mbox{\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 \mbox{\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 \mbox{\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 \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_animation}{Animation}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_mesh_a2d10fa0a49667fae266e9fdc9ad3f5ed}{\+\_\+get\+Animation\+Impl}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name) const
\begin{DoxyCompactList}\small\item\em Internal access to the named vertex \mbox{\hyperlink{class_ogre_1_1_animation}{Animation}} object -\/ returns null if it does not exist. \end{DoxyCompactList}\item 
bool \mbox{\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 
\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} \mbox{\hyperlink{class_ogre_1_1_mesh_a9f56b65e4c2579bf44345e70ad3d6fc9}{\+\_\+get\+Sub\+Mesh\+Index}} (const \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_a84fbf8773bc1438f26e98a244e4b88a7}{\+\_\+init\+Animation\+State}} (\mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource_a7e248a1cca0662418d4ab3f63c2e7cf6}{\+\_\+notify\+Origin}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&origin)
\begin{DoxyCompactList}\small\item\em Notify this resource of it\textquotesingle{}s origin. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_mesh_a4445472a7c71fafe546d8108d3b121d6}{\+\_\+notify\+Skeleton}} (\mbox{\hyperlink{namespace_ogre_a4ea60aa36ac918eee430bd614be9d018}{Skeleton\+Ptr}} \&p\+Skel)
\begin{DoxyCompactList}\small\item\em Internal notification, used to tell the \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}} which \mbox{\hyperlink{class_ogre_1_1_skeleton}{Skeleton}} to use without loading it. \end{DoxyCompactList}\item 
unsigned short \mbox{\hyperlink{class_ogre_1_1_mesh_a71ecbba89597f5b3138a5fde91362e27}{\+\_\+rationalise\+Bone\+Assignments}} (size\+\_\+t vertex\+Count, \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_a76fc7c2a7118affafbbe7278aca8d3b9}{\+\_\+refresh\+Animation\+State}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_ac82f204a141bd90613fb38ed74f83c23}{\+\_\+set\+Bone\+Bounding\+Radius}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} radius)
\begin{DoxyCompactList}\small\item\em Manually set the bone bounding radius. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_mesh_a536a5cf66af30c4be1752a76083950a1}{\+\_\+set\+Bounding\+Sphere\+Radius}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} radius)
\begin{DoxyCompactList}\small\item\em Manually set the bounding radius. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_mesh_a8c40c34ec7c32009904c0cd730f68b5d}{\+\_\+set\+Bounds}} (const \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}}. \end{DoxyCompactList}\item 
void \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_a01761982dd11eba29ba0457dada3333b}{\+\_\+set\+Lod\+Usage}} (unsigned short level, const \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_a5fe1977e430d15bad166dbb405ad013b}{\+\_\+set\+Sub\+Mesh\+Lod\+Face\+List}} (unsigned short sub\+Idx, unsigned short level, \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}}. \end{DoxyCompactList}\item 
void \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_a05554a4e54cbb820a243f5b9f5967cc8}{add\+Bone\+Assignment}} (const \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource_a5513ffce404b14cff72846318b018d32}{add\+Listener}} (\mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_ab6390fa87d0109e9f1c7e44a5d602dbf}{build\+Tangent\+Vectors}} (\mbox{\hyperlink{group___render_system_ga0a62b3f2ede8992ff365bb013a8bc00d}{Vertex\+Element\+Semantic}} target\+Semantic=\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource_aa5d6f3f7e73b77b233fc62b11f270e4d}{change\+Group\+Ownership}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&new\+Group)
\begin{DoxyCompactList}\small\item\em Change the resource group ownership of a \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}}. \end{DoxyCompactList}\item 
void \mbox{\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 
\mbox{\hyperlink{namespace_ogre_a5c4c0c56ea9f824c49e331f6fad33ddb}{Mesh\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_mesh_af889e01f6ded554aa491bff2265dc963}{clone}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&new\+Name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&new\+Group=\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_string_interface_aad68d8b18faad14e8286a67527094654}{copy\+Parameters\+To}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_animation}{Animation}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_mesh_a81f6bd4a02c67143c939da55bd35b1bc}{create\+Animation}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} length)
\begin{DoxyCompactList}\small\item\em Creates a new \mbox{\hyperlink{class_ogre_1_1_animation}{Animation}} object for vertex animating this mesh. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_pose}{Pose}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_mesh_a490a63868920721ceffae1b8b75402e2}{create\+Pose}} (\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} target, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name=\mbox{\hyperlink{group___general_gad842a4b416bd2f3245d2b44826a0aedc}{B\+L\+A\+N\+K\+S\+T\+R\+I\+NG}})
\begin{DoxyCompactList}\small\item\em Create a new \mbox{\hyperlink{class_ogre_1_1_pose}{Pose}} for this mesh or one of its submeshes. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_mesh_a68b214fd444eafdf672bb45bd8e9b19a}{create\+Sub\+Mesh}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Creates a new \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}} and gives it a name. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_mesh_a23d5c021503b8fac8938be4ba956f2ce}{create\+Sub\+Mesh}} (void)
\begin{DoxyCompactList}\small\item\em Creates a new \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_mesh_aa17c84354f568f0ecc2b44448dd5436f}{destroy\+Sub\+Mesh}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Destroy a \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}} with the given name. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_mesh_a27eeabd7eb8282be7115a6c5944b0b0e}{destroy\+Sub\+Mesh}} (unsigned short index)
\begin{DoxyCompactList}\small\item\em Destroy a \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}} with the given index. \end{DoxyCompactList}\item 
virtual void \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_animation}{Animation}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_mesh_a99c5e25a135daa032869c0e5f2c964b5}{get\+Animation}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name) const
\begin{DoxyCompactList}\small\item\em Returns the named vertex \mbox{\hyperlink{class_ogre_1_1_animation}{Animation}} object. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{class_ogre_1_1_animation}{Animation}} $\ast$ \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_a822eb4b24327d48d1a2296ba2b45b01f}{get\+Auto\+Build\+Edge\+Lists}} (void) const
\begin{DoxyCompactList}\small\item\em Sets whether or not this \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_mesh_a87ffd99faf08ec80bd6932ac77381f3f}{Bone\+Assignment\+Iterator}} \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_aed02a800a3f1fc668dd5da422a219ef8}{Vertex\+Bone\+Assignment\+List}} \& \mbox{\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 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\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 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box}} \& \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} $\ast$ \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_edge_data}{Edge\+Data}} $\ast$ \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_edge_data}{Edge\+Data}} $\ast$ \mbox{\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 \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\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 \mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}} \mbox{\hyperlink{class_ogre_1_1_resource_a2298551707debaf774d577e643ee856a}{get\+Handle}} (void) const
\item 
\mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base}{Hardware\+Buffer\+Manager\+Base}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_mesh_a1be3adb33269e010e467eb8eb46f742b}{get\+Hardware\+Buffer\+Manager}} ()
\item 
\mbox{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}} \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}{Loading\+State}} \mbox{\hyperlink{class_ogre_1_1_resource_a1e90ade99935ef70ec5b199243bf995b}{get\+Loading\+State}} () const
\begin{DoxyCompactList}\small\item\em Returns the current loading state. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} \mbox{\hyperlink{class_ogre_1_1_mesh_addf84210687e8814fd1afd90ba137d5c}{get\+Lod\+Index}} (\mbox{\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 \mbox{\hyperlink{struct_ogre_1_1_mesh_lod_usage}{Mesh\+Lod\+Usage}} \& \mbox{\hyperlink{class_ogre_1_1_mesh_ad7a30ca70b402dc3499a3b2085cf6c92}{get\+Lod\+Level}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_lod_strategy}{Lod\+Strategy}} $\ast$ \mbox{\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 \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\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 \mbox{\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 
\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} \mbox{\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 \mbox{\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 \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_param_dictionary}{Param\+Dictionary}} $\ast$ \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_param_dictionary}{Param\+Dictionary}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_string_interface_a0f55da0550a7e1ab70a1c8bf598a3e20}{get\+Param\+Dictionary}} (void) const
\item 
\mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \mbox{\hyperlink{class_ogre_1_1_string_interface_a1d078304c38a9f85d483fc8ed0cdf1fe}{get\+Parameter}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name) const
\begin{DoxyCompactList}\small\item\em Generic parameter retrieval method. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group___general_ga1838c2b0619ade1f5e29767062212872}{Parameter\+List}} \& \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_pose}{Pose}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_mesh_a1bdbcad27bb6dfc402bc0db8dbf0b3d2}{get\+Pose}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Retrieve an existing \mbox{\hyperlink{class_ogre_1_1_pose}{Pose}} by name. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_pose}{Pose}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_mesh_a135a1975880adbefbc02397081891b72}{get\+Pose}} (\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} index)
\begin{DoxyCompactList}\small\item\em Retrieve an existing \mbox{\hyperlink{class_ogre_1_1_pose}{Pose}} by index. \end{DoxyCompactList}\item 
size\+\_\+t \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_mesh_a78f32e7c485e681dce9422b69186960f}{Pose\+Iterator}} \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_mesh_a1c651712526bfe4999f27c6c18ded1d9}{Const\+Pose\+Iterator}} \mbox{\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 \mbox{\hyperlink{group___animation_ga8f03b49c53cbcc1d22f4ef3abfb5b1eb}{Pose\+List}} \& \mbox{\hyperlink{class_ogre_1_1_mesh_aedcb8861f049c9cc8acfb41e0dd4e006}{get\+Pose\+List}} (void) const
\begin{DoxyCompactList}\small\item\em Get pose list. \end{DoxyCompactList}\item 
bool \mbox{\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 \mbox{\hyperlink{group___animation_ga9046e6e0d12c46c57a9056987e9d158e}{Vertex\+Animation\+Type}} \mbox{\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 \mbox{\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 \mbox{\hyperlink{namespace_ogre_a4ea60aa36ac918eee430bd614be9d018}{Skeleton\+Ptr}} \& \mbox{\hyperlink{class_ogre_1_1_mesh_a48ff9ffaffb6b7fdc990499df8c6d7bf}{get\+Skeleton}} (void) const
\begin{DoxyCompactList}\small\item\em Gets a pointer to any linked \mbox{\hyperlink{class_ogre_1_1_skeleton}{Skeleton}}. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_mesh_a5fc9a950c850c09247ad07d44cfd88ac}{get\+Skeleton\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the name of any linked \mbox{\hyperlink{class_ogre_1_1_skeleton}{Skeleton}}. \end{DoxyCompactList}\item 
virtual size\+\_\+t \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_mesh_a296b0321c2a02fa7ae3ee0aa36f66428}{get\+Sub\+Mesh}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name) const
\begin{DoxyCompactList}\small\item\em Gets a \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}} by name. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}} $\ast$ \mbox{\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 
const \mbox{\hyperlink{class_ogre_1_1_mesh_aadf4f5fb8b74f46ca0fe5dfb530a5f64}{Sub\+Mesh\+List}} \& \mbox{\hyperlink{class_ogre_1_1_mesh_ae698a8fa599193df36bafd93837ad01c}{get\+Sub\+Meshes}} () const
\begin{DoxyCompactList}\small\item\em Gets the available submeshes. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_mesh_ac3955099a61b444cb9a2e7e111a1f271}{Sub\+Mesh\+Iterator}} \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_a65db044c9760efd26f839025ebfa7a98}{Sub\+Mesh\+Name\+Map}} \& \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_hardware_buffer_ae51f5970d879af736e4cf53e1ec46630}{Hardware\+Buffer\+::\+Usage}} \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data}} $\ast$ \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_a7c8b70b2c53108ebc963f08959855dde}{has\+Animation}} (const \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_abda741ea76979cf0e4d43eced5dece25}{has\+Skeleton}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if this \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}} has a linked \mbox{\hyperlink{class_ogre_1_1_skeleton}{Skeleton}}. \end{DoxyCompactList}\item 
bool \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource_a60ce96525ac730a0f7b466ed287beef3}{is\+Background\+Loaded}} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether this \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} has been earmarked for background loading. \end{DoxyCompactList}\item 
bool \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource_a74138c0203835513613af73cdb08890d}{is\+Loaded}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} has been loaded, false otherwise. \end{DoxyCompactList}\item 
virtual bool \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource_a0779c46df96234b6619a5f57fbb36078}{is\+Prepared}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} has been prepared, false otherwise. \end{DoxyCompactList}\item 
bool \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource_a8eb34a9034aab62fd537c021a79e3366}{is\+Reloadable}} (void) const
\begin{DoxyCompactList}\small\item\em Returns true if the \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} is reloadable, false otherwise. \end{DoxyCompactList}\item 
bool \mbox{\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 \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_a961a5ebb441004ca098a468eb5bd0369}{name\+Sub\+Mesh}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} index)
\begin{DoxyCompactList}\small\item\em Gives a name to a \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}}. \end{DoxyCompactList}\item 
virtual void \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_adca1dc667f145d4a4132811eaadf324f}{reload}} (\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Loading\+Flags}} flags=\mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_a1e048f3a9183b6b371e31f1be79e3c06}{remove\+All\+Poses}} (void)
\begin{DoxyCompactList}\small\item\em Destroy all poses. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_mesh_a4caff2592e1e2b223cfe9f62843c5153}{remove\+Animation}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Removes vertex \mbox{\hyperlink{class_ogre_1_1_animation}{Animation}} from this mesh. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_resource_a3c49142f739ba8fb56d6e7b3db235fb7}{remove\+Listener}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_a02d5ed61b0b9c6bc5d3426a5fa99ac90}{remove\+Lod\+Levels}} (void)
\begin{DoxyCompactList}\small\item\em Removes all L\+OD data from this \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_mesh_a702ffd1c825abfb5c2d643bb1e304fc2}{remove\+Pose}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Destroy a pose by name. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_mesh_a8222622d55eed71d40f6dd614cc43635}{remove\+Pose}} (\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} index)
\begin{DoxyCompactList}\small\item\em Destroy a pose by index. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_mesh_ac4f3cb35c7eebbe35d5734c8e3682c7d}{set\+Auto\+Build\+Edge\+Lists}} (bool autobuild)
\begin{DoxyCompactList}\small\item\em Sets whether or not this \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_a9e0b552aa1bee96715a9d2eee4a295cd}{set\+Hardware\+Buffer\+Manager}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_mesh_a59b3e51a70be90023f1adec878910e17}{set\+Index\+Buffer\+Policy}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_mesh_a6e78a78bfa7e943cdfd88ad533a5a6c8}{set\+Lod\+Strategy}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_string_interface_a08d117bf25f011f96d81f1f4ecb25113}{set\+Parameter}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&value)
\begin{DoxyCompactList}\small\item\em Generic parameter setting method. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_string_interface_a9aac32f93bd149a34b809a57a9f01f8f}{set\+Parameter\+List}} (const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} \&param\+List)
\begin{DoxyCompactList}\small\item\em Generic multiple parameter setting method. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_mesh_a234be061da55bc8435401b6875770214}{set\+Skeleton\+Name}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&skel\+Name)
\begin{DoxyCompactList}\small\item\em Sets the name of the skeleton this \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}} uses for animation. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_mesh_ae128dc852bd40fa4ebdeced17ef60daa}{set\+Vertex\+Buffer\+Policy}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}}. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_mesh_a6984c7229db58040770269710f5b2ac1}{suggest\+Tangent\+Vector\+Build\+Params}} (\mbox{\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 \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_a682e7d93150b71e6a5b6a8d638729127}{unname\+Sub\+Mesh}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Removes a name from a \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_mesh_ad2a825a0fc90a2c1168d35f074cf077d}{update\+Manual\+Lod\+Level}} (\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} index, const \mbox{\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 \mbox{\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}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \mbox{\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 \mbox{\hyperlink{namespace_ogre}{Ogre}}, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the \mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} implementers (e.\+g. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{class_ogre_1_1_mesh_a5219b5a94daa96cd93c9496b83ddab08}{prepare\+Matrices\+For\+Vertex\+Blend}} (const \mbox{\hyperlink{class_ogre_1_1_affine3}{Affine3}} $\ast$$\ast$blend\+Matrices, const \mbox{\hyperlink{class_ogre_1_1_affine3}{Affine3}} $\ast$bone\+Matrices, const \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_ae57798459c55a564d81097c2af35863a}{software\+Vertex\+Blend}} (const \mbox{\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data}} $\ast$source\+Vertex\+Data, const \mbox{\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data}} $\ast$target\+Vertex\+Data, const \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_af6df6730f0559aa78ef6e8eaa67bbc36}{software\+Vertex\+Morph}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} t, const \mbox{\hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr}} \&b1, const \mbox{\hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr}} \&b2, \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh_a2401f255e53f67ad41c41aafbbe8dfe5}{software\+Vertex\+Pose\+Blend}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} weight, const std\+::map$<$ size\+\_\+t, \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} $>$ \&vertex\+Offset\+Map, const std\+::map$<$ size\+\_\+t, \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} $>$ \&normals\+Map, \mbox{\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}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_resource_a104d9db8bfcff1f37b29157bbe070f7a}{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}}
\item 
\mbox{\hyperlink{class_ogre_1_1_mesh_a9394fdee4f4f3cc760d44fa165b088c2}{Index\+Map}} \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_mesh_a1fd9968ccd424f913a7f3f68639f3ecf}{shared\+Vertex\+Data}}
\begin{DoxyCompactList}\small\item\em Shared vertex data. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{class_ogre_1_1_mesh_a48305c54a01e0c7a3376ea0a077c467f}{Mesh\+Serializer\+Impl}}
\item 
class \mbox{\hyperlink{class_ogre_1_1_mesh_aef9901d67ded13a151aa3d4fde3a7b17}{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+1}}
\item 
class \mbox{\hyperlink{class_ogre_1_1_mesh_ae60e96165c5d5495195fa0d49f031372}{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+2}}
\item 
class \mbox{\hyperlink{class_ogre_1_1_mesh_a670f31ebff5771e166c38a064836363e}{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+3}}
\item 
class \mbox{\hyperlink{class_ogre_1_1_mesh_a307213f805148c370557044b8f6b00fe}{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+4}}
\item 
class \mbox{\hyperlink{class_ogre_1_1_mesh_a3c0965927dcba841a012cf170ae91ecc}{Mesh\+Serializer\+Impl\+\_\+v1\+\_\+8}}
\item 
class \mbox{\hyperlink{class_ogre_1_1_mesh_a1d5fbbc16bf26f6a94d018b087d4db7e}{Sub\+Mesh}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\mbox{\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. \mbox{\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 \mbox{\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 \mbox{\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 \mbox{\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}


\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a6c2d57227cf44de50edabb8f428c6785}\label{class_ogre_1_1_mesh_a6c2d57227cf44de50edabb8f428c6785}} 
\index{Ogre::Mesh@{Ogre::Mesh}!LodValueList@{LodValueList}}
\index{LodValueList@{LodValueList}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{LodValueList}{LodValueList}}
{\footnotesize\ttfamily typedef std\+::vector$<$\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}$>$ \mbox{\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}!MeshLodUsageList@{MeshLodUsageList}}
\index{MeshLodUsageList@{MeshLodUsageList}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{MeshLodUsageList}{MeshLodUsageList}}
{\footnotesize\ttfamily typedef std\+::vector$<$\mbox{\hyperlink{struct_ogre_1_1_mesh_lod_usage}{Mesh\+Lod\+Usage}}$>$ \mbox{\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}!VertexBoneAssignmentList@{VertexBoneAssignmentList}}
\index{VertexBoneAssignmentList@{VertexBoneAssignmentList}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{VertexBoneAssignmentList}{VertexBoneAssignmentList}}
{\footnotesize\ttfamily typedef std\+::multimap$<$size\+\_\+t, \mbox{\hyperlink{group___animation_gaf7318ddaeea193a759de6349554ec3a4}{Vertex\+Bone\+Assignment}}$>$ \mbox{\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}!BoneAssignmentIterator@{BoneAssignmentIterator}}
\index{BoneAssignmentIterator@{BoneAssignmentIterator}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{BoneAssignmentIterator}{BoneAssignmentIterator}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{class_ogre_1_1_map_iterator}{Map\+Iterator}}$<$\mbox{\hyperlink{class_ogre_1_1_mesh_aed02a800a3f1fc668dd5da422a219ef8}{Vertex\+Bone\+Assignment\+List}}$>$ \mbox{\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}!SubMeshList@{SubMeshList}}
\index{SubMeshList@{SubMeshList}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{SubMeshList}{SubMeshList}}
{\footnotesize\ttfamily typedef std\+::vector$<$\mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}}$\ast$$>$ \mbox{\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}!IndexMap@{IndexMap}}
\index{IndexMap@{IndexMap}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{IndexMap}{IndexMap}}
{\footnotesize\ttfamily typedef std\+::vector$<$unsigned short$>$ \mbox{\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}!SubMeshNameMap@{SubMeshNameMap}}
\index{SubMeshNameMap@{SubMeshNameMap}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{SubMeshNameMap}{SubMeshNameMap}}
{\footnotesize\ttfamily typedef std\+::unordered\+\_\+map$<$\mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}, \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}$>$ \mbox{\hyperlink{class_ogre_1_1_mesh_a65db044c9760efd26f839025ebfa7a98}{Ogre\+::\+Mesh\+::\+Sub\+Mesh\+Name\+Map}}}



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

Translates a name into \mbox{\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}!SubMeshIterator@{SubMeshIterator}}
\index{SubMeshIterator@{SubMeshIterator}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{SubMeshIterator}{SubMeshIterator}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}}$<$\mbox{\hyperlink{class_ogre_1_1_mesh_aadf4f5fb8b74f46ca0fe5dfb530a5f64}{Sub\+Mesh\+List}}$>$ \mbox{\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}!PoseIterator@{PoseIterator}}
\index{PoseIterator@{PoseIterator}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{PoseIterator}{PoseIterator}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}}$<$\mbox{\hyperlink{group___animation_ga8f03b49c53cbcc1d22f4ef3abfb5b1eb}{Pose\+List}}$>$ \mbox{\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}!ConstPoseIterator@{ConstPoseIterator}}
\index{ConstPoseIterator@{ConstPoseIterator}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{ConstPoseIterator}{ConstPoseIterator}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{class_ogre_1_1_const_vector_iterator}{Const\+Vector\+Iterator}}$<$\mbox{\hyperlink{group___animation_ga8f03b49c53cbcc1d22f4ef3abfb5b1eb}{Pose\+List}}$>$ \mbox{\hyperlink{class_ogre_1_1_mesh_a1c651712526bfe4999f27c6c18ded1d9}{Ogre\+::\+Mesh\+::\+Const\+Pose\+Iterator}}}



\doxysubsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}\label{class_ogre_1_1_resource_a07e619aa09d3bc6789a6667cb4fc572c}} 
\index{Ogre::Mesh@{Ogre::Mesh}!LoadingState@{LoadingState}}
\index{LoadingState@{LoadingState}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{LoadingState}{LoadingState}}
{\footnotesize\ttfamily enum \mbox{\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{LOADSTATE\_UNLOADED@{LOADSTATE\_UNLOADED}!Ogre::Mesh@{Ogre::Mesh}}\index{Ogre::Mesh@{Ogre::Mesh}!LOADSTATE\_UNLOADED@{LOADSTATE\_UNLOADED}}}\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{LOADSTATE\_LOADING@{LOADSTATE\_LOADING}!Ogre::Mesh@{Ogre::Mesh}}\index{Ogre::Mesh@{Ogre::Mesh}!LOADSTATE\_LOADING@{LOADSTATE\_LOADING}}}\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{LOADSTATE\_LOADED@{LOADSTATE\_LOADED}!Ogre::Mesh@{Ogre::Mesh}}\index{Ogre::Mesh@{Ogre::Mesh}!LOADSTATE\_LOADED@{LOADSTATE\_LOADED}}}\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{LOADSTATE\_UNLOADING@{LOADSTATE\_UNLOADING}!Ogre::Mesh@{Ogre::Mesh}}\index{Ogre::Mesh@{Ogre::Mesh}!LOADSTATE\_UNLOADING@{LOADSTATE\_UNLOADING}}}\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{LOADSTATE\_PREPARED@{LOADSTATE\_PREPARED}!Ogre::Mesh@{Ogre::Mesh}}\index{Ogre::Mesh@{Ogre::Mesh}!LOADSTATE\_PREPARED@{LOADSTATE\_PREPARED}}}\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{LOADSTATE\_PREPARING@{LOADSTATE\_PREPARING}!Ogre::Mesh@{Ogre::Mesh}}\index{Ogre::Mesh@{Ogre::Mesh}!LOADSTATE\_PREPARING@{LOADSTATE\_PREPARING}}}\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}!LoadingFlags@{LoadingFlags}}
\index{LoadingFlags@{LoadingFlags}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{LoadingFlags}{LoadingFlags}}
{\footnotesize\ttfamily enum \mbox{\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{LF\_DEFAULT@{LF\_DEFAULT}!Ogre::Mesh@{Ogre::Mesh}}\index{Ogre::Mesh@{Ogre::Mesh}!LF\_DEFAULT@{LF\_DEFAULT}}}\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{LF\_INCLUDE\_NON\_RELOADABLE@{LF\_INCLUDE\_NON\_RELOADABLE}!Ogre::Mesh@{Ogre::Mesh}}\index{Ogre::Mesh@{Ogre::Mesh}!LF\_INCLUDE\_NON\_RELOADABLE@{LF\_INCLUDE\_NON\_RELOADABLE}}}\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{LF\_ONLY\_UNREFERENCED@{LF\_ONLY\_UNREFERENCED}!Ogre::Mesh@{Ogre::Mesh}}\index{Ogre::Mesh@{Ogre::Mesh}!LF\_ONLY\_UNREFERENCED@{LF\_ONLY\_UNREFERENCED}}}\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{LF\_ONLY\_UNREFERENCED\_INCLUDE\_NON\_RELOADABLE@{LF\_ONLY\_UNREFERENCED\_INCLUDE\_NON\_RELOADABLE}!Ogre::Mesh@{Ogre::Mesh}}\index{Ogre::Mesh@{Ogre::Mesh}!LF\_ONLY\_UNREFERENCED\_INCLUDE\_NON\_RELOADABLE@{LF\_ONLY\_UNREFERENCED\_INCLUDE\_NON\_RELOADABLE}}}\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{LF\_PRESERVE\_STATE@{LF\_PRESERVE\_STATE}!Ogre::Mesh@{Ogre::Mesh}}\index{Ogre::Mesh@{Ogre::Mesh}!LF\_PRESERVE\_STATE@{LF\_PRESERVE\_STATE}}}\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}


\doxysubsection{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}}
\doxysubsubsection{\texorpdfstring{Mesh()}{Mesh()}}
{\footnotesize\ttfamily Ogre\+::\+Mesh\+::\+Mesh (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} $\ast$}]{creator,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{\mbox{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}}}]{handle,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{group,  }\item[{bool}]{is\+Manual = {\ttfamily false},  }\item[{\mbox{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader}} $\ast$}]{loader = {\ttfamily 0} }\end{DoxyParamCaption})}



Default constructor -\/ used by \mbox{\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}}
\doxysubsubsection{\texorpdfstring{$\sim$Mesh()}{~Mesh()}}
{\footnotesize\ttfamily Ogre\+::\+Mesh\+::$\sim$\+Mesh (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



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



Creates a new \mbox{\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}!createSubMesh@{createSubMesh}}
\index{createSubMesh@{createSubMesh}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{createSubMesh()}{createSubMesh()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}}$\ast$ Ogre\+::\+Mesh\+::create\+Sub\+Mesh (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



Creates a new \mbox{\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}!nameSubMesh@{nameSubMesh}}
\index{nameSubMesh@{nameSubMesh}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{nameSubMesh()}{nameSubMesh()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::name\+Sub\+Mesh (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}}]{index }\end{DoxyParamCaption})}



Gives a name to a \mbox{\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}!unnameSubMesh@{unnameSubMesh}}
\index{unnameSubMesh@{unnameSubMesh}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{unnameSubMesh()}{unnameSubMesh()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::unname\+Sub\+Mesh (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



Removes a name from a \mbox{\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}!\_getSubMeshIndex@{\_getSubMeshIndex}}
\index{\_getSubMeshIndex@{\_getSubMeshIndex}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_getSubMeshIndex()}{\_getSubMeshIndex()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} Ogre\+::\+Mesh\+::\+\_\+get\+Sub\+Mesh\+Index (\begin{DoxyParamCaption}\item[{const \mbox{\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}!getNumSubMeshes@{getNumSubMeshes}}
\index{getNumSubMeshes@{getNumSubMeshes}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getNumSubMeshes()}{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[\mbox{\hyperlink{deprecated__deprecated000080}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_mesh_ae698a8fa599193df36bafd93837ad01c}{get\+Sub\+Meshes()}} instead \end{DoxyRefDesc}


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

\mbox{\Hypertarget{class_ogre_1_1_mesh_a065af6f0cf1d1a19c99e0a62cd948628}\label{class_ogre_1_1_mesh_a065af6f0cf1d1a19c99e0a62cd948628}} 
\index{Ogre::Mesh@{Ogre::Mesh}!getSubMesh@{getSubMesh}}
\index{getSubMesh@{getSubMesh}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getSubMesh()}{getSubMesh()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\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[\mbox{\hyperlink{deprecated__deprecated000081}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_mesh_ae698a8fa599193df36bafd93837ad01c}{get\+Sub\+Meshes()}} instead \end{DoxyRefDesc}


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

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



Gets a \mbox{\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}!destroySubMesh@{destroySubMesh}}
\index{destroySubMesh@{destroySubMesh}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{destroySubMesh()}{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 \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}} with the given index. 

\begin{DoxyNote}{Note}
This will invalidate the contents of any existing \mbox{\hyperlink{class_ogre_1_1_entity}{Entity}}, or any other object that is referring to the \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}} list. \mbox{\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}!destroySubMesh@{destroySubMesh}}
\index{destroySubMesh@{destroySubMesh}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{destroySubMesh()}{destroySubMesh()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::destroy\+Sub\+Mesh (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



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

\begin{DoxyNote}{Note}
This will invalidate the contents of any existing \mbox{\hyperlink{class_ogre_1_1_entity}{Entity}}, or any other object that is referring to the \mbox{\hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh}} list. \mbox{\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}!getSubMeshIterator@{getSubMeshIterator}}
\index{getSubMeshIterator@{getSubMeshIterator}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getSubMeshIterator()}{getSubMeshIterator()}}
{\footnotesize\ttfamily \mbox{\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[\mbox{\hyperlink{deprecated__deprecated000082}{Deprecated}}]use \mbox{\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}!getSubMeshes@{getSubMeshes}}
\index{getSubMeshes@{getSubMeshes}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getSubMeshes()}{getSubMeshes()}}
{\footnotesize\ttfamily const \mbox{\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}}
\doxysubsubsection{\texorpdfstring{clone()}{clone()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_a5c4c0c56ea9f824c49e331f6fad33ddb}{Mesh\+Ptr}} Ogre\+::\+Mesh\+::clone (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{new\+Name,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{new\+Group = {\ttfamily \mbox{\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 \mbox{\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 \mbox{\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}}
\doxysubsubsection{\texorpdfstring{reload()}{reload()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::reload (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_resource_a1aa750a4b994f2b1066220936cdfdb94}{Loading\+Flags}}}]{flags = {\ttfamily \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource_aa31bef1bfaa87731622e56f11b548e27}{unload()}} and then \mbox{\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 \mbox{\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}!getBounds@{getBounds}}
\index{getBounds@{getBounds}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getBounds()}{getBounds()}}
{\footnotesize\ttfamily const \mbox{\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}!getBoundingSphereRadius@{getBoundingSphereRadius}}
\index{getBoundingSphereRadius@{getBoundingSphereRadius}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getBoundingSphereRadius()}{getBoundingSphereRadius()}}
{\footnotesize\ttfamily \mbox{\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}!getBoneBoundingRadius@{getBoneBoundingRadius}}
\index{getBoneBoundingRadius@{getBoneBoundingRadius}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getBoneBoundingRadius()}{getBoneBoundingRadius()}}
{\footnotesize\ttfamily \mbox{\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}!\_setBounds@{\_setBounds}}
\index{\_setBounds@{\_setBounds}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_setBounds()}{\_setBounds()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+set\+Bounds (\begin{DoxyParamCaption}\item[{const \mbox{\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 \mbox{\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}!\_setBoundingSphereRadius@{\_setBoundingSphereRadius}}
\index{\_setBoundingSphereRadius@{\_setBoundingSphereRadius}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_setBoundingSphereRadius()}{\_setBoundingSphereRadius()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+set\+Bounding\+Sphere\+Radius (\begin{DoxyParamCaption}\item[{\mbox{\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}!\_setBoneBoundingRadius@{\_setBoneBoundingRadius}}
\index{\_setBoneBoundingRadius@{\_setBoneBoundingRadius}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_setBoneBoundingRadius()}{\_setBoneBoundingRadius()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+set\+Bone\+Bounding\+Radius (\begin{DoxyParamCaption}\item[{\mbox{\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}!\_computeBoneBoundingRadius@{\_computeBoneBoundingRadius}}
\index{\_computeBoneBoundingRadius@{\_computeBoneBoundingRadius}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_computeBoneBoundingRadius()}{\_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 \mbox{\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}!\_updateBoundsFromVertexBuffers@{\_updateBoundsFromVertexBuffers}}
\index{\_updateBoundsFromVertexBuffers@{\_updateBoundsFromVertexBuffers}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_updateBoundsFromVertexBuffers()}{\_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 \mbox{\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}!\_calcBoundsFromVertexBuffer@{\_calcBoundsFromVertexBuffer}}
\index{\_calcBoundsFromVertexBuffer@{\_calcBoundsFromVertexBuffer}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_calcBoundsFromVertexBuffer()}{\_calcBoundsFromVertexBuffer()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+calc\+Bounds\+From\+Vertex\+Buffer (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data}} $\ast$}]{vertex\+Data,  }\item[{\mbox{\hyperlink{class_ogre_1_1_axis_aligned_box}{Axis\+Aligned\+Box}} \&}]{out\+A\+A\+BB,  }\item[{\mbox{\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}!setSkeletonName@{setSkeletonName}}
\index{setSkeletonName@{setSkeletonName}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{setSkeletonName()}{setSkeletonName()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::set\+Skeleton\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{skel\+Name }\end{DoxyParamCaption})}



Sets the name of the skeleton this \mbox{\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 \mbox{\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 \mbox{\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}!hasSkeleton@{hasSkeleton}}
\index{hasSkeleton@{hasSkeleton}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{hasSkeleton()}{hasSkeleton()}}
{\footnotesize\ttfamily bool Ogre\+::\+Mesh\+::has\+Skeleton (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Returns true if this \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}} has a linked \mbox{\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}!hasVertexAnimation@{hasVertexAnimation}}
\index{hasVertexAnimation@{hasVertexAnimation}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{hasVertexAnimation()}{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}!getSkeleton@{getSkeleton}}
\index{getSkeleton@{getSkeleton}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getSkeleton()}{getSkeleton()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_a4ea60aa36ac918eee430bd614be9d018}{Skeleton\+Ptr}}\& Ogre\+::\+Mesh\+::get\+Skeleton (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets a pointer to any linked \mbox{\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}!getSkeletonName@{getSkeletonName}}
\index{getSkeletonName@{getSkeletonName}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getSkeletonName()}{getSkeletonName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Mesh\+::get\+Skeleton\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the name of any linked \mbox{\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}!\_initAnimationState@{\_initAnimationState}}
\index{\_initAnimationState@{\_initAnimationState}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_initAnimationState()}{\_initAnimationState()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+init\+Animation\+State (\begin{DoxyParamCaption}\item[{\mbox{\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}!\_refreshAnimationState@{\_refreshAnimationState}}
\index{\_refreshAnimationState@{\_refreshAnimationState}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_refreshAnimationState()}{\_refreshAnimationState()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+refresh\+Animation\+State (\begin{DoxyParamCaption}\item[{\mbox{\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}!addBoneAssignment@{addBoneAssignment}}
\index{addBoneAssignment@{addBoneAssignment}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{addBoneAssignment()}{addBoneAssignment()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::add\+Bone\+Assignment (\begin{DoxyParamCaption}\item[{const \mbox{\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}
~\newline
 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 \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}}. To assign weights to the per-\/\+Sub\+Mesh geometry, see the equivalent methods on \mbox{\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}!clearBoneAssignments@{clearBoneAssignments}}
\index{clearBoneAssignments@{clearBoneAssignments}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{clearBoneAssignments()}{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 \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}}. To assign weights to the per-\/\+Sub\+Mesh geometry, see the equivalent methods on \mbox{\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}!\_notifySkeleton@{\_notifySkeleton}}
\index{\_notifySkeleton@{\_notifySkeleton}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_notifySkeleton()}{\_notifySkeleton()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+notify\+Skeleton (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a4ea60aa36ac918eee430bd614be9d018}{Skeleton\+Ptr}} \&}]{p\+Skel }\end{DoxyParamCaption})}



Internal notification, used to tell the \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}} which \mbox{\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 \mbox{\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}!getBoneAssignmentIterator@{getBoneAssignmentIterator}}
\index{getBoneAssignmentIterator@{getBoneAssignmentIterator}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getBoneAssignmentIterator()}{getBoneAssignmentIterator()}}
{\footnotesize\ttfamily \mbox{\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}!getBoneAssignments@{getBoneAssignments}}
\index{getBoneAssignments@{getBoneAssignments}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getBoneAssignments()}{getBoneAssignments()}}
{\footnotesize\ttfamily const \mbox{\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}!getNumLodLevels@{getNumLodLevels}}
\index{getNumLodLevels@{getNumLodLevels}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getNumLodLevels()}{getNumLodLevels()}}
{\footnotesize\ttfamily \mbox{\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().

\mbox{\Hypertarget{class_ogre_1_1_mesh_ad7a30ca70b402dc3499a3b2085cf6c92}\label{class_ogre_1_1_mesh_ad7a30ca70b402dc3499a3b2085cf6c92}} 
\index{Ogre::Mesh@{Ogre::Mesh}!getLodLevel@{getLodLevel}}
\index{getLodLevel@{getLodLevel}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getLodLevel()}{getLodLevel()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{struct_ogre_1_1_mesh_lod_usage}{Mesh\+Lod\+Usage}}\& Ogre\+::\+Mesh\+::get\+Lod\+Level (\begin{DoxyParamCaption}\item[{\mbox{\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}!getLodIndex@{getLodIndex}}
\index{getLodIndex@{getLodIndex}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getLodIndex()}{getLodIndex()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} Ogre\+::\+Mesh\+::get\+Lod\+Index (\begin{DoxyParamCaption}\item[{\mbox{\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 \mbox{\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}!hasManualLodLevel@{hasManualLodLevel}}
\index{hasManualLodLevel@{hasManualLodLevel}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{hasManualLodLevel()}{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}!updateManualLodLevel@{updateManualLodLevel}}
\index{updateManualLodLevel@{updateManualLodLevel}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{updateManualLodLevel()}{updateManualLodLevel()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::update\+Manual\+Lod\+Level (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}}]{index,  }\item[{const \mbox{\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 \mbox{\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}!\_setLodInfo@{\_setLodInfo}}
\index{\_setLodInfo@{\_setLodInfo}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_setLodInfo()}{\_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}!\_setLodUsage@{\_setLodUsage}}
\index{\_setLodUsage@{\_setLodUsage}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_setLodUsage()}{\_setLodUsage()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+set\+Lod\+Usage (\begin{DoxyParamCaption}\item[{unsigned short}]{level,  }\item[{const \mbox{\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}!\_setSubMeshLodFaceList@{\_setSubMeshLodFaceList}}
\index{\_setSubMeshLodFaceList@{\_setSubMeshLodFaceList}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_setSubMeshLodFaceList()}{\_setSubMeshLodFaceList()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::\+\_\+set\+Sub\+Mesh\+Lod\+Face\+List (\begin{DoxyParamCaption}\item[{unsigned short}]{sub\+Idx,  }\item[{unsigned short}]{level,  }\item[{\mbox{\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}!\_isManualLodLevel@{\_isManualLodLevel}}
\index{\_isManualLodLevel@{\_isManualLodLevel}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_isManualLodLevel()}{\_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}!removeLodLevels@{removeLodLevels}}
\index{removeLodLevels@{removeLodLevels}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{removeLodLevels()}{removeLodLevels()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::remove\+Lod\+Levels (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Removes all L\+OD data from this \mbox{\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}!setHardwareBufferManager@{setHardwareBufferManager}}
\index{setHardwareBufferManager@{setHardwareBufferManager}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{setHardwareBufferManager()}{setHardwareBufferManager()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::set\+Hardware\+Buffer\+Manager (\begin{DoxyParamCaption}\item[{\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}}. 

\begin{DoxyRemark}{Remarks}
By default, when loading the \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}} by changing the default parameters to \mbox{\hyperlink{class_ogre_1_1_mesh_manager_a07fd12eda070c66d93fe696ab3899492}{Mesh\+Manager\+::load}} if you wish; this means the \mbox{\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 \mbox{\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}!getHardwareBufferManager@{getHardwareBufferManager}}
\index{getHardwareBufferManager@{getHardwareBufferManager}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getHardwareBufferManager()}{getHardwareBufferManager()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base}{Hardware\+Buffer\+Manager\+Base}}$\ast$ Ogre\+::\+Mesh\+::get\+Hardware\+Buffer\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



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

\mbox{\Hypertarget{class_ogre_1_1_mesh_ae128dc852bd40fa4ebdeced17ef60daa}\label{class_ogre_1_1_mesh_ae128dc852bd40fa4ebdeced17ef60daa}} 
\index{Ogre::Mesh@{Ogre::Mesh}!setVertexBufferPolicy@{setVertexBufferPolicy}}
\index{setVertexBufferPolicy@{setVertexBufferPolicy}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{setVertexBufferPolicy()}{setVertexBufferPolicy()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::set\+Vertex\+Buffer\+Policy (\begin{DoxyParamCaption}\item[{\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}}. 

\begin{DoxyRemark}{Remarks}
By default, when loading the \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}} by changing the default parameters to \mbox{\hyperlink{class_ogre_1_1_mesh_manager_a07fd12eda070c66d93fe696ab3899492}{Mesh\+Manager\+::load}} if you wish; this means the \mbox{\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 \mbox{\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}!setIndexBufferPolicy@{setIndexBufferPolicy}}
\index{setIndexBufferPolicy@{setIndexBufferPolicy}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{setIndexBufferPolicy()}{setIndexBufferPolicy()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::set\+Index\+Buffer\+Policy (\begin{DoxyParamCaption}\item[{\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}}. 

\begin{DoxyRemark}{Remarks}
By default, when loading the \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}} by changing the default parameters to \mbox{\hyperlink{class_ogre_1_1_mesh_manager_a07fd12eda070c66d93fe696ab3899492}{Mesh\+Manager\+::load}} if you wish; this means the \mbox{\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 \mbox{\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}!getVertexBufferUsage@{getVertexBufferUsage}}
\index{getVertexBufferUsage@{getVertexBufferUsage}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getVertexBufferUsage()}{getVertexBufferUsage()}}
{\footnotesize\ttfamily \mbox{\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}!getIndexBufferUsage@{getIndexBufferUsage}}
\index{getIndexBufferUsage@{getIndexBufferUsage}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getIndexBufferUsage()}{getIndexBufferUsage()}}
{\footnotesize\ttfamily \mbox{\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}!isVertexBufferShadowed@{isVertexBufferShadowed}}
\index{isVertexBufferShadowed@{isVertexBufferShadowed}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{isVertexBufferShadowed()}{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}!isIndexBufferShadowed@{isIndexBufferShadowed}}
\index{isIndexBufferShadowed@{isIndexBufferShadowed}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{isIndexBufferShadowed()}{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. 

\mbox{\Hypertarget{class_ogre_1_1_mesh_a71ecbba89597f5b3138a5fde91362e27}\label{class_ogre_1_1_mesh_a71ecbba89597f5b3138a5fde91362e27}} 
\index{Ogre::Mesh@{Ogre::Mesh}!\_rationaliseBoneAssignments@{\_rationaliseBoneAssignments}}
\index{\_rationaliseBoneAssignments@{\_rationaliseBoneAssignments}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_rationaliseBoneAssignments()}{\_rationaliseBoneAssignments()}}
{\footnotesize\ttfamily unsigned short Ogre\+::\+Mesh\+::\+\_\+rationalise\+Bone\+Assignments (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{vertex\+Count,  }\item[{\mbox{\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}!\_compileBoneAssignments@{\_compileBoneAssignments}}
\index{\_compileBoneAssignments@{\_compileBoneAssignments}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_compileBoneAssignments()}{\_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}!\_updateCompiledBoneAssignments@{\_updateCompiledBoneAssignments}}
\index{\_updateCompiledBoneAssignments@{\_updateCompiledBoneAssignments}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_updateCompiledBoneAssignments()}{\_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}!mergeAdjacentTexcoords@{mergeAdjacentTexcoords}}
\index{mergeAdjacentTexcoords@{mergeAdjacentTexcoords}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{mergeAdjacentTexcoords()}{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}!buildTangentVectors@{buildTangentVectors}}
\index{buildTangentVectors@{buildTangentVectors}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{buildTangentVectors()}{buildTangentVectors()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::build\+Tangent\+Vectors (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___render_system_ga0a62b3f2ede8992ff365bb013a8bc00d}{Vertex\+Element\+Semantic}}}]{target\+Semantic = {\ttfamily \mbox{\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 \mbox{\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}
\mbox{\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}
\mbox{\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}!suggestTangentVectorBuildParams@{suggestTangentVectorBuildParams}}
\index{suggestTangentVectorBuildParams@{suggestTangentVectorBuildParams}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{suggestTangentVectorBuildParams()}{suggestTangentVectorBuildParams()}}
{\footnotesize\ttfamily bool Ogre\+::\+Mesh\+::suggest\+Tangent\+Vector\+Build\+Params (\begin{DoxyParamCaption}\item[{\mbox{\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}!buildEdgeList@{buildEdgeList}}
\index{buildEdgeList@{buildEdgeList}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{buildEdgeList()}{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}!freeEdgeList@{freeEdgeList}}
\index{freeEdgeList@{freeEdgeList}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{freeEdgeList()}{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}!prepareForShadowVolume@{prepareForShadowVolume}}
\index{prepareForShadowVolume@{prepareForShadowVolume}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{prepareForShadowVolume()}{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 \mbox{\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}!getEdgeList@{getEdgeList}}
\index{getEdgeList@{getEdgeList}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getEdgeList()}{getEdgeList()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\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 \mbox{\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}!getEdgeList@{getEdgeList}}
\index{getEdgeList@{getEdgeList}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getEdgeList()}{getEdgeList()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \mbox{\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 \mbox{\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}!isPreparedForShadowVolumes@{isPreparedForShadowVolumes}}
\index{isPreparedForShadowVolumes@{isPreparedForShadowVolumes}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{isPreparedForShadowVolumes()}{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}!isEdgeListBuilt@{isEdgeListBuilt}}
\index{isEdgeListBuilt@{isEdgeListBuilt}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{isEdgeListBuilt()}{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}!prepareMatricesForVertexBlend@{prepareMatricesForVertexBlend}}
\index{prepareMatricesForVertexBlend@{prepareMatricesForVertexBlend}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{prepareMatricesForVertexBlend()}{prepareMatricesForVertexBlend()}}
{\footnotesize\ttfamily static void Ogre\+::\+Mesh\+::prepare\+Matrices\+For\+Vertex\+Blend (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_affine3}{Affine3}} $\ast$$\ast$}]{blend\+Matrices,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_affine3}{Affine3}} $\ast$}]{bone\+Matrices,  }\item[{const \mbox{\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}!softwareVertexBlend@{softwareVertexBlend}}
\index{softwareVertexBlend@{softwareVertexBlend}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{softwareVertexBlend()}{softwareVertexBlend()}}
{\footnotesize\ttfamily static void Ogre\+::\+Mesh\+::software\+Vertex\+Blend (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data}} $\ast$}]{source\+Vertex\+Data,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data}} $\ast$}]{target\+Vertex\+Data,  }\item[{const \mbox{\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} & \mbox{\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data}} class containing positions, normals, blend indices and blend weights. \\
\hline
{\em target\+Vertex\+Data} & \mbox{\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}!softwareVertexMorph@{softwareVertexMorph}}
\index{softwareVertexMorph@{softwareVertexMorph}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{softwareVertexMorph()}{softwareVertexMorph()}}
{\footnotesize\ttfamily static void Ogre\+::\+Mesh\+::software\+Vertex\+Morph (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{t,  }\item[{const \mbox{\hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr}} \&}]{b1,  }\item[{const \mbox{\hyperlink{namespace_ogre_a05ef9b65d4ed446b994636e371bf5aab}{Hardware\+Vertex\+Buffer\+Shared\+Ptr}} \&}]{b2,  }\item[{\mbox{\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} & \mbox{\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}!softwareVertexPoseBlend@{softwareVertexPoseBlend}}
\index{softwareVertexPoseBlend@{softwareVertexPoseBlend}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{softwareVertexPoseBlend()}{softwareVertexPoseBlend()}}
{\footnotesize\ttfamily static void Ogre\+::\+Mesh\+::software\+Vertex\+Pose\+Blend (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{weight,  }\item[{const std\+::map$<$ size\+\_\+t, \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} $>$ \&}]{vertex\+Offset\+Map,  }\item[{const std\+::map$<$ size\+\_\+t, \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} $>$ \&}]{normals\+Map,  }\item[{\mbox{\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} & \mbox{\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}!getSubMeshNameMap@{getSubMeshNameMap}}
\index{getSubMeshNameMap@{getSubMeshNameMap}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getSubMeshNameMap()}{getSubMeshNameMap()}}
{\footnotesize\ttfamily const \mbox{\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}!setAutoBuildEdgeLists@{setAutoBuildEdgeLists}}
\index{setAutoBuildEdgeLists@{setAutoBuildEdgeLists}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{setAutoBuildEdgeLists()}{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 \mbox{\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}!getAutoBuildEdgeLists@{getAutoBuildEdgeLists}}
\index{getAutoBuildEdgeLists@{getAutoBuildEdgeLists}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getAutoBuildEdgeLists()}{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 \mbox{\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}!getSharedVertexDataAnimationType@{getSharedVertexDataAnimationType}}
\index{getSharedVertexDataAnimationType@{getSharedVertexDataAnimationType}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getSharedVertexDataAnimationType()}{getSharedVertexDataAnimationType()}}
{\footnotesize\ttfamily virtual \mbox{\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}!getSharedVertexDataAnimationIncludesNormals@{getSharedVertexDataAnimationIncludesNormals}}
\index{getSharedVertexDataAnimationIncludesNormals@{getSharedVertexDataAnimationIncludesNormals}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getSharedVertexDataAnimationIncludesNormals()}{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}!createAnimation@{createAnimation}}
\index{createAnimation@{createAnimation}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{createAnimation()}{createAnimation()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_animation}{Animation}}$\ast$ Ogre\+::\+Mesh\+::create\+Animation (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{length }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Creates a new \mbox{\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 \mbox{\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}!getAnimation@{getAnimation}}
\index{getAnimation@{getAnimation}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getAnimation()}{getAnimation()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_animation}{Animation}}$\ast$ Ogre\+::\+Mesh\+::get\+Animation (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



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


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


Implements \mbox{\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}!\_getAnimationImpl@{\_getAnimationImpl}}
\index{\_getAnimationImpl@{\_getAnimationImpl}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_getAnimationImpl()}{\_getAnimationImpl()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_animation}{Animation}}$\ast$ Ogre\+::\+Mesh\+::\+\_\+get\+Animation\+Impl (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Internal access to the named vertex \mbox{\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}!hasAnimation@{hasAnimation}}
\index{hasAnimation@{hasAnimation}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{hasAnimation()}{hasAnimation()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Mesh\+::has\+Animation (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Returns whether this mesh contains the named vertex animation. 



Implements \mbox{\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}!removeAnimation@{removeAnimation}}
\index{removeAnimation@{removeAnimation}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{removeAnimation()}{removeAnimation()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Mesh\+::remove\+Animation (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



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



Implements \mbox{\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}!getNumAnimations@{getNumAnimations}}
\index{getNumAnimations@{getNumAnimations}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getNumAnimations()}{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 \mbox{\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}!getAnimation@{getAnimation}}
\index{getAnimation@{getAnimation}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getAnimation()}{getAnimation()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual \mbox{\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 \mbox{\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}!removeAllAnimations@{removeAllAnimations}}
\index{removeAllAnimations@{removeAllAnimations}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{removeAllAnimations()}{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}!getVertexDataByTrackHandle@{getVertexDataByTrackHandle}}
\index{getVertexDataByTrackHandle@{getVertexDataByTrackHandle}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getVertexDataByTrackHandle()}{getVertexDataByTrackHandle()}}
{\footnotesize\ttfamily \mbox{\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}!updateMaterialForAllSubMeshes@{updateMaterialForAllSubMeshes}}
\index{updateMaterialForAllSubMeshes@{updateMaterialForAllSubMeshes}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{updateMaterialForAllSubMeshes()}{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}!\_determineAnimationTypes@{\_determineAnimationTypes}}
\index{\_determineAnimationTypes@{\_determineAnimationTypes}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_determineAnimationTypes()}{\_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}!\_getAnimationTypesDirty@{\_getAnimationTypesDirty}}
\index{\_getAnimationTypesDirty@{\_getAnimationTypesDirty}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_getAnimationTypesDirty()}{\_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? 

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



Create a new \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_mesh}{Mesh}} geometry, 1+ is the dedicated \mbox{\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 \mbox{\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}!getPoseCount@{getPoseCount}}
\index{getPoseCount@{getPoseCount}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getPoseCount()}{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[\mbox{\hyperlink{deprecated__deprecated000083}{Deprecated}}]use \mbox{\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}!getPose@{getPose}}
\index{getPose@{getPose}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getPose()}{getPose()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_pose}{Pose}}$\ast$ Ogre\+::\+Mesh\+::get\+Pose (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}}]{index }\end{DoxyParamCaption})}



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

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000084}{Deprecated}}]use \mbox{\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}!getPose@{getPose}}
\index{getPose@{getPose}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getPose()}{getPose()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_pose}{Pose}}$\ast$ Ogre\+::\+Mesh\+::get\+Pose (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})}



Retrieve an existing \mbox{\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}!removePose@{removePose}}
\index{removePose@{removePose}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{removePose()}{removePose()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::remove\+Pose (\begin{DoxyParamCaption}\item[{\mbox{\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}!removePose@{removePose}}
\index{removePose@{removePose}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{removePose()}{removePose()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::remove\+Pose (\begin{DoxyParamCaption}\item[{const \mbox{\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}!removeAllPoses@{removeAllPoses}}
\index{removeAllPoses@{removeAllPoses}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{removeAllPoses()}{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}!getPoseIterator@{getPoseIterator}}
\index{getPoseIterator@{getPoseIterator}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getPoseIterator()}{getPoseIterator()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\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[\mbox{\hyperlink{deprecated__deprecated000085}{Deprecated}}]use \mbox{\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}!getPoseIterator@{getPoseIterator}}
\index{getPoseIterator@{getPoseIterator}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getPoseIterator()}{getPoseIterator()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\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[\mbox{\hyperlink{deprecated__deprecated000086}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_mesh_aedcb8861f049c9cc8acfb41e0dd4e006}{get\+Pose\+List()}} ~\newline
 \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_mesh_aedcb8861f049c9cc8acfb41e0dd4e006}\label{class_ogre_1_1_mesh_aedcb8861f049c9cc8acfb41e0dd4e006}} 
\index{Ogre::Mesh@{Ogre::Mesh}!getPoseList@{getPoseList}}
\index{getPoseList@{getPoseList}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getPoseList()}{getPoseList()}}
{\footnotesize\ttfamily const \mbox{\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}!getLodStrategy@{getLodStrategy}}
\index{getLodStrategy@{getLodStrategy}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getLodStrategy()}{getLodStrategy()}}
{\footnotesize\ttfamily const \mbox{\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}!setLodStrategy@{setLodStrategy}}
\index{setLodStrategy@{setLodStrategy}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{setLodStrategy()}{setLodStrategy()}}
{\footnotesize\ttfamily void Ogre\+::\+Mesh\+::set\+Lod\+Strategy (\begin{DoxyParamCaption}\item[{\mbox{\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}}
\doxysubsubsection{\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 \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}} before \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}}, but this is not required as \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}} will call \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}} and \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}} while the main render loop would later call \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}}. So long as \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}} remains thread-\/safe, subclasses can arbitrarily split the work of loading a resource between \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}} and \mbox{\hyperlink{class_ogre_1_1_resource_a350b287fa3e83a389221274f68760008}{prepare()}}. It is best to try and do as much work in \mbox{\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}}
\doxysubsubsection{\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 \mbox{\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}!isReloadable@{isReloadable}}
\index{isReloadable@{isReloadable}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{isReloadable()}{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 \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} is reloadable, false otherwise. 



Reimplemented in \mbox{\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}!isManuallyLoaded@{isManuallyLoaded}}
\index{isManuallyLoaded@{isManuallyLoaded}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{isManuallyLoaded()}{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}}
\doxysubsubsection{\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 \mbox{\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}!getSize@{getSize}}
\index{getSize@{getSize}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getSize()}{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 \mbox{\hyperlink{class_ogre_1_1_cg_program_a65a86c6f911a8ac4b0c6d7366fb44f26}{Ogre\+::\+Cg\+Program}}, and \mbox{\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}}
\doxysubsubsection{\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 \mbox{\hyperlink{class_ogre_1_1_material_a340e9c6140a5b0f3467596712aa122a9}{Ogre\+::\+Material}}, \mbox{\hyperlink{class_ogre_1_1_cg_program_aa448e3603f9f6cad8cfe40818888227a}{Ogre\+::\+Cg\+Program}}, and \mbox{\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}!getName@{getName}}
\index{getName@{getName}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getName()}{getName()}}
{\footnotesize\ttfamily virtual const \mbox{\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 \mbox{\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}!getHandle@{getHandle}}
\index{getHandle@{getHandle}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getHandle()}{getHandle()}}
{\footnotesize\ttfamily virtual \mbox{\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 \mbox{\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}!isPrepared@{isPrepared}}
\index{isPrepared@{isPrepared}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{isPrepared()}{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 \mbox{\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}!isLoaded@{isLoaded}}
\index{isLoaded@{isLoaded}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{isLoaded()}{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 \mbox{\hyperlink{class_ogre_1_1_resource}{Resource}} has been loaded, false otherwise. 



Reimplemented in \mbox{\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}!isLoading@{isLoading}}
\index{isLoading@{isLoading}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{isLoading()}{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 \mbox{\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}!getLoadingState@{getLoadingState}}
\index{getLoadingState@{getLoadingState}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getLoadingState()}{getLoadingState()}}
{\footnotesize\ttfamily virtual \mbox{\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 \mbox{\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}!isBackgroundLoaded@{isBackgroundLoaded}}
\index{isBackgroundLoaded@{isBackgroundLoaded}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{isBackgroundLoaded()}{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 \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}} is called. Instead, it will ignore request to \mbox{\hyperlink{class_ogre_1_1_resource_a699d1c851f494a8d5d23d23b695ceb47}{load()}} except if the caller indicates it is the background loader. \mbox{\hyperlink{class_ogre_1_1_any}{Any}} other users of this resource should check \mbox{\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 \mbox{\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}!setBackgroundLoaded@{setBackgroundLoaded}}
\index{setBackgroundLoaded@{setBackgroundLoaded}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{setBackgroundLoaded()}{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}
\mbox{\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 \mbox{\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 \mbox{\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}!escalateLoading@{escalateLoading}}
\index{escalateLoading@{escalateLoading}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{escalateLoading()}{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 \mbox{\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}!addListener@{addListener}}
\index{addListener@{addListener}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{addListener()}{addListener()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::add\+Listener (\begin{DoxyParamCaption}\item[{\mbox{\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}
\mbox{\hyperlink{class_ogre_1_1_resource_1_1_listener}{Resource\+::\+Listener}} 
\end{DoxySeeAlso}


Reimplemented in \mbox{\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}!removeListener@{removeListener}}
\index{removeListener@{removeListener}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{removeListener()}{removeListener()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::remove\+Listener (\begin{DoxyParamCaption}\item[{\mbox{\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}
\mbox{\hyperlink{class_ogre_1_1_resource_1_1_listener}{Resource\+::\+Listener}} 
\end{DoxySeeAlso}


Reimplemented in \mbox{\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}!getGroup@{getGroup}}
\index{getGroup@{getGroup}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getGroup()}{getGroup()}}
{\footnotesize\ttfamily virtual const \mbox{\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 \mbox{\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}!changeGroupOwnership@{changeGroupOwnership}}
\index{changeGroupOwnership@{changeGroupOwnership}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{changeGroupOwnership()}{changeGroupOwnership()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Resource\+::change\+Group\+Ownership (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{new\+Group }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Change the resource group ownership of a \mbox{\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}!getCreator@{getCreator}}
\index{getCreator@{getCreator}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getCreator()}{getCreator()}}
{\footnotesize\ttfamily \mbox{\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}!getOrigin@{getOrigin}}
\index{getOrigin@{getOrigin}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getOrigin()}{getOrigin()}}
{\footnotesize\ttfamily const \mbox{\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}!\_notifyOrigin@{\_notifyOrigin}}
\index{\_notifyOrigin@{\_notifyOrigin}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_notifyOrigin()}{\_notifyOrigin()}}
{\footnotesize\ttfamily void Ogre\+::\+Resource\+::\+\_\+notify\+Origin (\begin{DoxyParamCaption}\item[{const \mbox{\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}!getStateCount@{getStateCount}}
\index{getStateCount@{getStateCount}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getStateCount()}{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}!\_dirtyState@{\_dirtyState}}
\index{\_dirtyState@{\_dirtyState}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_dirtyState()}{\_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}
\mbox{\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}!\_fireLoadingComplete@{\_fireLoadingComplete}}
\index{\_fireLoadingComplete@{\_fireLoadingComplete}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_fireLoadingComplete()}{\_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 \mbox{\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}!\_firePreparingComplete@{\_firePreparingComplete}}
\index{\_firePreparingComplete@{\_firePreparingComplete}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_firePreparingComplete()}{\_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 \mbox{\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}!\_fireUnloadingComplete@{\_fireUnloadingComplete}}
\index{\_fireUnloadingComplete@{\_fireUnloadingComplete}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{\_fireUnloadingComplete()}{\_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 \mbox{\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}!getParamDictionary@{getParamDictionary}}
\index{getParamDictionary@{getParamDictionary}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getParamDictionary()}{getParamDictionary()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\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 \mbox{\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}!getParamDictionary@{getParamDictionary}}
\index{getParamDictionary@{getParamDictionary}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getParamDictionary()}{getParamDictionary()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \mbox{\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}!getParameters@{getParameters}}
\index{getParameters@{getParameters}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getParameters()}{getParameters()}}
{\footnotesize\ttfamily const \mbox{\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 \mbox{\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}!setParameter@{setParameter}}
\index{setParameter@{setParameter}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{setParameter()}{setParameter()}}
{\footnotesize\ttfamily bool Ogre\+::\+String\+Interface\+::set\+Parameter (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\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 \mbox{\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 \mbox{\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}!setParameterList@{setParameterList}}
\index{setParameterList@{setParameterList}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{setParameterList()}{setParameterList()}}
{\footnotesize\ttfamily void Ogre\+::\+String\+Interface\+::set\+Parameter\+List (\begin{DoxyParamCaption}\item[{const \mbox{\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 \mbox{\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}!getParameter@{getParameter}}
\index{getParameter@{getParameter}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{getParameter()}{getParameter()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} Ogre\+::\+String\+Interface\+::get\+Parameter (\begin{DoxyParamCaption}\item[{const \mbox{\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 \mbox{\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}!copyParametersTo@{copyParametersTo}}
\index{copyParametersTo@{copyParametersTo}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{copyParametersTo()}{copyParametersTo()}}
{\footnotesize\ttfamily void Ogre\+::\+String\+Interface\+::copy\+Parameters\+To (\begin{DoxyParamCaption}\item[{\mbox{\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}{}
\mbox{\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}!cleanupDictionary@{cleanupDictionary}}
\index{cleanupDictionary@{cleanupDictionary}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{cleanupDictionary()}{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 \mbox{\hyperlink{namespace_ogre}{Ogre}}, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the \mbox{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager}} implementers (e.\+g. 

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

\doxysubsection{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}!SubMesh@{SubMesh}}
\index{SubMesh@{SubMesh}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{SubMesh}{SubMesh}}
{\footnotesize\ttfamily friend class \mbox{\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}!MeshSerializerImpl@{MeshSerializerImpl}}
\index{MeshSerializerImpl@{MeshSerializerImpl}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{MeshSerializerImpl}{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}!MeshSerializerImpl\_v1\_8@{MeshSerializerImpl\_v1\_8}}
\index{MeshSerializerImpl\_v1\_8@{MeshSerializerImpl\_v1\_8}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{MeshSerializerImpl\_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}!MeshSerializerImpl\_v1\_4@{MeshSerializerImpl\_v1\_4}}
\index{MeshSerializerImpl\_v1\_4@{MeshSerializerImpl\_v1\_4}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{MeshSerializerImpl\_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}!MeshSerializerImpl\_v1\_3@{MeshSerializerImpl\_v1\_3}}
\index{MeshSerializerImpl\_v1\_3@{MeshSerializerImpl\_v1\_3}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{MeshSerializerImpl\_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}!MeshSerializerImpl\_v1\_2@{MeshSerializerImpl\_v1\_2}}
\index{MeshSerializerImpl\_v1\_2@{MeshSerializerImpl\_v1\_2}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{MeshSerializerImpl\_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}!MeshSerializerImpl\_v1\_1@{MeshSerializerImpl\_v1\_1}}
\index{MeshSerializerImpl\_v1\_1@{MeshSerializerImpl\_v1\_1}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{MeshSerializerImpl\_v1\_1}{MeshSerializerImpl\_v1\_1}}
{\footnotesize\ttfamily friend class Mesh\+Serializer\+Impl\+\_\+v1\+\_\+1\hspace{0.3cm}{\ttfamily [friend]}}



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_mesh_a1fd9968ccd424f913a7f3f68639f3ecf}\label{class_ogre_1_1_mesh_a1fd9968ccd424f913a7f3f68639f3ecf}} 
\index{Ogre::Mesh@{Ogre::Mesh}!sharedVertexData@{sharedVertexData}}
\index{sharedVertexData@{sharedVertexData}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{sharedVertexData}{sharedVertexData}}
{\footnotesize\ttfamily \mbox{\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 \mbox{\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().

\mbox{\Hypertarget{class_ogre_1_1_mesh_aa9a6fc00032943a35fd293b5c664929e}\label{class_ogre_1_1_mesh_aa9a6fc00032943a35fd293b5c664929e}} 
\index{Ogre::Mesh@{Ogre::Mesh}!sharedBlendIndexToBoneIndexMap@{sharedBlendIndexToBoneIndexMap}}
\index{sharedBlendIndexToBoneIndexMap@{sharedBlendIndexToBoneIndexMap}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{sharedBlendIndexToBoneIndexMap}{sharedBlendIndexToBoneIndexMap}}
{\footnotesize\ttfamily \mbox{\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 \mbox{\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}!OGRE\_AUTO\_MUTEX@{OGRE\_AUTO\_MUTEX}}
\index{OGRE\_AUTO\_MUTEX@{OGRE\_AUTO\_MUTEX}!Ogre::Mesh@{Ogre::Mesh}}
\doxysubsubsection{\texorpdfstring{OGRE\_AUTO\_MUTEX}{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 
\mbox{\hyperlink{_ogre_mesh_8h}{Ogre\+Mesh.\+h}}\end{DoxyCompactItemize}
