Assimp  v3.1.1 (June 2014)
Assimp::Ogre::ISubMesh Class Reference

Ogre Sub Mesh interface, inherited by the binary and XML implementations. More...

Inherited by Assimp::Ogre::SubMesh, and Assimp::Ogre::SubMeshXml.

Public Types

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
}
 

Public Member Functions

 ISubMesh ()
 

Public Attributes

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...
 

Detailed Description

Ogre Sub Mesh interface, inherited by the binary and XML implementations.

Member Enumeration Documentation

◆ OperationType

Note
Full list of Ogre types, not all of them are supported and exposed to Assimp.
Enumerator
OT_POINT_LIST 

A list of points, 1 vertex per point.

OT_LINE_LIST 

A list of lines, 2 vertices per line.

OT_LINE_STRIP 

A strip of connected lines, 1 vertex per line plus 1 start vertex.

OT_TRIANGLE_LIST 

A list of triangles, 3 vertices per triangle.

OT_TRIANGLE_STRIP 

A strip of triangles, 3 vertices for the first triangle, and 1 per triangle after that.

OT_TRIANGLE_FAN 

A fan of triangles, 3 vertices for the first triangle, and 1 per triangle after that.

Constructor & Destructor Documentation

◆ ISubMesh()

Assimp::Ogre::ISubMesh::ISubMesh ( )

Member Data Documentation

◆ index

unsigned int Assimp::Ogre::ISubMesh::index

SubMesh index.

◆ materialIndex

int Assimp::Ogre::ISubMesh::materialIndex

Assimp scene material index used by this submesh.

-1 if no material or material could not be imported.

◆ materialRef

std::string Assimp::Ogre::ISubMesh::materialRef

Material used by this submesh.

◆ name

std::string Assimp::Ogre::ISubMesh::name

SubMesh name.

◆ operationType

OperationType Assimp::Ogre::ISubMesh::operationType

Operation type.

◆ textureAliasName

std::string Assimp::Ogre::ISubMesh::textureAliasName

Texture alias information.

◆ textureAliasRef

std::string Assimp::Ogre::ISubMesh::textureAliasRef

◆ usesSharedVertexData

bool Assimp::Ogre::ISubMesh::usesSharedVertexData

If submesh uses shared geometry from parent mesh.


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