Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Ogre::OofModelFile::MaterialData Struct Reference

Struct containing model material data. More...

#include <OgreOofModelFile.h>

List of all members.

Public Attributes

Material material
 The actual material used. More...

bool useSharedVertices
 If true, the faces for this material use shared vertex data. More...

GeometryData materialGeometry
 This structure contains the dedicated geometry data for the faces using this material, if shared vertex data is not used. More...

unsigned short numFaces
 The number of faces using this material. More...

unsigned short * pIndexes
 Pointer to a list of indices into the vertex data which form the faces using this material. More...


Detailed Description

Struct containing model material data.


Member Data Documentation

Material Ogre::OofModelFile::MaterialData::material
 

The actual material used.

GeometryData Ogre::OofModelFile::MaterialData::materialGeometry
 

This structure contains the dedicated geometry data for the faces using this material, if shared vertex data is not used.

unsigned short Ogre::OofModelFile::MaterialData::numFaces
 

The number of faces using this material.

unsigned short* Ogre::OofModelFile::MaterialData::pIndexes
 

Pointer to a list of indices into the vertex data which form the faces using this material.

bool Ogre::OofModelFile::MaterialData::useSharedVertices
 

If true, the faces for this material use shared vertex data.

Otherwise, vertex data sed only by this material is contained in the GeometryData inside this structure.

Copyright © 2002 by The OGRE Team