Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
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... | |
Renderer::Backend::IVertexInputLayout * | m_VertexInputLayout = nullptr |
VertexIndexArray | m_IndexArray |
Indices are the same for all models, so share them. More... | |
IModelDef::IModelDef | ( | const CModelDefPtr & | mdef, |
bool | gpuSkinning, | ||
bool | calculateTangents | ||
) |
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.
Renderer::Backend::IVertexInputLayout* IModelDef::m_VertexInputLayout = nullptr |