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

Public Member Functions

 ShaderModelDef (const CModelDefPtr &mdef)
 
- Public Member Functions inherited from CModelDefRPrivate
 CModelDefRPrivate ()
 
virtual ~CModelDefRPrivate ()
 

Public Attributes

VertexIndexArray m_IndexArray
 Indices are the same for all models, so share them. More...
 
VertexArray m_Array
 Static per-CModelDef vertex array. More...
 
std::vector< VertexArray::Attributem_UVs
 The number of UVs is determined by the model. More...
 
Renderer::Backend::IVertexInputLayoutm_VertexInputLayout = nullptr
 

Constructor & Destructor Documentation

◆ ShaderModelDef()

ShaderModelDef::ShaderModelDef ( const CModelDefPtr mdef)

Member Data Documentation

◆ m_Array

VertexArray ShaderModelDef::m_Array

Static per-CModelDef vertex array.

◆ m_IndexArray

VertexIndexArray ShaderModelDef::m_IndexArray

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

◆ m_UVs

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

The number of UVs is determined by the model.

◆ m_VertexInputLayout

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

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