#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 TString& name); u32 MaterialIndexByName(const TString& name); }; #endif // CMATERIALSET_H