Ocular Engine
OBJMeshMetadata.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_GRAPHICS_OBJ_MESH_METADATA__H__
19 #define __H__OCULAR_GRAPHICS_OBJ_MESH_METADATA__H__
20 
21 #include "Resources/ResourceMetadata.hpp"
22 #include <unordered_map>
23 #include <cstdint>
24 
25 //------------------------------------------------------------------------------------------
26 
31 namespace Ocular
32 {
37  namespace Graphics
38  {
49  {
50  public:
51 
53  virtual ~OBJMeshMetadata();
54 
55  void setSubmeshMaterialPair(uint32_t submeshIndex, std::string const& material);
56  std::string getSubmeshMaterialPair(uint32_t submeshIndex) const;
57 
58  protected:
59 
60  private:
61 
62  std::unordered_map<uint32_t, std::string> m_SubmeshMaterialPairs;
63  };
64  }
68 }
73 //------------------------------------------------------------------------------------------
74 
75 #endif
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: OBJMeshMetadata.hpp:48
Definition: ResourceMetadata.hpp:44