Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
IModelDef Struct Reference
Inheritance diagram for IModelDef:
CModelDefRPrivate

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::Attribute
m_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...
 

Detailed Description

Definition at line 46 of file InstancingModelRenderer.cpp.

Constructor & Destructor Documentation

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

Definition at line 68 of file InstancingModelRenderer.cpp.

Member Data Documentation

VertexArray IModelDef::m_Array

Static per-CModel vertex array.

Definition at line 49 of file InstancingModelRenderer.cpp.

VertexArray::Attribute IModelDef::m_BlendJoints

Definition at line 55 of file InstancingModelRenderer.cpp.

VertexArray::Attribute IModelDef::m_BlendWeights

Definition at line 56 of file InstancingModelRenderer.cpp.

VertexIndexArray IModelDef::m_IndexArray

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

Definition at line 62 of file InstancingModelRenderer.cpp.

VertexArray::Attribute IModelDef::m_Normal

Definition at line 53 of file InstancingModelRenderer.cpp.

VertexArray::Attribute IModelDef::m_Position

Position and normals are static.

Definition at line 52 of file InstancingModelRenderer.cpp.

VertexArray::Attribute IModelDef::m_Tangent

Definition at line 54 of file InstancingModelRenderer.cpp.

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

The number of UVs is determined by the model.

Definition at line 59 of file InstancingModelRenderer.cpp.


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