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...
 
Renderer::Backend::IVertexInputLayoutm_VertexInputLayout = nullptr
 
VertexIndexArray m_IndexArray
 Indices are the same for all models, so share them. More...
 

Constructor & Destructor Documentation

◆ IModelDef()

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

Member Data Documentation

◆ m_Array

VertexArray IModelDef::m_Array

Static per-CModel vertex array.

◆ m_BlendJoints

VertexArray::Attribute IModelDef::m_BlendJoints

◆ m_BlendWeights

VertexArray::Attribute IModelDef::m_BlendWeights

◆ m_IndexArray

VertexIndexArray IModelDef::m_IndexArray

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

◆ m_Normal

VertexArray::Attribute IModelDef::m_Normal

◆ m_Position

VertexArray::Attribute IModelDef::m_Position

Position and normals are static.

◆ m_Tangent

VertexArray::Attribute IModelDef::m_Tangent

◆ m_UVs

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

The number of UVs is determined by the model.

◆ m_VertexInputLayout

Renderer::Backend::IVertexInputLayout* IModelDef::m_VertexInputLayout = nullptr

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