Ocular Engine
TextureResourceLoader_PNG.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_GRAPHICS_TEXTURE_RESOURCE_LOADER_PNG__H__
19 #define __H__OCULAR_GRAPHICS_TEXTURE_RESOURCE_LOADER_PNG__H__
20 
21 #include "TextureResourceLoader.hpp"
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Graphics
36  {
41  {
42  public:
43 
45  virtual ~TextureResourceLoader_PNG();
46 
47  protected:
48 
49  virtual bool readFile(Core::File const& file, std::vector<Core::Color>& pixels, unsigned& width, unsigned& height);
50 
51  private:
52  };
53  }
57 }
62 //------------------------------------------------------------------------------------------
63 
64 #endif
virtual bool readFile(Core::File const &file, std::vector< Core::Color > &pixels, unsigned &width, unsigned &height)
Definition: TextureResourceLoader_PNG.cpp:59
Definition: TextureResourceLoader.hpp:51
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: TextureResourceLoader_PNG.hpp:40
Definition: File.hpp:41