PGR Copakond OpenGL Engine - Bowling
Loading...
Searching...
No Matches
mtlLoader.h
Go to the documentation of this file.
1#ifndef PGR_SEM_COPAKOND_MTLLOADER_H
2#define PGR_SEM_COPAKOND_MTLLOADER_H
3
4#include <map>
5#include <memory>
6
8
9namespace copakond {
10
11class MtlLoader {
12private:
13 std::map<std::string, std::shared_ptr<Material>> _materials;
14
15public:
17 MtlLoader(std::string fileName);
18 std::map<std::string, std::shared_ptr<Material>> getMaterials() { return _materials; }
19};
20
21}
22
23#endif //PGR_SEM_COPAKOND_MTLLOADER_H
MtlLoader(std::string fileName)
Parses .mtl files to construct Material objects and load associated textures.
Definition mtlLoader.cpp:8
std::map< std::string, std::shared_ptr< Material > > getMaterials()
Definition mtlLoader.h:18
PGR Semestral work with sample scenes and bowling. doxygen was generated with a help of LLM.
Definition bezier.cpp:3