18 typedef std::vector<Rendering::Materials::IMaterial*> TMaterialVector;
21 : m_materials(materials)
27 for(TMaterialVector::iterator it = m_materials.begin(); it != m_materials.end(); ++it)
34 const TMaterialVector& GetMaterials()
const
39 int GetNumOfMaterials()
const
41 return static_cast<int>(m_materials.size());
46 return *(m_materials.at(materialIndex));
50 TMaterialVector m_materials;