Pyrogenesis  trunk
Public Member Functions | Public Attributes | List of all members
IModelDef Struct Reference
Inheritance diagram for IModelDef:
Inheritance graph
[legend]
Collaboration diagram for IModelDef:
Collaboration graph
[legend]

Public Member Functions

 IModelDef (const CModelDefPtr &mdef, bool gpuSkinning, bool calculateTangents)
 
- Public Member Functions inherited from CModelDefRPrivate
 CModelDefRPrivate ()
 
virtual ~CModelDefRPrivate ()
 

Public Attributes

VertexArray m_Array
 Static per-CModel vertex array. More...
 
VertexArray::Attribute m_Position
 Position and normals are static. More...
 
VertexArray::Attribute m_Normal
 
VertexArray::Attribute m_Tangent
 
VertexArray::Attribute m_BlendJoints
 
VertexArray::Attribute m_BlendWeights
 
std::vector< VertexArray::Attributem_UVs
 The number of UVs is determined by the model. More...
 
VertexIndexArray m_IndexArray
 Indices are the same for all models, so share them. More...
 

Constructor & Destructor Documentation

IModelDef::IModelDef ( const CModelDefPtr mdef,
bool  gpuSkinning,
bool  calculateTangents 
)

Member Data Documentation

VertexArray IModelDef::m_Array

Static per-CModel vertex array.

VertexArray::Attribute IModelDef::m_BlendJoints
VertexArray::Attribute IModelDef::m_BlendWeights
VertexIndexArray IModelDef::m_IndexArray

Indices are the same for all models, so share them.

VertexArray::Attribute IModelDef::m_Normal
VertexArray::Attribute IModelDef::m_Position

Position and normals are static.

VertexArray::Attribute IModelDef::m_Tangent
std::vector<VertexArray::Attribute> IModelDef::m_UVs

The number of UVs is determined by the model.


The documentation for this struct was generated from the following file: