Assimp  v4.1. (December 2018)
Assimp::Ogre::SubMesh Class Reference

Ogre SubMesh. More...

Inherits Assimp::Ogre::ISubMesh.

Public Member Functions

aiMeshConvertToAssimpMesh (Mesh *parent)
 Covert to Assimp mesh. More...
 
void Reset ()
 Releases all memory that this data structure owns. More...
 
 SubMesh ()
 
 ~SubMesh ()
 
- Public Member Functions inherited from Assimp::Ogre::ISubMesh
 ISubMesh ()
 

Public Attributes

IndexDataindexData
 Index data. More...
 
VertexDatavertexData
 Vertex data. More...
 
- Public Attributes inherited from Assimp::Ogre::ISubMesh
unsigned int index
 SubMesh index. More...
 
int materialIndex
 Assimp scene material index used by this submesh. More...
 
std::string materialRef
 Material used by this submesh. More...
 
std::string name
 SubMesh name. More...
 
OperationType operationType
 Operation type. More...
 
std::string textureAliasName
 Texture alias information. More...
 
std::string textureAliasRef
 
bool usesSharedVertexData
 If submesh uses shared geometry from parent mesh. More...
 

Additional Inherited Members

- Public Types inherited from Assimp::Ogre::ISubMesh
enum  OperationType {
  OT_POINT_LIST = 1 , OT_LINE_LIST = 2 , OT_LINE_STRIP = 3 , OT_TRIANGLE_LIST = 4 ,
  OT_TRIANGLE_STRIP = 5 , OT_TRIANGLE_FAN = 6
}
 

Detailed Description

Constructor & Destructor Documentation

◆ SubMesh()

Assimp::Ogre::SubMesh::SubMesh ( )

◆ ~SubMesh()

Assimp::Ogre::SubMesh::~SubMesh ( )

Member Function Documentation

◆ ConvertToAssimpMesh()

aiMesh * Assimp::Ogre::SubMesh::ConvertToAssimpMesh ( Mesh parent)

Covert to Assimp mesh.

◆ Reset()

void Assimp::Ogre::SubMesh::Reset ( )

Releases all memory that this data structure owns.

Note
Vertex and index data contains shared ptrs that are freed automatically. In practice the ref count should be 0 after this reset.

Member Data Documentation

◆ indexData

IndexData* Assimp::Ogre::SubMesh::indexData

Index data.

◆ vertexData

VertexData* Assimp::Ogre::SubMesh::vertexData

Vertex data.


The documentation for this class was generated from the following files: