HatchitResource
ht_model.h
1 
15 #pragma once
16 
17 #include <ht_platform.h>
18 #include <ht_resource.h>
19 #include <ht_file.h>
20 #include <ht_mesh_resource.h>
21 
22 namespace Hatchit {
23 
24  namespace Resource {
25 
26  class HT_API Model : public FileResource<Model>
27  {
28  public:
29  Model(Core::Guid ID);
30  virtual ~Model() = default;
31 
32  //Required function for all RefCounted classes
33  bool Initialize(const std::string& fileName);
34 
35  const std::vector<Mesh*>& GetMeshes() const;
36  private:
37  std::vector<Mesh*> m_meshes;
38 
39  };
40 
41  using ModelHandle = Core::Handle<const Model>;
42  }
43 }
Definition: ht_model.h:26
Definition: ht_resource.h:35
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_assimp.h:31