#ifndef CMATERIALSET_H #define CMATERIALSET_H #include #include #include #include "EFormatVersion.h" class CMaterialSet { friend class CMaterialLoader; friend class CMaterialCooker; std::vector mMaterials; public: CMaterialSet(); ~CMaterialSet(); CMaterialSet* Clone(); u32 NumMaterials(); CMaterial* MaterialByIndex(u32 index); CMaterial* MaterialByName(const std::string& name); u32 MaterialIndexByName(const std::string& name); }; #endif // CMATERIALSET_H