76 const std::string&
Name()
const;
85 const std::map<TextureType, std::vector<std::string>>
Textures()
const;
88 static const std::map<TextureType, std::uint32_t> sTextureTypeMappings;
94 std::map<TextureType, std::vector<std::string>> mTextures;
const std::string & Name() const
Gets the material name as defined in the source file.
const std::map< TextureType, std::vector< std::string > > Textures() const
Retrieves the list of textures associated with each texture type.
ModelMaterial(Model &model)
Constructs an empty material associated with a model.
ModelMaterial(ModelMaterial &&)=default
ModelMaterial(const ModelMaterial &)=default
Model & GetModel()
Returns a reference to the owning Model.
ModelMaterial & operator=(const ModelMaterial &)=default
ModelMaterial & operator=(ModelMaterial &&)=default
TextureType
Enumerates supported texture map types for imported materials.