Ocular Engine
MaterialResourceLoader.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_GRAPHICS_MATERIAL_RESOURCE_LOADER__H__
19 #define __H__OCULAR_GRAPHICS_MATERIAL_RESOURCE_LOADER__H__
20 
21 #include "Resources/ResourceLoader.hpp"
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Graphics
36  {
37  class ShaderProgram;
38 
205  {
206  public:
207 
209  virtual ~MaterialResourceLoader();
210 
211  virtual bool loadResource(Core::Resource* &resource, Core::File const& file, std::string const& mappingName) override;
212 
213  protected:
214 
215  private:
216  };
217  }
221 }
226 //------------------------------------------------------------------------------------------
227 
228 #endif
virtual bool loadResource(Core::Resource *&resource, Core::File const &file, std::string const &mappingName) override
Definition: MaterialResourceLoader.cpp:58
Definition: ResourceLoader.hpp:55
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Creates Material objects from Ocular Material files (.omat)
Definition: MaterialResourceLoader.hpp:204
Definition: File.hpp:41
Definition: Resource.hpp:46