BRE12
MaterialPropertiesLoader.h
1 #pragma once
2 
3 #include <string>
4 #include <unordered_map>
5 
6 #include <ShaderUtils/MaterialProperties.h>
7 
8 namespace YAML {
9 class Node;
10 }
11 
12 namespace BRE {
14 public:
16  {}
18  const MaterialPropertiesLoader& operator=(const MaterialPropertiesLoader&) = delete;
21 
22  void LoadMaterialsProperties(const YAML::Node& rootNode) noexcept;
23 
24  const MaterialProperties& GetMaterialProperties(const std::string& name) const noexcept;
25 
26 private:
27  std::unordered_map<std::string, MaterialProperties> mMaterialPropertiesByName;
28 };
29 }
30 
Definition: Camera.cpp:8
Definition: MaterialProperties.h:6
Definition: DrawableObjectLoader.h:10
Definition: MaterialPropertiesLoader.h:13
Definition: node.h:29