41 #ifndef _graphicssubmesh_h
42 #define _graphicssubmesh_h
44 #include "Graphics/meshinfo.h"
71 SubMesh(Ogre::SubMesh* Internal);
80 void SetMaterialName(
const String& MatName);
83 const String& GetMaterialName()
const;
89 Boole UsesSharedVertices()
const;
92 Whole GetVertexCount()
const;
95 Whole GetIndexCount()
const;
103 void GetInfo(
MeshInfo& ToFill)
const;
106 void AppendVertexInfo(
VertexInfo& ToFill)
const;
110 void AppendVertexPositionInfo(
Vector3Vec& ToFill)
const;
113 void AppendVertexTexCoordInfo(
Vector2Vec& ToFill)
const;
116 void AppendVertexNormalInfo(
Vector3Vec& ToFill)
const;
119 void AppendVertexTangentInfo(
Vector3Vec& ToFill)
const;
122 void AppendIndexInfo(
IntVec& ToFill)
const;
130 Ogre::SubMesh* _GetInternalSubMesh()
const;
bool Boole
Generally acts a single bit, true or false.
A convenience class for the storage of Vertex data in a Mesh/SubMesh.
Ogre::SubMesh * InternalSubMesh
A pointer to the internal SubMesh this is based on.
This class represents a sub-section of an overall mesh.
std::vector< Vector2 > Vector2Vec
Convenience type for a container of Vector2s.
A convenience class for the storage of rendering data in a Mesh/SubMesh.
std::vector< Integer > IntVec
Convenience type for a container of Integers.
The bulk of the engine components go in this namspace.
std::vector< Vector3 > Vector3Vec
Convenience type for a container of Vector3s.
unsigned long Whole
Whole is an unsigned integer, it will be at least 32bits in size.
std::string String
A datatype used to a series of characters.